blob: c111a7184ed60ebc6de9173599cfdddd339d6683 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//To Find the Intensity of Wave discussed in example 40.3
//Example 40.4
clear;
clc;
Uav=1.1*10^-8;//Average Energy Density in J/m^3
c=3*10^8;//Speed of Light in m/s
I=Uav*c;//Intensity of the Wave in W/m^2
printf("Intensity of the wave = %.1f W/m^2",I);
|