summaryrefslogtreecommitdiff
path: root/3648/CH13/EX13.4
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH13/EX13.4')
-rw-r--r--3648/CH13/EX13.4/Ex13_4.sce18
-rw-r--r--3648/CH13/EX13.4/Ex13_4.txt4
2 files changed, 22 insertions, 0 deletions
diff --git a/3648/CH13/EX13.4/Ex13_4.sce b/3648/CH13/EX13.4/Ex13_4.sce
new file mode 100644
index 000000000..ec6646bc3
--- /dev/null
+++ b/3648/CH13/EX13.4/Ex13_4.sce
@@ -0,0 +1,18 @@
+//Example 13_4
+clc();
+clear;
+//To draw a picture on the first three resonance frequencies
+l=6 //Units in meters
+n=1
+lamda1=(2*l)/n //Units in meters
+n=2
+lamda2=(2*l)/n //Units in meters
+n=3
+lamda3=(2*l)/n //Units in meters
+speed=24 //Units in meters/sec
+f1=speed/lamda1 //Units in Hz
+f2=speed/lamda2 //Units in Hz
+f3=speed/lamda3 //Units in Hz
+printf("The first resonance frequency is F1=%d Hz\n",f1)
+printf("The second resonance frequency is F2=%d Hz\n",f2)
+printf("The third resonance frequency is F3=%d Hz\n",f3)
diff --git a/3648/CH13/EX13.4/Ex13_4.txt b/3648/CH13/EX13.4/Ex13_4.txt
new file mode 100644
index 000000000..f519b8fd9
--- /dev/null
+++ b/3648/CH13/EX13.4/Ex13_4.txt
@@ -0,0 +1,4 @@
+ The first resonance frequency is F1=2 Hz
+The second resonance frequency is F2=4 Hz
+The third resonance frequency is F3=6 Hz
+ \ No newline at end of file