summaryrefslogtreecommitdiff
path: root/2123/CH4/EX4.5
diff options
context:
space:
mode:
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 : ");