summaryrefslogtreecommitdiff
path: root/863/CH14/EX14.6/Ex14_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '863/CH14/EX14.6/Ex14_6.sce')
-rw-r--r--863/CH14/EX14.6/Ex14_6.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/863/CH14/EX14.6/Ex14_6.sce b/863/CH14/EX14.6/Ex14_6.sce
new file mode 100644
index 000000000..42952c43d
--- /dev/null
+++ b/863/CH14/EX14.6/Ex14_6.sce
@@ -0,0 +1,18 @@
+//Caption:Determine required current
+//Ex14.6
+clc;
+clear;
+close;
+c=1280//Input wave clock cycles
+f=200//Output frequency(in khz)
+p=1000//Pulses during t2
+V=1//Input voltage(in volts)
+R=10//Resistance(in kilo ohm)
+C=0.1//Capacitance(in micro farad)
+I=V*1000/R
+T=1000/f
+t1=T*c
+vo=(I*t1)/(C*1000)
+t2=T*p
+Ir=C*vo*1000/t2
+disp(Ir,'Required current(in micro ampere)=') \ No newline at end of file