diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1319/CH4/EX4.4 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1319/CH4/EX4.4')
-rw-r--r-- | 1319/CH4/EX4.4/4_4.sce | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/1319/CH4/EX4.4/4_4.sce b/1319/CH4/EX4.4/4_4.sce new file mode 100644 index 000000000..9ef519756 --- /dev/null +++ b/1319/CH4/EX4.4/4_4.sce @@ -0,0 +1,31 @@ +//To create an instrument that measures voltages and currents upto a rated value
+
+clc;
+clear;
+
+Rm=10;
+Im=50*(10^-3);
+V=750;
+I=100;
+
+//To Calculate the required voltage a resistor should be added in series with the internal resistance
+
+R=poly([0 1],'R','c');
+
+sr=Im*(R+Rm)-V;
+
+R=roots(sr);//Characteristic equation to find R
+
+// To attain the required current, a resistor should be added in parallel to the internal resistance
+
+r=poly([0 1],'r','c');// Characteristic equation to find r
+
+pr=Im*(r+Rm)-(I*r);
+
+r=roots(pr);
+
+printf('To Read 750 V a series resitance of %g ohms should be connected to the instrument \n',R)
+printf('To Read 100 A a parallel resitance of %g milli ohms should be connected to the instrument \n',r*1000)
+
+
+
|