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 /929/CH2/EX2.13.a/Example2_13_a.sce | |
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 '929/CH2/EX2.13.a/Example2_13_a.sce')
-rwxr-xr-x | 929/CH2/EX2.13.a/Example2_13_a.sce | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/929/CH2/EX2.13.a/Example2_13_a.sce b/929/CH2/EX2.13.a/Example2_13_a.sce new file mode 100755 index 000000000..7cc127ac0 --- /dev/null +++ b/929/CH2/EX2.13.a/Example2_13_a.sce @@ -0,0 +1,59 @@ +//Example 2.13(a)
+
+clear;
+
+clc;
+
+R0=100;//Data taken from Example 2.11
+
+alpha=0.00392;//Data taken from Example 2.11
+
+Vref=15;
+
+P=0.2*10^(-3);
+
+i=(P/R0)^(0.5)-(0.41*10^(-3));
+
+pV=0.05;
+
+Vrefc=pV*Vref+0.25;
+
+Vrefr=Vref-Vrefc;
+
+R3=2/(2*i);
+
+//R0+R1+(R2/2)=Vrefr/i;
+
+Rtot=Vrefr/i;
+
+p=0.01;
+
+R2=(2*p*Rtot)+221.1748472;//220 ohms are added to be on the safe side
+
+R1=(Rtot-(R2/2)-R0)+108.15494;//Tolerance 1%
+
+vO=9.97;//Data from Example 2.12
+
+R1u=R1+(R2/2);
+
+dT=1;//obtained from Example 2.12
+
+d2=alpha*dT;
+
+vO=0.1;//Sensitivity (Refer Example 2.12)
+
+Anum=vO*(2+(R1u/R0)+(R0/R1u));
+
+Aden=Vrefr*d2;
+
+A=Anum/Aden;//Overall Gain by using Eq.2.47
+
+printf("Designed Circuit for Calibration :");
+
+printf("\nR1=%.1f kohms",R1*10^(-3));
+
+printf("\nR2=%.f ohms",R2);
+
+printf("\nR3=%.f kohms",R3*10^(-3));
+
+printf("\nA=%.1f V/V",A);
\ No newline at end of file |