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 /1994/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 '1994/CH1')
-rwxr-xr-x | 1994/CH1/EX1.1/Example1_1.sce | 11 | ||||
-rwxr-xr-x | 1994/CH1/EX1.10/Example1_10.sce | 13 | ||||
-rwxr-xr-x | 1994/CH1/EX1.11/Example1_11.sce | 13 | ||||
-rwxr-xr-x | 1994/CH1/EX1.2/Example1_2.sce | 9 | ||||
-rwxr-xr-x | 1994/CH1/EX1.3/Example1_3.sce | 6 | ||||
-rwxr-xr-x | 1994/CH1/EX1.4/Example1_4.sce | 18 | ||||
-rwxr-xr-x | 1994/CH1/EX1.5/Example1_5.sce | 10 | ||||
-rwxr-xr-x | 1994/CH1/EX1.6/Example1_6.sce | 9 | ||||
-rwxr-xr-x | 1994/CH1/EX1.7/Example1_7.sce | 9 | ||||
-rwxr-xr-x | 1994/CH1/EX1.8/Example1_8.sce | 13 | ||||
-rwxr-xr-x | 1994/CH1/EX1.9/Example1_9.sce | 15 |
11 files changed, 126 insertions, 0 deletions
diff --git a/1994/CH1/EX1.1/Example1_1.sce b/1994/CH1/EX1.1/Example1_1.sce new file mode 100755 index 000000000..9d372a073 --- /dev/null +++ b/1994/CH1/EX1.1/Example1_1.sce @@ -0,0 +1,11 @@ +//Chapter-1,Example1_1,pg 1_17
+Erms=10
+Ep=sqrt(2)*Erms
+Eav=0.6*Ep
+E=Eav/2
+Edc=0.45*Erms
+Idc=1*10^-3
+Rm=200
+Rs=(Edc/Idc)-Rm
+printf("required multiplier resistance")
+printf("Rs=%.2f ohm \n",Rs )
diff --git a/1994/CH1/EX1.10/Example1_10.sce b/1994/CH1/EX1.10/Example1_10.sce new file mode 100755 index 000000000..e318b645f --- /dev/null +++ b/1994/CH1/EX1.10/Example1_10.sce @@ -0,0 +1,13 @@ +//Chapter-1,Example1_10,pg 1_41
+rd=200*10^3
+gm=0.004
+Rs=40*10^3
+Rm=1000
+V1=1
+rdf=rd/(1+gm*rd)//actual rd
+Rth=(2*Rs*rdf/(Rs+rdf))
+Vo=(gm*rdf*Rs)*V1/(rdf+Rs)
+Im=50*10^-6
+Rcal=(Vo/Im)-Rth-Rm//caliberation resistance
+printf("caliberation resistance\n")
+printf("Rcal=%.2f ohm",Rcal)
diff --git a/1994/CH1/EX1.11/Example1_11.sce b/1994/CH1/EX1.11/Example1_11.sce new file mode 100755 index 000000000..ae736b586 --- /dev/null +++ b/1994/CH1/EX1.11/Example1_11.sce @@ -0,0 +1,13 @@ +//Chapter-1,Example1_11,pg 1_42
+Vin=3
+V1=1
+Rin=1*10^6//input resistance of FET
+R4=Rin/100//for Vin=100V
+R3=(Rin-30*R4)/30//for Vin=30V
+R2=(Rin-3*R3-3*R4)/3//for Vin=3V
+R1=Rin-R2-R3-R4
+printf("Resistances are\n")
+printf("R1=%.2f ohm\n",R1)
+printf("R2=%.2f ohm\n",R2)
+printf("R3=%.2f ohm\n",R3)
+printf("R4=%.2f ohm",R4)
diff --git a/1994/CH1/EX1.2/Example1_2.sce b/1994/CH1/EX1.2/Example1_2.sce new file mode 100755 index 000000000..4b9172c04 --- /dev/null +++ b/1994/CH1/EX1.2/Example1_2.sce @@ -0,0 +1,9 @@ +//Chapter-1,Example1_2,pg 1_18
+Eav=9
+Erms=10
+Rm=500
+Idc=2*10^-3
+Edc=0.9*Erms
+Rs=(Edc/Idc)-Rm
+printf("required multiplier resistance")
+printf("Rs=%.2f ohm \n",Rs )
diff --git a/1994/CH1/EX1.3/Example1_3.sce b/1994/CH1/EX1.3/Example1_3.sce new file mode 100755 index 000000000..575848786 --- /dev/null +++ b/1994/CH1/EX1.3/Example1_3.sce @@ -0,0 +1,6 @@ +//Chapter-1,Example1_3,pg 1_20
+Kf=1//Erms=Em for 1 time period
+Kf1=1.11//Kf(sine)/Kf(square)
+pere=(Kf-Kf1)/Kf*100//percentage error
+printf("percentage error ")
+printf("pere=%.2f ",pere)
diff --git a/1994/CH1/EX1.4/Example1_4.sce b/1994/CH1/EX1.4/Example1_4.sce new file mode 100755 index 000000000..3f6a59ed6 --- /dev/null +++ b/1994/CH1/EX1.4/Example1_4.sce @@ -0,0 +1,18 @@ +//Chapter-1,Example1_4,pg 1_20
+A=50
+T=2
+function E=f(t),E=(50*t)^2,endfunction//e=At(ramp function)
+exact=-2.5432596188;
+I=intg(0,T,f)
+abs(exact-I)
+Erms=sqrt((1/T)*I)
+function e=f1(t),e=50*t,//e=At(ramp function)
+endfunction
+exact=-2.5432596188;
+I1=intg(0,T,f)
+Eav=(1/T)*I1
+Kf=Erms/Eav
+kf1=0.961//Kf(sine)/Kf(sawtooth)
+pere=(1-kf1)/1*100//percentage error
+printf("percentage error ")
+printf("pere=%.2f ",pere)
diff --git a/1994/CH1/EX1.5/Example1_5.sce b/1994/CH1/EX1.5/Example1_5.sce new file mode 100755 index 000000000..1206adf2f --- /dev/null +++ b/1994/CH1/EX1.5/Example1_5.sce @@ -0,0 +1,10 @@ +//Chapter-1,Example1_5,pg 1_27
+Idc=25*10^-3
+Erms=200
+Rm=100
+Rf=500
+Rd=2*Rf
+Rm1=Rm+Rd//total meter resistance
+Rs=(0.9*Erms)/Idc-Rm1
+printf("total meter resistance")
+printf("Rs=%.2f ohm",Rs)
diff --git a/1994/CH1/EX1.6/Example1_6.sce b/1994/CH1/EX1.6/Example1_6.sce new file mode 100755 index 000000000..686237aeb --- /dev/null +++ b/1994/CH1/EX1.6/Example1_6.sce @@ -0,0 +1,9 @@ +//Chapter-1,Example1_6,pg 1_38
+V1=2
+Rm=50
+Rd=15*10^3
+gm=0.006
+rd=100*10^3
+Im=(gm*rd*Rd/(rd+Rd)*V1)/((2*(rd*Rd/(rd+Rd))+Rm))
+printf("meter current")
+printf("Im=%.4f A",Im)
diff --git a/1994/CH1/EX1.7/Example1_7.sce b/1994/CH1/EX1.7/Example1_7.sce new file mode 100755 index 000000000..b37ef1fc9 --- /dev/null +++ b/1994/CH1/EX1.7/Example1_7.sce @@ -0,0 +1,9 @@ +//Chapter-1,Example1_7,pg 1_38
+V1=1
+Rm=50
+Rd=15*10^3
+gm=0.006
+rd=100*10^3
+Im=(gm*rd*Rd/(rd+Rd)*V1)/((2*(rd*Rd/(rd+Rd))+Rm))
+printf("meter current")
+printf("Im=%.4f A",Im)
diff --git a/1994/CH1/EX1.8/Example1_8.sce b/1994/CH1/EX1.8/Example1_8.sce new file mode 100755 index 000000000..a0c856245 --- /dev/null +++ b/1994/CH1/EX1.8/Example1_8.sce @@ -0,0 +1,13 @@ +//Chapter-1,Example1_8,pg 1_39
+V1=1
+Vin=30
+Rin=9*10^6
+R4=Rin/100//for Vin=100V
+R3=(Rin-50*R4)/50//for Vin=50V
+R2=(Rin-30*R3-30*R4)/30//for Vin=30V
+R1=Rin-R2-R3-R4
+printf("resitance values are\n")
+printf("R1=%.2f ohm\n",R1)
+printf("R2=%.2f ohm\n",R2)
+printf("R3=%.2f ohm\n",R3)
+printf("R4=%.2f ohm\n",R4)
diff --git a/1994/CH1/EX1.9/Example1_9.sce b/1994/CH1/EX1.9/Example1_9.sce new file mode 100755 index 000000000..f499c11b8 --- /dev/null +++ b/1994/CH1/EX1.9/Example1_9.sce @@ -0,0 +1,15 @@ +//Chapter-1,Example1_9,pg 1_40
+rd=10*10^3
+gm=0.003
+rdf=rd/(1+gm*rd)//actual rd
+Rs=15*10^3
+V1=1//input voltage
+Vo=(gm*rdf*Rs)*V1/(rdf+Rs)
+Rth=(2*Rs*rdf/(Rs+rdf))
+Rm=1800
+Im=Vo/(Rth+Rm)
+Img=0.1*10^-3//meter current given
+Rf=(Vo/Img)-Rth-Rm//series resistance
+printf("current Im=%.5f A\n",Im)
+printf("seires resistance\n")
+printf("Rf=%.2f ohm\n",Rf)
|