summaryrefslogtreecommitdiff
path: root/3648/CH13/EX13.4
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3648/CH13/EX13.4
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
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