From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2120/CH3/EX3.2/ex3_2.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 2120/CH3/EX3.2/ex3_2.sce (limited to '2120/CH3/EX3.2/ex3_2.sce') diff --git a/2120/CH3/EX3.2/ex3_2.sce b/2120/CH3/EX3.2/ex3_2.sce new file mode 100755 index 000000000..52a8323e9 --- /dev/null +++ b/2120/CH3/EX3.2/ex3_2.sce @@ -0,0 +1,18 @@ +// Exa 3.2 +clc; +clear; +close; +// Given data +T_K= '273.15+t_C'; +T_R= '459.67+t_F'; +// t_C= t_F or T_K-T_R= -186.52 (i) +// T_R/T_K = 1.68 (ii) +// From eq (i) and (ii) +T_K= -186.52/(1-1.68);// temp. in kelvin in K +T_R= 1.68*T_K;// in temp. in rankine in °R +t_C= T_K-273.15;// in °C +t_F= T_R-459.67;// in °F +disp(T_K,"Temperature in kelvin is : ") +disp(T_R,"Temperature in °R is ") +disp(t_C,"Temperature in °C is ") +disp(t_F,"Temperature in °F is ") -- cgit