summaryrefslogtreecommitdiff
path: root/2123/CH4/EX4.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2123/CH4/EX4.5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2123/CH4/EX4.5')
-rwxr-xr-x2123/CH4/EX4.5/Exa_4_5.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2123/CH4/EX4.5/Exa_4_5.sce b/2123/CH4/EX4.5/Exa_4_5.sce
new file mode 100755
index 000000000..c66d55714
--- /dev/null
+++ b/2123/CH4/EX4.5/Exa_4_5.sce
@@ -0,0 +1,18 @@
+//Example No. 4.5
+clc;
+clear;
+close;
+format('v',6);
+
+//Given Data :
+theta1=20;//degreeC
+theta2=28;//degreeC
+dthetaBYdt1=0.08;//degreeC/min
+dthetaBYdt2=0.06;//degreeC/min
+//theta=theta_f-(theta_f-theta1)*exp(-t/T)
+//dtheta/dt=(theta_f-theta)/T
+//dthetaBYdt1/dthetaBYdt2=(theta_f-theta1)/(theta_f-theta2)
+theta_f=(theta2*dthetaBYdt1-theta1*dthetaBYdt2)/(dthetaBYdt1-dthetaBYdt2)
+disp(theta_f,"Final temperature rise in degree C : ");
+T=(theta_f-theta1)/dthetaBYdt1;//min
+disp(T,"Heating time constant in min : ");