blob: 0af8b179b72f7c4232e34f9c5a719b1a15aa428e (
plain)
1
2
3
4
5
6
7
8
9
|
//Variable declaration:
syms l //Wavelength (mu.m)
I = 40*exp(-l**2) //Intensity of radiation (Btu/h.ft^2.mu.m)
//Calculation:
E = eval(integrate(I, l,0,%inf)) //Total emissive power (Btu/h.ft^2)
//Result:
printf("The total emissive power is : %.1f Btu/h.ft^2.",E)
|