diff options
Diffstat (limited to '575/CH8/EX8.3.1/8_3_1.sce')
-rwxr-xr-x | 575/CH8/EX8.3.1/8_3_1.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/575/CH8/EX8.3.1/8_3_1.sce b/575/CH8/EX8.3.1/8_3_1.sce new file mode 100755 index 000000000..a37c6f915 --- /dev/null +++ b/575/CH8/EX8.3.1/8_3_1.sce @@ -0,0 +1,11 @@ +clc +pathname=get_absolute_file_path('8_3_1.sce') +filename=pathname+filesep()+'831.sci' +exec(filename) +printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook \n ") +function[Cv]=fun(T) + Cv=0.855+ T*9.42*10^(-4) +endfunction +[Ucap,err]=intg(Ti,Tf,fun) //intg is an inbult function used for definite integration +Q=mass*Ucap +printf("Heat Required=%f KJ",Q)
\ No newline at end of file |