Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started