summaryrefslogtreecommitdiff
path: root/3753/CH2/EX2.9/Ex2_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH2/EX2.9/Ex2_9.sce')
-rw-r--r--3753/CH2/EX2.9/Ex2_9.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3753/CH2/EX2.9/Ex2_9.sce b/3753/CH2/EX2.9/Ex2_9.sce
new file mode 100644
index 000000000..5673711eb
--- /dev/null
+++ b/3753/CH2/EX2.9/Ex2_9.sce
@@ -0,0 +1,14 @@
+//Example number 2.9, Page number 2.35
+
+clc;clear;close
+
+// Variable declaration
+t=0.7*10**-3 // in s
+E=8.8*10**10 // V
+rho=2800 // kg/m^3
+
+// Calculation
+f=(1/(2*t))*sqrt(E/rho) // Fundamental frequency
+
+// Result
+printf("Fundamental frequency,f = %.e Hz",f)