Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Help with python coding about astronomy, file can be found online on github. An RTG is basically a fist-sized slug of Pu-238 wrapped in a
Help with python coding about astronomy, file can be found online on github.
An RTG is basically a fist-sized slug of Pu-238 wrapped in a material that generates electric power when heated. Since the RTG is powered by a radioisotope, the output power decreases over time as the radioisotope decays. Read in the datafile The data file /Data/Apollo_RTG.csv contains the power output of the Apollo 12 RTG as a function of time. The data colunms are [Day]- Days on the Moon [Power]-RTG power output in Watts In [e]: Plot the Data Day vs. Power Use the OO interface to matplotlib Fit the function with a polynomial (degree> 3) Plot the fit with the data Output size w.11in, h:8.5in Make the plot look nice (including clear labels) In [e]: Power over time All of your answer should be formatted as sentences For example: The power on day is VALUE Watts 1 - What was the power output on Day 0? In [e]: 2 - How many years after landing could you still power a 60 W lightbulb? In [e]: 3 - How many years after landing could you still power a 5 W USB device? In [ej: 4 - How many years after landing until the power output is 0 W? In [0]: Fitting data to a function The datafile . /Data/linedata.csv contains two columns of data Use the OO interface to matplotib Plot the data (with labels) Fit the function below to the data Find the values (A,C,W) that best fit the data Output size w.11in, h.8.5in Make the plot look nice (including clear labels) Fit a gaussian of the form (x - C) ,f(x) = Ae A amplitude of the gaussian Cx-value of the central peak of the gaussian W = Width of the gaussian In [ej: In [e]: An RTG is basically a fist-sized slug of Pu-238 wrapped in a material that generates electric power when heated. Since the RTG is powered by a radioisotope, the output power decreases over time as the radioisotope decays. Read in the datafile The data file /Data/Apollo_RTG.csv contains the power output of the Apollo 12 RTG as a function of time. The data colunms are [Day]- Days on the Moon [Power]-RTG power output in Watts In [e]: Plot the Data Day vs. Power Use the OO interface to matplotlib Fit the function with a polynomial (degree> 3) Plot the fit with the data Output size w.11in, h:8.5in Make the plot look nice (including clear labels) In [e]: Power over time All of your answer should be formatted as sentences For example: The power on day is VALUE Watts 1 - What was the power output on Day 0? In [e]: 2 - How many years after landing could you still power a 60 W lightbulb? In [e]: 3 - How many years after landing could you still power a 5 W USB device? In [ej: 4 - How many years after landing until the power output is 0 W? In [0]: Fitting data to a function The datafile . /Data/linedata.csv contains two columns of data Use the OO interface to matplotib Plot the data (with labels) Fit the function below to the data Find the values (A,C,W) that best fit the data Output size w.11in, h.8.5in Make the plot look nice (including clear labels) Fit a gaussian of the form (x - C) ,f(x) = Ae A amplitude of the gaussian Cx-value of the central peak of the gaussian W = Width of the gaussian In [ej: In [e]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