Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


Torsten
Posts:
1,605
Registered:
11/8/10


Re: Solving an equation with a vector
Posted:
Jan 13, 2014 9:05 AM


"Jurjen " <jurjen_798@live.nl> wrote in message <lb0nur$26q$1@newscl01ah.mathworks.com>... > I need to solve an equation: (p.*(B./(N+1)).*L.^2)/(12.*S)=(T.*(Be.^2.*T.^2+4.*Be.*H.^3+6.*Be.*H.^2.*T+4.*Be.*H.*T.^2+H.^4))./(6.*H.^2+12.*Be.*H+6.*Be.*T) in which p, B, L, S and Be are constants, T is dependent on N and H is unknown. I want to solve H for N=[1:7]. This however results in the warnings ''Warning: 7 equations in 1 variables.'' and ''Warning: Explicit solution could not be found.'' I've tried using a for loop but I need to plot (N, H) and with a loop the values of H overwrite eachother. Is there a way to solve H for different values of N? > > Regards, > > Jurjen
Multiplying with the denominator (6.*H.^2+12.*Be.*H+6.*Be.*T), you get a polynomial of degree 4 in the unknown H. Specify numerical values for the known constants and use "roots" to solve.
Best wishes Torsten.



