From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1991/CH3/EX3.5/5.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 1991/CH3/EX3.5/5.sce (limited to '1991/CH3/EX3.5/5.sce') diff --git a/1991/CH3/EX3.5/5.sce b/1991/CH3/EX3.5/5.sce new file mode 100755 index 000000000..03d668708 --- /dev/null +++ b/1991/CH3/EX3.5/5.sce @@ -0,0 +1,16 @@ +clc +clear +//input data +amp=3.4*10^-5 //amplitude of the wave +af=5.7*10^2 //angular frequency +k=20 //wavenumber +//calculation +//wave frequency +f=af/(2*%pi) +l=(2*%pi)/k +v=f*l +printf("the wave frequency is %3.3f and the speed is %3.3f m/s",f,v) +//calculating greatest speed for the wave to pass through +vmax=af*amp //greatest speed +//output +printf("\nthe greatest value of speed for the wave to pass through is %3.3f m/s",vmax) -- cgit