blob: c9331ee032ce83e0ffcad137b4421dab1a1741aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clc();
clear;
//Given :
sm_min = 11*10^-12;// Minimum displacement amplitude in m
sm_max = 11*10^-6;// Maximum displacement amplitude in m
v = 343;// speed of sound in m/s
f = 1000; // frequency in Hz
rho_0 = 1.21; // density of air in kg/m^3
// Sound intensity = (rho_0*v*omega^2*sm^2)/2
//omega = 2*pi*f
I_max = (rho_0*v*((2*%pi*f)^2)*(sm_max^2))/2; // Maximum Intensity
I_min = (rho_0*v*((2*%pi*f)^2)*(sm_min^2))/2; // Minimum Intensity
Ratio = I_max/I_min ;
printf("I_max/I_min = %.1f x 10^12 ", Ratio*10^-12);
|