From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1535/CH1/EX1.9/Ch01Ex9.sci | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 1535/CH1/EX1.9/Ch01Ex9.sci (limited to '1535/CH1/EX1.9') 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 -- cgit