Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Solving equation 2

Status
Not open for further replies.

sjjustine

Chemical
May 19, 2003
10
How do I solve the eq below.
y=x*m where m and y are four different values( y is known).
x is a constant. m is what I am looking for, for all different values y
 
Replies continue below

Recommended for you

Try chapter one of any undergraduate chemical engineering text.
 
please see answer to your other posting of this question

TTFN
 
Use the soslve-block as:

Given
Y = m . x
X(m,y) := Find(x)

y = [1 2 3 4]T

i := 1..4

Solution[i := X(m, y[i)

Thanks for your interest in
MathCAD and keep those questions
coming !

Sincerely,

The MatheMagician :)
 
Mathemagician,

Thanks for help all of us with this brilliant answer. I vote for you a star.

Hacksaw, could you provide reference of any undergraduate chemical engineering text with similar answer?


 
The Mathmagician just presented it. Most of them use mad cad or some variation of it.
 
It do not work! My equation looks like this:
RatioArea:= constant*(molesx/molesref)
RatioArea1:={0.298,0.505,0.532,0.58}, RatioArea2:={0.279,0.182,0.073,0.046}
constant:=0.915
molesref:=0.031
Find molesx
I want to program this so that everytime I add new RatioArea it just automatically takes it and give me a new molesx with overwriting the old one.
 
RatioArea:={0.298,0.505,0.532,0.58}
i:=0..columns(RatioArea)-1
constant:=0.915
molesref:=0.031
molesx:=RatioArea*molesref/constant
molesx=[0.01 0.017 0.018 0.02
]
 
Sorry no need for range variable.

RatioArea:=[0.298 0.505 0.532 0.58]
constant:=0.915
molesref:=0.031
molesx:=RatioArea*molesref/constant
molesx=[0.01 0.017 0.018 0.02]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor