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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

boundary conditions

Status
Not open for further replies.

magicsmoke

Electrical
Joined
Apr 22, 2006
Messages
2
Location
US
I'm trying to solve a problem purley symbolically, my boundary conditions for my equation is 0 and L.
quick example:
My equation is

v(x,c0,c1,c2,c3):= c0+c1*x+c2*x^2+c3*x^3

x:=0

v(x,c0,c1,c2,c3)-> c0

that works fine

my problem is I would like to evaluate this at x=L as well.

So I would like to see

x:=L

v(x,c0,c1,c2,c3)-> c0+c1*L+c2*L^2+c3*L^3


Will mathcad do this for me? And then can I subsequently assign that result to another variable?

thanks.
 
No, you have four unknowns and two equations. You need four equations for your four unknowns.
 
I've got other equations;

My main issue is substituting in the L. That was my question.
Can I set x=L and have it evaluate the function in terms of L.
Whenever I set x=L it just complains that L isn't defined. Well, I don't wanna define it.
 
if you have 4 equations for the 4 unkowns, then you can use L as if it is a symbolloc constant so c0,c1,c2,c3 can be solved in terms of L. Use Given and Find.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top