Updated specific locations to be searchable, take a look at Las Vegas as an example.

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Trigonometry Error
Post Flair (click to view more posts with a particular flair)
Post Body

Hi everyone, first time posting here. I am trying to write a function to calculate velocities components based on the angle and velocity. The issue here is that after the angle to radians and using the trig formula, the values I'm getting seems to be incorrect.

I tried this simple test to check what I would get.

System.out.println(Math.cos(Math.toRadians(80)) == -Math.cos(Math.toRadians(100)));

This should be true, unless I really forgot my trig... The answer on the console is 'false'.Does anyone have any suggestion to get better values?

Author
Account Strength
40%
Account Age
1 year
Verified Email
Yes
Verified Flair
No
Total Karma
217
Link Karma
58
Comment Karma
159
Profile updated: 1 day ago
Posts updated: 5 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
9 months ago