summaryrefslogtreecommitdiff
path: root/3836/CH2/EX2.9/Ex2_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3836/CH2/EX2.9/Ex2_9.sce')
-rw-r--r--3836/CH2/EX2.9/Ex2_9.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3836/CH2/EX2.9/Ex2_9.sce b/3836/CH2/EX2.9/Ex2_9.sce
new file mode 100644
index 000000000..1e0fbcb11
--- /dev/null
+++ b/3836/CH2/EX2.9/Ex2_9.sce
@@ -0,0 +1,12 @@
+clear
+//Initialisation
+f=50 //frequency in herts
+
+
+//Calculation
+t=(1*f**-1) //time period
+
+
+//Result
+printf("\n T = %d ms",t*10**3)
+