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

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

# Simple FORTRAN question

Loading...

Similar Threads for Simple FORTRAN question |
---|

Fortran Successive Over Relaxation Method in FORTRAN |

If statement for Monte Carlo integration |

Python Some simple problem with my GUI? |

Python Simple python database |

Creating a simple text parser/compiler |

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