From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 1316/CH1/EX1.15/example1_15.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 1316/CH1/EX1.15/example1_15.sce (limited to '1316/CH1/EX1.15/example1_15.sce') diff --git a/1316/CH1/EX1.15/example1_15.sce b/1316/CH1/EX1.15/example1_15.sce new file mode 100644 index 000000000..52791bc04 --- /dev/null +++ b/1316/CH1/EX1.15/example1_15.sce @@ -0,0 +1,20 @@ +//Chapter 1 +//Example 1.15 +//Page 38 + +clear; +clc; + +STF = 33; +t1 = 1.5; +t2 = 0.75; +T1 = 20; +T2 = 41; +bi = STF*T1; +bf = STF*T2; +e = 2.718 +//Finding the error in temperature represents + +printf("The value of b(0.75) is %.1f mV \n",bi+(bf-bi)*[1-e^(-t2/t1)]); +printf("This corresponds to an indicated temperature of %.1f degree celcius\n",(bi+(bf-bi)*[1-e^(-t2/t1)])/STF); +printf("So the error is %.1f degree celcius because the actual temperature is 41 degree celcius \n",T2-((bi+(bf-bi)*[1-e^(-t2/t1)])/STF)); -- cgit