diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH8/EX8.1 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1271/CH8/EX8.1')
-rwxr-xr-x | 1271/CH8/EX8.1/1.txt | 1 | ||||
-rwxr-xr-x | 1271/CH8/EX8.1/example8_1.sce | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/1271/CH8/EX8.1/1.txt b/1271/CH8/EX8.1/1.txt new file mode 100755 index 000000000..09111cc75 --- /dev/null +++ b/1271/CH8/EX8.1/1.txt @@ -0,0 +1 @@ +Wavelength range of the sound wave is 1.725000 cm to 1725.000000 cm.
\ No newline at end of file diff --git a/1271/CH8/EX8.1/example8_1.sce b/1271/CH8/EX8.1/example8_1.sce new file mode 100755 index 000000000..f530dc27a --- /dev/null +++ b/1271/CH8/EX8.1/example8_1.sce @@ -0,0 +1,12 @@ +clc +// Given that +v = 34500 // speed of sound in cm/sec +f = 20 // lower limit of frequency for human hearing ear in Hz +f_ = 20000 // upper limit of frequency for human hearing ear in Hz +// Sample Problem 1 on page no. 8.17 +printf("\n # PROBLEM 1 # \n") +printf(" Standard formula used \n") +printf(" V = f*lambda \n \n" ) +lambda = v / f +lambda_ = v / f_ +printf("\n Wavelength range of the sound wave is %f cm to %f cm.",lambda_,lambda) |