Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sine, Cosine, Tangent

Status
Not open for further replies.

lumstar

Technical User
Jan 29, 2002
177
0
0
CA
Is there any way of calculating the sine, cosine tangent etc. by inputting a degree value?

Thanks In Advance, Lumstar

______________________________________
Keep On Coding!!
If my post helped you, please give me a star.
If your post helps me, I'll give you one!
scifi-alien-with-red-boots-DW.gif
 
Sounds like you just need to convert the angle to radians, which is what those functions accept -

theta = (angle / (180/PI))

COS(theta)

 
sorry are you trying to get the inverse cos, tan or sin?

you can get an inverse tangent with

theta=radians

f = ATN(TAN(theta))
f = f * (180/PI)



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top