home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / fortran / 5138 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  793 b 

  1. Path: sparky!uunet!cs.utexas.edu!swrinde!ctcvax.ccf.swri.edu!jhok
  2. From: jhok@ctcvax.ccf.swri.edu
  3. Newsgroups: comp.lang.fortran
  4. Subject: Math Interpreter Needed!
  5. Message-ID: <1993Jan22.173628.560@ctcvax.ccf.swri.edu>
  6. Date: 22 Jan 93 17:36:28 CST
  7. Organization: Southwest Research Institute
  8. Lines: 20
  9.  
  10. Hello,
  11.  
  12. We are looking for a program or subroutine, preferably Fortran, that can 
  13. take as input an general algebraic equation and the values for the variables 
  14. in the equation, and calculate the result of the equation by substituting 
  15. the variable values.  For instance, the program would take as input:
  16.  
  17.       X = 1
  18.     Y = 2
  19.      Z = 3
  20.     R = X + Y * EXP(Z**2)
  21.  
  22. and the program would return the correct value for R.  
  23.  
  24. Is there such a beast?
  25.  
  26. Jim Hokanson
  27. Southwest Research Institute
  28. jhok@swri.edu
  29.  
  30.