summaryrefslogtreecommitdiff
path: root/3554/CH5
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3554/CH5
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3554/CH5')
-rw-r--r--3554/CH5/EX5.1/Ex5_1.sce18
-rw-r--r--3554/CH5/EX5.2/Ex5_2.sce20
-rw-r--r--3554/CH5/EX5.3/Ex5_3.sce18
-rw-r--r--3554/CH5/EX5.4/Ex5_4.sce22
4 files changed, 78 insertions, 0 deletions
diff --git a/3554/CH5/EX5.1/Ex5_1.sce b/3554/CH5/EX5.1/Ex5_1.sce
new file mode 100644
index 000000000..560e11c56
--- /dev/null
+++ b/3554/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,18 @@
+// Exa 5.1
+
+clc;
+clear all;
+
+// Given data
+
+R=100; // in k Ohms
+C=1; //in micro farads
+ei=1;// Applied voltage to integrator(V)
+t1=1; // time in Sec
+
+// Solution
+
+// Using equation 5.1 from page no. 118
+eo=ei*t1/(R*10^3*C*10^-6); // Output voltage from integrator
+printf(' The voltage at output of integrator after 1 sec is = %d Volts \n',eo);
+
diff --git a/3554/CH5/EX5.2/Ex5_2.sce b/3554/CH5/EX5.2/Ex5_2.sce
new file mode 100644
index 000000000..c80c2476d
--- /dev/null
+++ b/3554/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,20 @@
+// Exa 5.2
+
+clc;
+clear all;
+
+// Given data
+// With reference to data given in Exa 5.1
+
+ei=1; // Applied input voltage to integrator(V)
+t1=1; // sec
+
+// Given data
+
+er=5;// Reference voltage applied at time t1 to integrator(V)
+
+// Solution
+// Using equation 5.3 from page no. 118
+
+t2=ei/er * t1;// Time interval t2(sec)
+printf(' The time interval of t2 is = %.1f sec \n',t2);
diff --git a/3554/CH5/EX5.3/Ex5_3.sce b/3554/CH5/EX5.3/Ex5_3.sce
new file mode 100644
index 000000000..3262a4955
--- /dev/null
+++ b/3554/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,18 @@
+// Exa 5.3
+
+clc;
+clear all;
+
+// Given data
+// 3 1/2 digit display
+
+V1=1; // Volts
+V2=10;//Volts
+
+// Solution
+disp("Number of full digits is 3.");
+n=3;//Full digits
+Reso=1/10^n;
+printf(' Resolution = %.3f . Hence, meter cannot distinguish two values if their difference is less than %.3f \n ',Reso,Reso);
+printf('For full scale reading of 1V, the resolution is %.3f V \n ',V1*Reso);
+printf('For full scale reading of 10V, the resolution is %.2f V \n ',V2*Reso);
diff --git a/3554/CH5/EX5.4/Ex5_4.sce b/3554/CH5/EX5.4/Ex5_4.sce
new file mode 100644
index 000000000..2b5cfb0f8
--- /dev/null
+++ b/3554/CH5/EX5.4/Ex5_4.sce
@@ -0,0 +1,22 @@
+// Exa 5.4
+
+clc;
+clear all;
+
+// Given data
+
+n=4; // Number of full digits
+V1=12.98;//Reading 1 to be measured(V)
+V2=0.6973;//Reading 2 to be measured(V)
+
+// Solution
+
+Reso=1/10^n; //Resolution
+printf(' Resolution is %.4f \n ',Reso);
+disp("There are 5 digit places in 4 and 1/2 digits display, therefore 12.98 would be displayed as 12.980");
+disp("");
+printf(' Resolution on 1V range = %.4f. Any reading upto the 4th decimal can be displayed \n ',1*Reso);
+disp("Therefore. 12.98 would be displayed as 12.980 and 0.6973 will be displayed as 0.6973");
+disp("");
+printf(' Resolution on 10V range = %.3f. Therefore. 12.98 would be dislayed as 12.98 \n ',10*Reso);
+disp("Therefore on a 10V range,the reading of 0.6973 would be displayed as o.697 instead of 0.6973");