summaryrefslogtreecommitdiff
path: root/3753/CH2/EX2.7/Ex2_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH2/EX2.7/Ex2_7.sce')
-rw-r--r--3753/CH2/EX2.7/Ex2_7.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3753/CH2/EX2.7/Ex2_7.sce b/3753/CH2/EX2.7/Ex2_7.sce
new file mode 100644
index 000000000..af2e38a7c
--- /dev/null
+++ b/3753/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,19 @@
+//Example number 2.7, Page number 2.34
+
+
+clc;clear;close
+
+// Variable declaration
+m=1 // unitless
+lamda_l=6000*10**-10 // in m
+theta=0.046*(%pi/180) // radian
+n=2*10**6// unitless
+
+// Calculation
+lamda_s=(m*lamda_l)/(sin(theta)) // in m
+v=n*lamda_s // in m/s
+
+// Result
+printf("Ultrasonic wavelength,lamda s =%0.2e m",(lamda_s))
+printf("\nVelocity of ultrasonic waves in liquid = %0.f ms^-1",v)
+// Answer varies due to rounding of numbers