int function does not return a single number

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

 Réponse acceptée

Oleg Komarov
Oleg Komarov le 9 Août 2011
Add at the end:
double(intCpS)

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by