summaryrefslogtreecommitdiff
path: root/3648/CH14/EX14.3/Ex14_3.sce
blob: a5f6c51dd796b4914aa0dde71986c3d83f05478a (plain)
1
2
3
4
5
6
7
8
9
10
//Example 14_3
clc();
clear;
//To find the intensity of sound
level=3.5 //Units in dB
i2=10^-12  //Units in W/meter^2
i=10^(level+log10(i2))   //Units in W/meter^2
printf("The intensity of sound is I=")
disp(i)
printf("W/meter^2")