Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Equation with 3 unknowns. how do i find the maximum solution using matlab?

  1. Feb 8, 2012 #1
    Equation with 3 unknowns. how do i find the maximum solution using matlab??

    Hello,

    Im stuck in matlab, i have an equation with 3 unknowns. how can i get the maximum answer possible? Is there a way with a 3D graph??

    Equation:

    F = ( sqrt((b^2 + c^2) -(2b c cos(y))) x M ) / (b c sin(y))

    I have M as an answer in terms of y. its <1 x 111 double >

    I have the following limits: 0<b<6 , 0<c<6 and 0<y<110

    I am looking to get the maximum F, any help is appreciated thanks!
     
  2. jcsd
  3. Feb 10, 2012 #2
    Re: Equation with 3 unknowns. how do i find the maximum solution using matlab??

    b=10;
    c=10;
    y=10;
    M=11;
    f=(sqrt((b.^2 + c.^2)-(2*b*c*cos(y)))*M)/(b*c*sin(y));

    Hope this will help you out.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Equation with 3 unknowns. how do i find the maximum solution using matlab?
Loading...