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!