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 /2609/CH6/EX6.1/Ex6_1.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 '2609/CH6/EX6.1/Ex6_1.sce')
-rwxr-xr-x | 2609/CH6/EX6.1/Ex6_1.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/2609/CH6/EX6.1/Ex6_1.sce b/2609/CH6/EX6.1/Ex6_1.sce new file mode 100755 index 000000000..5c3cc9e30 --- /dev/null +++ b/2609/CH6/EX6.1/Ex6_1.sce @@ -0,0 +1,27 @@ +//Ex 6.1
+clc;
+clear;
+close;
+format('v',6);
+f0=600;//Hz//Oscillating Frequency
+disp("Various design parameters are :-");
+C=0.05;//micro F//Chosen for the design
+disp(C,"Capacitance(micro F)");
+format('v',5);
+R=1/(2*%pi*f0*sqrt(6)*C*10^-6);//ohm
+R=R/1000;//kohm
+disp(R,"Resistance R(kohm)");
+disp("We can use R=2.2 kohm for design purpose.")
+//To avoid loading effect
+Ri=10*R;//kohm//Ri>=10*R
+Ri=ceil(Ri);//kohm
+disp(Ri,"Resistance Ri(kohm)");
+Rf=29*Ri;//kohm//Rf>=29*Ri
+disp(Rf,"Resistance Rf(kohm)");
+disp("We can use Rf=640 kohm for design purpose.")
+Rf=640;//kohm
+//Balancing the circuit
+Rom=Rf*Ri/(Rf+Ri);//kohm
+Rom=ceil(Rom);//kohm
+format('v',6);
+disp(Rom,"Resistance Rom(kohm)");
|