summaryrefslogtreecommitdiff
path: root/182/CH9/EX9.13/example9_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '182/CH9/EX9.13/example9_13.sce')
-rwxr-xr-x182/CH9/EX9.13/example9_13.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/182/CH9/EX9.13/example9_13.sce b/182/CH9/EX9.13/example9_13.sce
new file mode 100755
index 000000000..bb1fe36d7
--- /dev/null
+++ b/182/CH9/EX9.13/example9_13.sce
@@ -0,0 +1,17 @@
+// to determine the raise time displayed waveform
+// example9-13 in page 279
+clc;
+// Data given
+fH=[20e+6 50e+6];// upper cut-off frequency in hertz
+tri=21D-9;// input raise time in seconds
+// calculation
+for n=1:2
+ tro=0.35/fH(n);// tro is the raise time in seconds
+ trd=sqrt(tri^2+tro^2);// trd is the fall time in seconds
+ printf("for fH=%d MHz,\ntrd=%d ns\n",fH(n)/10^6,trd*10^9);
+end
+//result
+//for fH=20 MHz,
+//trd=27 ns
+//for fH=50 MHz,
+//trd=22 ns \ No newline at end of file