summaryrefslogtreecommitdiff
path: root/2609/CH6/EX6.1/Ex6_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2609/CH6/EX6.1/Ex6_1.sce')
-rwxr-xr-x2609/CH6/EX6.1/Ex6_1.sce27
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)");