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 /978/CH1 | |
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 '978/CH1')
-rwxr-xr-x | 978/CH1/EX1.1/Example1_1.sce | 13 | ||||
-rwxr-xr-x | 978/CH1/EX1.2/Example1_2.sce | 15 | ||||
-rwxr-xr-x | 978/CH1/EX1.3/Example1_3.sce | 21 | ||||
-rwxr-xr-x | 978/CH1/EX1.4/Example1_4.sce | 13 | ||||
-rwxr-xr-x | 978/CH1/EX1.5/Example1_5.sce | 7 | ||||
-rwxr-xr-x | 978/CH1/EX1.6/Example1_6.sce | 19 | ||||
-rwxr-xr-x | 978/CH1/EX1.7/Example1_7.sce | 13 | ||||
-rwxr-xr-x | 978/CH1/EX1.8/Example1_8.sce | 9 | ||||
-rwxr-xr-x | 978/CH1/EX1.9/Example1_9.sce | 23 |
9 files changed, 133 insertions, 0 deletions
diff --git a/978/CH1/EX1.1/Example1_1.sce b/978/CH1/EX1.1/Example1_1.sce new file mode 100755 index 000000000..df009e64b --- /dev/null +++ b/978/CH1/EX1.1/Example1_1.sce @@ -0,0 +1,13 @@ +//chapter1,Example1_1,pg 481
+
+Ir=10*10^-3//current drawn by resistor
+
+Vr=100//voltage across resistor
+
+Rv=40*10^3//voltmeter resistance
+
+Ru=(Vr/Ir)*(1/(1-(Vr/(Ir*Rv))))//unknown resistance
+
+printf("output resistance\n")
+
+printf("\nRu=%.2f ohm",Ru)
\ No newline at end of file diff --git a/978/CH1/EX1.2/Example1_2.sce b/978/CH1/EX1.2/Example1_2.sce new file mode 100755 index 000000000..02ae1bc0e --- /dev/null +++ b/978/CH1/EX1.2/Example1_2.sce @@ -0,0 +1,15 @@ +//chapter1,Example1_2,pg 481
+
+Ir=10*10^-3//current drawn by resistor
+
+Vr=100//voltage across resistor
+
+Rv=40*10^3//voltmeter resistance
+
+Ra=1//ammeter resistance
+
+Ru=(Rv/Ir)-Ra//unknown resistance
+
+printf("output resistance\n")
+
+printf("\nRu=%.2f ohm",Ru)
\ No newline at end of file diff --git a/978/CH1/EX1.3/Example1_3.sce b/978/CH1/EX1.3/Example1_3.sce new file mode 100755 index 000000000..ec3ca0d60 --- /dev/null +++ b/978/CH1/EX1.3/Example1_3.sce @@ -0,0 +1,21 @@ +//chapter1,Example1_3,pg 481
+
+Rv=40*10^3//voltmeter resistance
+
+Ra=1//ammeter resistance
+
+Vr=40//voltmeter reading
+
+Ru=10*10^3//unknown resistance
+
+Ir=(Vr*(Rv+Ru))/(Ru*Rv)//current reading-case1
+
+printf("ammeter reading case1\n")
+
+printf("\nIr=%.4f A",Ir)
+
+Ir1=(Vr/(Ru+Ra))//current reading -case2
+
+printf("\nammeter reading case2\n")
+
+printf("\nIr1=%.4f A",Ir1)
diff --git a/978/CH1/EX1.4/Example1_4.sce b/978/CH1/EX1.4/Example1_4.sce new file mode 100755 index 000000000..d9fb3d3bf --- /dev/null +++ b/978/CH1/EX1.4/Example1_4.sce @@ -0,0 +1,13 @@ +//chapter1,Example1_4,pg 482
+
+Vs=3//supply voltage
+
+Vu=2.75//voltmeter reading
+
+Rp=10*10^3//parallel resistance
+
+Ru=Rp*((Vs/Vu)-1)//unknown resistance
+
+printf("unknown resistance\n")
+
+printf("\nRu=%.2f ohm",Ru)
\ No newline at end of file diff --git a/978/CH1/EX1.5/Example1_5.sce b/978/CH1/EX1.5/Example1_5.sce new file mode 100755 index 000000000..3dea37215 --- /dev/null +++ b/978/CH1/EX1.5/Example1_5.sce @@ -0,0 +1,7 @@ +//chapter1,Example1_5,pg 482
+
+//with input voltage exceding 2Vd,diodes conduct and the voltage divider circuit with diodes can allow only a Vi given by Vi=2Vd
+
+printf("\ninput voltage to amplifier\n")
+
+printf("\nVi=2Vd")
diff --git a/978/CH1/EX1.6/Example1_6.sce b/978/CH1/EX1.6/Example1_6.sce new file mode 100755 index 000000000..649654cba --- /dev/null +++ b/978/CH1/EX1.6/Example1_6.sce @@ -0,0 +1,19 @@ +//chapter1,Example1_6,pg 482
+
+Rm=1000//meter resistance
+
+Is=900*10^-6//shunt current
+
+Vm=100*10^-3//drop across meter
+
+Rs=Vm/Is//ohm's law
+
+It=1*10^-3
+
+//Is=It*(Rm/(Rs+Rm))
+
+Rs=(Rm*(It-Is))/Is
+
+printf("\nshunt resistance\n")
+
+printf("\nRs=%.2f ohm",Rs)
diff --git a/978/CH1/EX1.7/Example1_7.sce b/978/CH1/EX1.7/Example1_7.sce new file mode 100755 index 000000000..99e79d658 --- /dev/null +++ b/978/CH1/EX1.7/Example1_7.sce @@ -0,0 +1,13 @@ +//chapter1,Example1_7,pg 483
+
+If=100*10^-6//full scale current
+
+Rm=1000//meter resistance
+
+Vf=10//full scale voltage
+
+Rs=(Vf/If)-Rm//series resistance
+
+printf("\nseries resistance\n")
+
+printf("\Rs=%.2f ohm",Rs)
diff --git a/978/CH1/EX1.8/Example1_8.sce b/978/CH1/EX1.8/Example1_8.sce new file mode 100755 index 000000000..e43e6f0ab --- /dev/null +++ b/978/CH1/EX1.8/Example1_8.sce @@ -0,0 +1,9 @@ +//chapter1,Example1_8,pg 483
+
+If=100*10^-6
+
+S=1/If
+
+printf("\nsensitivity\n")
+
+printf("\nS=%.2f ohm/volt",S)
diff --git a/978/CH1/EX1.9/Example1_9.sce b/978/CH1/EX1.9/Example1_9.sce new file mode 100755 index 000000000..1b319e762 --- /dev/null +++ b/978/CH1/EX1.9/Example1_9.sce @@ -0,0 +1,23 @@ +//chapter1,Example1_9,pg 483
+
+//assume that the voltmeter full scale reading is 12V which gives its resistance as 1.2*10^6 ohm which is in parallel with 10*10^6 ohm making as equivalent of Rq given as
+
+R=1.2*10^6//voltmeter resistance
+
+R1=10*10^6//voltage divider resistance
+
+Rq=(R*R1)/(R+R1)//equivalent resistance
+
+Vin=12//input voltage to divider network
+
+Rs=4*10^6//series resistance
+
+Vq=(Rq*Vin)/(Rq+Rs)//voltage across equivalent combination
+
+Va=(R1*Vin)/(R1+Rs)//actual volatge
+
+er=(Vq-Va)/Va//error
+
+printf("\nerror in measurement\n")
+
+printf("\ner=%.3f ",er)
\ No newline at end of file |