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

Mathcad Function

  1. Mar 8, 2014 #1


    User Avatar
    Gold Member


    I am trying to use some functions in MathCad given in my thermodynamics textbook to calculate thermodynamic properties. I attached the functions below.

    I try using them and then I get an error saying too many commas

    I just type in: MCPH(T1,T2;A,B,C,D)=

    of course with numerical values, but it gives me that error. I've never touched Mathcad before, nor know how to program, so these problems requiring iterative solutions are becoming overwhelming

    Attached Files:

    Last edited: Mar 8, 2014
  2. jcsd
  3. Mar 9, 2014 #2
    Have you touched the Mathcad User's Manual?

    A function is one or more mathematical expressions that generate a results given an input....you do NOT assign a value to a function by placing it on the left-hand side of an assignment....function calls should only appear on the right-hand side of an assignment statement...and this is not particular to Mathcad, this applies most everywhere.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook