blob: 1fa0aa98be498cc0f2f7ddac20d506d21969bf4c (
plain)
1
2
3
4
5
6
7
8
9
|
//Example 13_5
clc();
clear;
//To find the speed of the wave
l=300*10^-2 //Units in Meters
lamda3=(l*2)/3 //Units in meters
f=20 //Units in sec^-1 or Hz
v=f*lamda3 //Units in meters/sec
printf("The speed of the wave is v=%d meters/sec",v)
|