Definition of a function using Find()
Definition of a function using Find()
(OP)
Hi!
I am working on a mass transfer simulation. I use Mathcad 14.0 and the built-in function Find() worked perfectly to solve the equations for N the total mass transfer of my system.
I would like to see the variation of N with Q (which is the volumetric flow rate going in). So I would like to define a function N(Q): Q-> Find(N) (which solves the equations for each Q). But it seems that Mathcad doesn't expect a function in the equations.
I also tried to do a for loop to build a vector of values for N for several Q so I could plot N vs Q. But no matter how I tried the 'given' statement and the equations can't be written in a program operator.
Thank you for your help!
I am working on a mass transfer simulation. I use Mathcad 14.0 and the built-in function Find() worked perfectly to solve the equations for N the total mass transfer of my system.
I would like to see the variation of N with Q (which is the volumetric flow rate going in). So I would like to define a function N(Q): Q-> Find(N) (which solves the equations for each Q). But it seems that Mathcad doesn't expect a function in the equations.
I also tried to do a for loop to build a vector of values for N for several Q so I could plot N vs Q. But no matter how I tried the 'given' statement and the equations can't be written in a program operator.
Thank you for your help!





RE: Definition of a function using Find()
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: Definition of a function using Find()
I uploaded the required stuff in M11 format. As you can see, the parameter Q.m appears in Re, Sh, K.tot (mass transfer coefficient).
I can get N.1 for a specific value of Q.m. And if I change Q.m, the new solution is immediately found. But I would like to get the solutions for several values of Q.m (my first try was Q.m:=1,1.1..10 to get a range for N.1).
RE: Definition of a function using Find()
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: Definition of a function using Find()
Thank you so much and sorry for the inconvenience.
RE: Definition of a function using Find()
TTFN
FAQ731-376: Eng-Tips.com Forum Policies