Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Mailings Rev Ai 2.) Heat is radiated from the sun and all planets orbiting the s

ID: 3870275 • Letter: M

Question

Mailings Rev Ai 2.) Heat is radiated from the sun and all planets orbiting the sun. The heat that's radiated can be calculated by using the following formula: E is the energy radiated per second in units of watts per meter squared (watts/m2). e is the emissivity of the substance, which is 1 for the sun and all the planets. is the constant (-000000056697-5.6697e-8). T is the surface temperature in degrees Celsius. For example, the heat radiated from the sun, which has an emissivity of 1 and a surface tem- perature of approximately 6000 C, is as follows: E-(1) × (.000000056697) (6000)4 watts/m2 73,479,300 watts/m2 Using the formula, write a C++ program that accepts a planet's temperature and provides the heat generated from the planet as its output. Your program should assign the value 5.6697e-8 to a symbolic constant named SIGMA. After determining that your program is working correctly (make sure it produces the correct radiation for the sun), run it compute the heat generated from Mercury, Venus, and earth with em ssivity of 1, and surface temperatures of 270°C, 462°C and 14 C respectively. See sample runs below: Enter the surtace tenpersture ('e): e Enter the surface temperature ("C): 270 Heat Radiated 301-333 Enter the surface temperature ("c): 14 Heat Radiated 0.00217897 Heat Radiated 7.34792++97 Enter the surface temperature (c): 462 Heat Radiated 2583.02 MacBook Air 44 FT 000 F4 FS F6

Explanation / Answer

#include<iostream>
using namespace std;

int main()
{
int e = 1; //emissivity of the substance
double sigma = 5.6697e-08; //constant given
float T; //temperature of surface in degree celsius
double E; //energy radiate per secondin units of watt/m^2
cout<<"Enter the surface temperature (in degree celsius): ";
cin>>T;
E = e*sigma*(T*T*T*T);
cout<<endl;
cout<<"Heat radiated = "<<E;
return 1;
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote