Question: 12. Write a script lumin that will calculate and print the luminosity L of a star in Watts. ty L is given by 4 b

 12. Write a script lumin that will calculate and print the

12. Write a script lumin that will calculate and print the luminosity L of a star in Watts. ty L is given by 4 b where d is the distance from the sun in The meters and b is the brightness in Watts/meters2. Here is an example of executing the script: lumin This script will calculate the luminosity of a star. When prompted, enter the star's distance from the sun in meters, and its brightness in W/meters squared. Enter the distance: 1.26e12 Enter the brightness: 2e-17 The luminosity of this star is 399007399.75 watts

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!