Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Table 1 shows the orbital period T ( the independent variable ) and semi - major axis a ( the deper,dent variable ) for som
Table shows the orbital period the independent variable and semimajor axis the deper,dent variable for som from the Kepler mission. Let's say that we want to calculate for every period in the table. When making repetitive ca make use of arrays as outlined above.
PL Q Define an array for the orbital period and fill it with your data by completing the code below. Each data separated by a comma. Don't forget to run the cell when you are finished.
nparrayperiod "period "period dotsdots
Now, we will define a new array Tsquared and populate it with values. Recall from PreLab that to designate an the "double asterisk" operator NOT the operaor
Tsquared
printsquared
PL Q Repeat the steps above to create a separate array for the semimajor axis data in the code below. Use your calculate for each data point.
array axis "axis "axis
acubed "Write equation here"
print acubed
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