|
Re: Problem is...
Posted by Dan at 1/20/2001 1:07 PM EST
Other on team #247, da Bears, from Berkley High and PICO/Wisne Design.
In Reply to: Problem is...
Posted by Nick on 1/20/2001 6:33 AM EST:
You don't need to have the arctan function. It was mentioned just to help understand how the final answer was derived. It wasn't meant to be a line in your program.
I assume you want the sine and cosine of the angle whose tan is x/y. If you know x and y, the sine and cosine of that angle (which you'll never calculate) are:
sine = x/sqrt(x^2+y^2) and cosine = y/sqrt(x^2+y^2).
These are functions of x and y only, no angle.
Hope that helped.
-Dan
#247
__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
|