Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Solving an equation with a vector
Replies: 1   Last Post: Jan 13, 2014 9:05 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Torsten

Posts: 1,457
Registered: 11/8/10
Re: Solving an equation with a vector
Posted: Jan 13, 2014 9:05 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"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.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.