Top "Trigonometry" questions

Trigonometry is a branch of mathematics that studies triangles and the relationships between their sides and the angles between sides

Calculating magnetic heading using raw accelerometer and magnetometer data

I have an accelerometer and magnetometer each producing raw X, Y and Z readouts. From this I need to determine …

accelerometer trigonometry compass-geolocation magnetometer
Approximating inverse trigonometric functions

I have to implement asin, acos and atan in environment where I have only following math tools: sine cosine elementary …

algorithm math trigonometry
Convert atan2 value to standard 360-degree-system value

Lets say I'm using atan2 to get the angle between two vectors. atan2 gives a value in radians. I convert …

math vector geometry trigonometry atan2
Cheap algorithm to find measure of angle between vectors

Finding the angle between two vectors is not hard using the cosine rule. However, because I am programming for a …

algorithm geometry trigonometry
Fast transcendent / trigonometric functions for Java

Since the trigonometric functions in java.lang.Math are quite slow: is there a library that does a quick and …

java optimization math trigonometry
Is the Haversine Formula or the Vincenty's Formula better for calculating distance?

Which is better for calculating the distance between two latitude/longitude points, The Haversine Formula or The Vincenty's Formula? Why? …

language-agnostic geospatial latitude-longitude trigonometry
How is arctan implemented?

Many implementation of the library goes deep down to FPATAN instuction for all arc-functions. How is FPATAN implemented? Assuming that …

algorithm floating-point trigonometry bit processor
Calculating Distance Between 2 Cities

How do you calculate the distance between 2 cities?

algorithm math trigonometry geography
Calculating angles between line segments (Python) with math.atan2

I am working on a spatial analysis problem and part of this workflow is to calculate the angle between connected …

python trigonometry angle atan2 cartesian-coordinates
Rotate line around center point given two vertices

I've been trying to rotate a bunch of lines by 90 degrees (that together form a polyline). Each line contains two …

python rotation trigonometry