int function does not return a single number

1 次查看(过去 30 天)
Hello guys, I'm trying to use the int function to integrate the given function below:
syms T
R = 8.314e-5
CpS=(R*(1.702+(9.081e-3)*T+(-2.164e-6)*T^2))/T;
intCpS=int(CpS,298,500);
But the Matlab returns this result:
intCpS =
527894439476530787915169392877511447/1361129467683753853853498429727072845824+326286654811817103/2305843009213693952000*log(2)-326286654811817103/2305843009213693952000*log(149)+326286654811817103/2305843009213693952000*log(3)+978859964435451309/2305843009213693952000*log(5)
Anyone knows how to get the single number, resulting from this numeric expression?
Best Regards
Thiago Oliveira

采纳的回答

Oleg Komarov
Oleg Komarov 2011-8-9
Add at the end:
double(intCpS)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Calculus 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by