Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

- Data Manipulation Planet name Period (Earth days) Semi-major axis (AU) KEPLER-10 b 0.837 1.856 0.017 0.029 KEPLER-41 b KEPLER-1 b 2.471 0.03 KEPLER-8 b

image text in transcribed

image text in transcribed

image text in transcribed

- Data Manipulation Planet name Period (Earth days) Semi-major axis (AU) KEPLER-10 b 0.837 1.856 0.017 0.029 KEPLER-41 b KEPLER-1 b 2.471 0.03 KEPLER-8 b 3.522 0.047 KEPLER-48 b 4.778 0.053 KEPLER-25 b 6.239 0.07 KEPLER-18 c 7.642 0.075 KEPLER-11 b 10.304 0.092 KEPLER-29c 13.29 0.107 KEPLER-18 d 14.859 0.116 KEPLER-36c 16.231 0.129 KEPLER-9b 19.274 0.143 KEPLER-39 b 21.087 0.15 KEPLER-11 d 22.687 0.156 KEPLER-30 b 29.164 0.184 KEPLER-11 e 31.996 0.196 KEPLER-9c 38.907 0.229 KEPLER-11f 46.687 0.252 KEPLER-30 C 60.323 0.298 KEPLER-11 g 118.364 0.469 KEPLER-30 d 143.213 0.53 Table 1 - Orbital characteristics for some of the confirmed exoplanets from the Kepler mission. Table 1 shows the orbital period T and semi-major axis a for some confirmed exoplanets from the Kepler mission. Let's say that we want to calculate T2 for every period in the table. When making repetitive calculations, you can make use of arrays as outlined above. Q10: (a): Define an array T for the orbital period and fill it with your data by completing the code below. Each data point should be separated by a comma. Don't forget to run the cell when you are finished. Remember, you must enter the data as floats. U T = np.array([ "period 1", "period 2", "period 3", "..."]) print(T) (b): Now, we will define a new array T_squared and populate it with T2 values. Remember, to designate an exponent you must use the "double asterisk" operator **, NOT the ~ operator. T_squared = "write equation here" print(T_squared) (c): Repeat steps (a) and (b) to finish the code below and create a separate array for the semi-major axis data. Use your array to calculate a for each data point. Remember, to designate an exponent you must use the "double asterisk" operator ** , NOT the operator. [] a = np.array([ "axis 1", "axis 2", "axis 3", "..."]). a_cubed "write equation here" = print(a_cubed)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago