summaryrefslogtreecommitdiff
path: root/3637/CH5/EX5.4/Ex5_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3637/CH5/EX5.4/Ex5_4.sce')
-rw-r--r--3637/CH5/EX5.4/Ex5_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3637/CH5/EX5.4/Ex5_4.sce b/3637/CH5/EX5.4/Ex5_4.sce
new file mode 100644
index 000000000..3c43045b5
--- /dev/null
+++ b/3637/CH5/EX5.4/Ex5_4.sce
@@ -0,0 +1,15 @@
+//problem 4 pagenumber 5.97
+//given
+ra=2.2e3;//ohm
+rb=6.8e3;//ohm
+c1=0.01e-6;//farad
+//determine ontime offtime frequency dutycycle
+t1=0.69*(ra+rb)*c1;format(6);
+t2=0.69*rb*c1;
+freq1=1.45/((ra+2*rb)*c1);
+w=ra/(ra+2*rb);format(6);
+disp('on time = '+string(t1*10^6)+' μsecond');
+disp('tof = '+string(t2*10^6)+' μsecond');
+disp('frequency = '+string(freq1)+' Hz');
+disp('duty cycle = '+string(w));//no unit
+