summaryrefslogtreecommitdiff
path: root/1985/CH8/EX8.3/Chapter8_Example3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1985/CH8/EX8.3/Chapter8_Example3.sce')
-rwxr-xr-x1985/CH8/EX8.3/Chapter8_Example3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1985/CH8/EX8.3/Chapter8_Example3.sce b/1985/CH8/EX8.3/Chapter8_Example3.sce
new file mode 100755
index 000000000..2e4183a06
--- /dev/null
+++ b/1985/CH8/EX8.3/Chapter8_Example3.sce
@@ -0,0 +1,11 @@
+clc
+clear
+//Input data
+v=5000//Velocity of sound in steel in m/s
+f=(50*10^3)//Difference between two adjacent frequencies in Hz
+
+//Calculations
+d=(v/(2*f))//Thickness of the plate in m
+
+//Output
+printf('The thickness of the steel plate is %3.2f m',d)