symbolic solve
symbolic solve
(OP)
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!
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!





RE: symbolic solve
%
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).
Fe