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!

symbolic solve

Status
Not open for further replies.

hwschlec

Industrial
Joined
Jun 18, 2009
Messages
1
Location
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!
 
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