Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

symbolic solve

Status
Not open for further replies.

hwschlec

Industrial
Jun 18, 2009
1
CL
Hi,
I'm trying to determine integration constants through the solve command, given that I have a set of boundary conditions. My problem is that one of the equations is equal to the object I'm trying to solve.
For example, I have:

F1 = A
F2 = A^3+B;
solve(F1,F2,'A,B')

then I get a warning that i have one equation and three variables. Does anyone know how to solve this?
Thanks!
 
Replies continue below

Recommended for you

Try:
%
syms a b
f1=a; f2=a^3+b;
s=solve(f1,f2)
%
Then, s.a and s.b correspondingly give you the 2 answers (which are both zero).

[peace]

Fe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top