Tag

trigonometry

0 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Mar 25, 2024 · Game Development

Implementing Automatic Missile Tracking in Python with Pygame

This article explains the mathematics and step‑by‑step Python pygame implementation of an automatic missile‑tracking algorithm for shooting games, covering time‑slice calculations, trigonometric direction computation, and image rotation handling to keep the missile tip aligned with the target.

AlgorithmGame developmentMissile Tracking
0 likes · 8 min read
Implementing Automatic Missile Tracking in Python with Pygame
Model Perspective
Model Perspective
Dec 24, 2023 · Fundamentals

Unlocking Trigonometry: Sine, Cosine Laws and Half-Angle Tricks for Real-World Modeling

This article explores the core trigonometric theorems—the sine and cosine laws—and the universal half-angle substitution, illustrating their mathematical foundations and diverse applications ranging from geographic distance calculations to acoustic wave modeling, electrical circuits, and architectural design.

applicationscosine lawhalf-angle substitution
0 likes · 5 min read
Unlocking Trigonometry: Sine, Cosine Laws and Half-Angle Tricks for Real-World Modeling
Laravel Tech Community
Laravel Tech Community
Mar 2, 2021 · Backend Development

PHP tan() Function – Returns the Tangent of an Angle in Radians

This article explains PHP’s tan() function, which returns the tangent of a given radian value, details its single float argument, describes the return value, and provides a simple example demonstrating its usage with the constant M_PI_4.

BackendPHPfunction
0 likes · 1 min read
PHP tan() Function – Returns the Tangent of an Angle in Radians
Laravel Tech Community
Laravel Tech Community
Feb 25, 2021 · Backend Development

PHP sin() Function – Description, Parameters, Return Value, and Example

This article explains the PHP sin() function, detailing its signature, the radian‑based argument it accepts, the floating‑point sine value it returns, and provides example code demonstrating its usage and precision considerations.

BackendExamplePHP
0 likes · 1 min read
PHP sin() Function – Description, Parameters, Return Value, and Example
Laravel Tech Community
Laravel Tech Community
Jan 15, 2021 · Backend Development

PHP cos() Function – Description, Parameters, Return Value, and Example

This article explains PHP’s cos() function, detailing its purpose of returning the cosine of a radian argument, describing the arg parameter, the return value, and providing a sample code snippet that demonstrates its usage and expected output.

PHPbackend developmentcosine
0 likes · 1 min read
PHP cos() Function – Description, Parameters, Return Value, and Example