i'm trying to write the equation dB=log_10(P_2/P_1)(adsbygoogle = window.adsbygoogle || []).push({});

I just need help writing this equation into Fortran.

I know for exponents I use **, but what about subscripts?

Also, my inital thought for a fraction is /. Is this correct?

**Physics Forums - The Fusion of Science and Community**

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!

# Subscripts and Fractions in Fortran 95

Loading...

Similar Threads for Subscripts Fractions Fortran | Date |
---|---|

If statement for Monte Carlo integration | Sunday at 7:46 AM |

C/++/# How to use C++ in studying calculus | Apr 3, 2018 |

Decimal fraction to binary | Sep 22, 2013 |

Exact Arithmetic using Continued Fractions | Jul 12, 2011 |

Fortran: Pointer to array section with vector subscripts | Mar 10, 2011 |

**Physics Forums - The Fusion of Science and Community**