Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cos inverse

807605Oct 6 2007 — edited Oct 6 2007
Hi,
I need some help with figuring out the cos inverse function in java. I can find the cos function but i can't find the cos inverse.

I have a triangle and i know all the lenghts and it's a right angled triange but i want to find out the 1 of the angles.

so i try this math equation a^2 = b^2 + c^2 - 2bc CosA which in thurn leads me to

A = COS^-1 ( a^2 - b^2 - c^2 / 2bc )

how would i implement this?

any help is appericated.. thanks a mill.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 3 2007
Added on Oct 6 2007
3 comments
230 views