summaryrefslogtreecommitdiff
path: root/3809/CH1/EX1.9/EX1_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3809/CH1/EX1.9/EX1_9.sce')
-rw-r--r--3809/CH1/EX1.9/EX1_9.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3809/CH1/EX1.9/EX1_9.sce b/3809/CH1/EX1.9/EX1_9.sce
new file mode 100644
index 000000000..b2f991a46
--- /dev/null
+++ b/3809/CH1/EX1.9/EX1_9.sce
@@ -0,0 +1,13 @@
+//Chapter 1, Example 1.9
+
+clc
+//Initialisation
+f=50 //Frequency in Hertz
+
+
+//Calculation
+t=1/f //Time Period in Sec
+
+
+//Results
+printf("Time Period, T = %d ms",(t*1000))