summaryrefslogtreecommitdiff
path: root/3637/CH5/EX5.2/Ex5_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3637/CH5/EX5.2/Ex5_2.sce')
-rw-r--r--3637/CH5/EX5.2/Ex5_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3637/CH5/EX5.2/Ex5_2.sce b/3637/CH5/EX5.2/Ex5_2.sce
new file mode 100644
index 000000000..7dcaa6d29
--- /dev/null
+++ b/3637/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,11 @@
+//problem 2 pagenumber 5.95
+//given
+ra=5e3;//ohm
+rb=ra;format(6);
+c1=0.01e-6;//farad
+//determine frequency dutycycle
+freq1=1.44/((ra+2*rb)*c1);
+w=(ra+rb)/(ra+2*rb);format(5);
+disp('frequency = '+string(freq1)+' Hz');
+disp('dutycycle = '+string(w));//no unit
+