Here is the code I have so far:

delete g286x08.txt; diary g286x08.txt

clear; clc; close all; echo on

% DMH

% Gilat 286/08

%

P= 4*pi(.032/2*pi*8.31.*T)^(3/2).*v^2.*exp((-.032.*v^2)/(2*8.31.*T)) ;

% R= 8.31

% M= .032

T=70:0.1:320 ;

v= 0:0.1:1000 ;

plot3(V,T,P)

grid on

%

echo off; diary off

where M is the molar mass of the gas in kg/mol, R=831 J/mol-K is the gas constant, T is the temperature in degrees K, and v is the molecules speed in m/s,

Here is the question:

Make a 3-D plot of P(v) as a function of v and T for V:[0,1000] (inclusive interval) and T:[70,320] in Kelvin for oxygen (molar mass .032 kg/mol)

Thank you very much!