- #1

- 420

- 0

## Main Question or Discussion Point

I want Fortran to regconize trigonometric functions.

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))

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))