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 /1529/CH10/EX10.5 | |
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 '1529/CH10/EX10.5')
-rwxr-xr-x | 1529/CH10/EX10.5/10_05.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1529/CH10/EX10.5/10_05.sce b/1529/CH10/EX10.5/10_05.sce new file mode 100755 index 000000000..656de7e43 --- /dev/null +++ b/1529/CH10/EX10.5/10_05.sce @@ -0,0 +1,12 @@ +//Chapter 10, Problem 5, figure 10.11, figure 10.12
+clc;
+V=100; //f.s.d of voltmeter
+S=1600; //sensitivity
+R1=40e3; //resistor 1
+R2=60e3; //resistor 2
+V1=(R1/(R1+R2))*V; //voltage between A and B
+R=V*S; //resistance of voltmeter
+R3=((R1*R)/(R1+R)); //equivalent resistance of parallel network
+V2=(R3/(R2+R3))*V; //voltage indicated by voltmeter
+printf("(a) Value of voltage V1 with the voltmeter not connected = %f V\n\n\n",V1);
+printf("(b) Voltage between A and B = %f V\n\n\n",V2);
|