diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /199/CH6/EX6.7 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '199/CH6/EX6.7')
-rwxr-xr-x | 199/CH6/EX6.7/Example_6_7.sce | 21 | ||||
-rwxr-xr-x | 199/CH6/EX6.7/result_ex_6_7.txt | 2 |
2 files changed, 23 insertions, 0 deletions
diff --git a/199/CH6/EX6.7/Example_6_7.sce b/199/CH6/EX6.7/Example_6_7.sce new file mode 100755 index 000000000..2de0037f6 --- /dev/null +++ b/199/CH6/EX6.7/Example_6_7.sce @@ -0,0 +1,21 @@ +// Chapter6
+// Page.No-209, Figure.No-6.12
+// Example_6_7
+// Output voltage
+// Given
+clear;clc;
+R1=1*10^3;Rf=4.7*10^3;Ra=100*10^3;Rb=100*10^3;Rc=100*10^3;
+Vdc=5;
+Rt=100*10^3; // Resistance of a thermistor
+temp_coeff=1*10^3;
+
+// Output voltage at 0 degree
+delta_R=-temp_coeff*(0-25); // Change in resistance
+R=Ra; // Ra=Rb=Rc=R
+Vo=((Rf*delta_R)/(R1*4*R))*Vdc;
+printf("\n Output voltage at 0 degree is = %.2f V \n",Vo)
+
+// Output voltage at 100 degree
+delta_R=-temp_coeff*(100-25); // Change in resistance
+Vo=((Rf*delta_R)/(R1*4*R))*Vdc;
+printf("\n Output voltage at 100 degree is = %.2f V \n",Vo)
\ No newline at end of file diff --git a/199/CH6/EX6.7/result_ex_6_7.txt b/199/CH6/EX6.7/result_ex_6_7.txt new file mode 100755 index 000000000..7f5f4d155 --- /dev/null +++ b/199/CH6/EX6.7/result_ex_6_7.txt @@ -0,0 +1,2 @@ +* Output voltage at 0 degree is = 1.47 V
+* Output voltage at 100 degree is = -4.41 V
\ No newline at end of file |