Top "Trigonometry" questions

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

Inverse of Tan in python (tan-1)

I am trying to calculate the inverse of tan in python, but it does not give me the correct value, …

python math trigonometry
Fastest implementation of sine, cosine and square root in C++ (doesn't need to be much accurate)

I am googling the question for past hour, but there are only points to Taylor Series or some sample code …

c++ math optimization trigonometry
How do I fit a sine curve to my data with pylab and numpy?

For a school project I am trying to show that economies follow a relatively sinusoidal growth pattern. Beyond the economics …

python numpy trigonometry curve-fitting economics
Conversion from radians to degrees

I am trying to do a simple trigonometric calculation in C++. The following is an example of the problem I …

c++ math trigonometry
Calculating the angle between two lines without having to calculate the slope? (Java)

I have two Lines: L1 and L2. I want to calculate the angle between the two lines. L1 has points: {(…

java math geometry coordinates trigonometry
How do I calculate the cosine similarity of two vectors?

How do I find the cosine similarity between vectors? I need to find the similarity to measure the relatedness between …

java vector trigonometry tf-idf
Find cosine similarity between two arrays

I'm wondering if there is a built in function in R that can find the cosine similarity (or cosine distance) …

arrays r distance similarity trigonometry
How do Trigonometric functions work?

So in high school math, and probably college, we are taught how to use trig functions, what they do, and …

algorithm math trigonometry
Math.cos() gives wrong result

According to Wolfram Mathematica: cos(50) = 0.6427876096865394; But this code in Java: System.out.println(Math.cos(50)); gives 0.9649660284921133. What is wrong with …

java math trigonometry
Calculating bounding box a certain distance away from a lat/long coordinate in Java

Given a coordinate (lat, long), I am trying to calculate a square bounding box that is a given distance (e.…

math geospatial trigonometry latitude-longitude bounding-box