Borrar filtros
Borrar filtros

V_n=R*T/P

4 visualizaciones (últimos 30 días)
Carmen Jimenez
Carmen Jimenez el 5 de Jun. de 2018
Respondida: Kodavati Mahendra el 5 de Jun. de 2018
Why does this error message keep coming up when I enter this equation in the command window? >> V_n=R*T/P; %find values of V_n R=0.08602; P=1.01; T=285;2;325; Undefined function or variable 'R'.

Respuesta aceptada

Kodavati Mahendra
Kodavati Mahendra el 5 de Jun. de 2018
Yo something is wrong with this line.
T=285;2;325; or T=285:2:325;
The following works for me, Code 1:
R=0.08602;
P=1.01;
T=285;2;325
V_n=R*T/P
answer V_n = 24.2730;
Code2:
R=0.08602;
P=1.01;
T=285:2:325
V_n=R*T./P
answer: V_n is an array of length 21.
Code3:
R=0.08602;
P=1.01;
T=[285;2;325];
V_n=R*T./P
answer: V_n =
24.2730
0.1703
27.6797
What do you want to do exactly?

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by