Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Symbolic math calculations with Fortran 95

  1. May 28, 2012 #1
    Hi all
    I am struggling to work symbolic math calculations with Fotran 95 in the Silverfrost ftn 95 plataform.

    Say you want to calculate c=a+b but without initializing "a" or "b" to get a value "c", but rather print out or obtain the actual generic expresion "a+b"

    I have tried to solve that using different data types (REAL, CHARACTER etc) but no way to handle the error exception for me.

    Could somebody please give any light on this? I am new to Fotran and have not been able to find any solution on this.

    Thanks in advance
  2. jcsd
  3. May 28, 2012 #2


    User Avatar

    Staff: Mentor

    Why do you try to use FORTRAN? Of all languages I ever used I would never select it for doing such things.
  4. May 28, 2012 #3
    Hi Borek, you are right, I had the same tought.
    Better to do it with Mapple,
    I just wanted to know if there was a relatively "simple" way to make it out
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook