diff options
Diffstat (limited to '2309/CH1/EX1.3/Ex1_3.sce')
-rwxr-xr-x | 2309/CH1/EX1.3/Ex1_3.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2309/CH1/EX1.3/Ex1_3.sce b/2309/CH1/EX1.3/Ex1_3.sce new file mode 100755 index 000000000..781780c9e --- /dev/null +++ b/2309/CH1/EX1.3/Ex1_3.sce @@ -0,0 +1,19 @@ +// Chapter 1 Example 3
+//==============================================================================
+clc;
+clear;
+
+//input data
+
+f = 1.5*10^6; //frequency of ultrasonics in Hz
+d6 = 2.75*10^-3; // distance between 6 consecutive nodes
+
+//Calculations
+d = d6/5; // distance b/w two nodes
+lamda = 2*d; // wavelength in m
+v = f*lamda; // velocity of ultrasonics
+
+//Output
+mprintf('Velocity of ultrasonics = %3.0f m/sec',v);
+
+//==============================================================================
|