summaryrefslogtreecommitdiff
path: root/1184/CH2/EX2.30
diff options
context:
space:
mode:
Diffstat (limited to '1184/CH2/EX2.30')
-rwxr-xr-x1184/CH2/EX2.30/Ex2_30.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1184/CH2/EX2.30/Ex2_30.sce b/1184/CH2/EX2.30/Ex2_30.sce
new file mode 100755
index 000000000..ce6cc7478
--- /dev/null
+++ b/1184/CH2/EX2.30/Ex2_30.sce
@@ -0,0 +1,12 @@
+//Example 2-30, Page no - 90
+
+clear
+clc
+
+bw_mhz = 60
+tri_ns= 15
+
+tra_osci = 0.35/(bw_mhz)
+tra_comp = 1.1*(tri_ns^2 + (tra_osci*10^3)^2)^0.5
+
+printf('The rise time of the displayed square wave is %.1f ns',tra_comp)