I want Fortran to regconize trigonometric functions.(adsbygoogle = window.adsbygoogle || []).push({});

The trigonometric equation I am trying to right in Fortran is the Law of cosines

COS(c)=d^2+a^2-b^2/(2*a*d)

However, I want Fortran to calculate the inverse of the above equation:

How would I write the following equation in Fortran?

c=COS^1-(d^2+a^2-b^2/(2*a*d))

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Simple FORTRAN question

**Physics Forums | Science Articles, Homework Help, Discussion**