Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Definition of a function using Find()

Status
Not open for further replies.

Kentin

Bioengineer
Joined
Nov 8, 2009
Messages
3
Location
US
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!
 
An actual sheet would be more useful, preferrably in M11 format.

TTFN

FAQ731-376
 
Thank you.

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).

 
 http://files.engineering.com/getfile.aspx?folder=ede0bbf2-c314-4d87-bfba-bb5fd2490a88&file=Eng-tips.mcd
so easy. I don't know why i couldn't get it to work. I was just expecting something complicated...

Thank you so much and sorry for the inconvenience.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top