这是我的代码。它抛出错误。我想打印多边形。
clc
clear
printf("Example 4.4 | Page number 103 \n\n");
//find Cv and Cp
//Given data
t = poly(0,'t'); //°C //Temperature in °C
u = 196 + .718*t; //KJ/kg //specific internal energy
pv = 287*(t+273); //Nm/kg //p is pressure and v = specific volume
//Solution
Cv = derivat(u);
printf("Cv = %.3f KJ/kgK\n",Cv);