Results 1 to 4 of 4

Math Help - Gilat g285x04 and g285x07

  1. #1
    Newbie
    Joined
    Dec 2009
    Posts
    5

    Unhappy Gilat g285x04 and g285x07

    Can someone please help me with 2 gilat matlab problems please?

    g285x04: Make a 3-D surface plot and a 3-D contour plot of the function z=4*sqrt((x^2/2)+(y^2/2)+1) in the domain -2<=x<=2 and -2<=y<=2.


    g285x07: The van der Waals equation gives a relationship between the pressure p (in atm), volume V (in L), and temperature T (in K) for a real gas: P = (nRT)/(V-b) - (n^2*a)/(v^2) where n is the number of moles, R = 0.08206 is the gas constant, and a and b are material constants. Consider 1.5 moles of nitrogen (a=1.39 , b=0.03913). Make a 3-D plot that shows the variation of pressure( dependent bariable, z axis) with volume (independent variable, x axis) and temperature (independent variable, y axis). The domains for the volume and temperature are: 0.3<=V<=1.2 L and 273<=T<=473.

    Please help, I've tried almost everything but something seems to always be wrong!
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by LCuba View Post
    Can someone please help me with 2 gilat matlab problems please?

    g285x04: Make a 3-D surface plot and a 3-D contour plot of the function z=4*sqrt((x^2/2)+(y^2/2)+1) in the domain -2<=x<=2 and -2<=y<=2.
    Code:
    x=[-2:0.2:2];
    y=[-2:0.2:2]
     
    [X,Y]=meshgrid(x,y);
    Z=4*sqrt(X.^2/2+Y.^2/2+1);
     
    surf(X,Y,Z);
    CB

    CB
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Dec 2009
    Posts
    5

    Smile Thank you!

    Thank you for helping me with g285x04. Now all I need is the g285x07 problem! =]
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by LCuba View Post
    Thank you for helping me with g285x04. Now all I need is the g285x07 problem! =]
    You should be able to work out how to do the second from the solution to the first.

    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Matlan help (Amos Gilat)
    Posted in the Math Software Forum
    Replies: 3
    Last Post: April 10th 2010, 05:59 AM

Search Tags


/mathhelpforum @mathhelpforum