blob: 00477719f03f5e5f4c9ecc8487e1be4d957ccbb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clc
//
//
//
//Variable declaration
R=1.5*10**11 //Average distance between sun & Earth
P=3.8*10**26 //Power Radiated by sun
//Calculations
S=((P*60)/(4*3.14*(R**2)*4.2*100))*10**-2
//Result
printf("\n The Average solar energy incident on earth is %1.2f cal/cm**2/min",S)
|