summaryrefslogtreecommitdiff
path: root/1535/CH1/EX1.9
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1535/CH1/EX1.9
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1535/CH1/EX1.9')
-rwxr-xr-x1535/CH1/EX1.9/Ch01Ex9.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/1535/CH1/EX1.9/Ch01Ex9.sci b/1535/CH1/EX1.9/Ch01Ex9.sci
new file mode 100755
index 000000000..763cce36e
--- /dev/null
+++ b/1535/CH1/EX1.9/Ch01Ex9.sci
@@ -0,0 +1,12 @@
+// Scilab Code Ex1.9 : Page-27 (2010)
+T = 1000; // Tension in the wire, N
+m = 15/300; // Mass per unit length of the wire, kg per metre
+lambda = 0.30; // Wavelength of wave along wire, m
+v = sqrt(T/m); // Velocity of wave through wire, m/s
+nu = v/lambda; // Frequency of wave through string, Hz
+printf("\nThe velocity and frequency of the wave through wire are %5.1f m/s and %5.1f Hz respectively", v, nu);
+
+
+
+// Result
+// The velocity and frequency of the wave through wire are 141.4 m/s and 471.4 Hz respectively