Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need help with python coding First Last - Units in Python Use the Astropy units and constants packages to solve the following problems Do not

Need help with python coding

image text in transcribed

image text in transcribedimage text in transcribedimage text in transcribed

First Last - Units in Python Use the Astropy units and constants packages to solve the following problems Do not hardcode any constants Unless asked, your units should be in the simplest Sl units possible Your answers should be as sentences. For example: The range would be 123 km In [e]: import numpy as np from astropy import units as u from astropy import constants as const from astropy.units import imperial imperial.enable) The range of a projectile launched with a velocity (v) at and angle (e) is R = vg sin(20 Problem 1- Find R for v 123 mph and 1000 arc minutes In [e]: Problem 2- How fast do you have to throw a football at 33.3 degrees so that is goes exactly 100 yards? Express your answer in mph In [e]: Kepler's third law can be expressed as: GM Where T is the orbial period of an object at distance (r) from the center of an object of mass (M) And the velocity of an object in orbit is No Problem 3 - Calculate the orbital period of International Space Station (ISS). ISS orbits 254 miles above the surface of the Earth Expess your answer in minutes (make sure your answer makes sensel). In [e]: Problem 4- Calculate the velocity of ISS. Expess your answer in km/s and mph. In [0]: In [e]: Problem 5 - The Procliamer's song 500 miles has a duration of 3 minutes and 33 seconds. Calculate at what altitude, above the Earth's surface, you would have to orbit to go 1000 miles in this time. Express your answer in units of the alititude of the ISS above Earth's surface. In [e]: The Power being received by a solar panel in space can be expressed as: 4nd2 Where is the power per unit area at a distance (d) from the Sun, and is the efficiency of the solar panel The solar panels that power spacecraft have an efficiency of about 40%, Problem 6-The New Horizons spacecraft requires 220 Watts of power Calculate the area of a solar panel that would be needed to power New Horizons at a distance of 1 AU from the Sun. n [e]: Problem 7- Express your answer in units of the area of a piece of US letter sized paper (8.5 inx 11 in). n [e]: Problem 8- Same question as above but now a d 30 AU Express you answer in US letter sized paper n [e]: Problem 9- The main part of the Oort cloud is thought to be at a distance of about 10,000 AU Calculate the size of the solar panel New Horizons would need to operate in the Oort cloud. Express your answer in units of the area of an American football ield (120 ydx53.3 yd) n [e]: Problem 10 - Calculate the maximum distance from the Sun where a solar panel of 1 football field can power the New Horizons spacecraft. Express your answer in AU. n [0]: Problem 10 - Calculate the maximum distance from the Sun where a solar panel of 1 football field can power the New Horizons spacecraft. Express your answer in AU. In [ej: Luminosity An accretion disk that rotates around a black hole has a total luminosity that can be approximated as: GMhhM disk 2r 1n Wherer rate. in is the distance from the center of the black hole to the inner edge of the accretion disk, and M is the mass accretion Problem 11. Calculate the mass accretion rate (M) of an accretion disk around a 10% solar mass balck hole with a luminosity of 5.7 x 10 Watts, and ar in of 4.56 million miles. Express your answer in solar masses per year In [e]: Earth? The self gravitational potential energy of the Earth is: 5 R This is the amount of energy you need to give the Earth to move all of its components pieces infinitely far away (i.e. to destroy itl) Problem 12- Calculate how massive an object you whould have to hit the Earth with at 45,000 mph to destroy the Earth. Express your answer in Earth masses. In [e]: First Last - Units in Python Use the Astropy units and constants packages to solve the following problems Do not hardcode any constants Unless asked, your units should be in the simplest Sl units possible Your answers should be as sentences. For example: The range would be 123 km In [e]: import numpy as np from astropy import units as u from astropy import constants as const from astropy.units import imperial imperial.enable) The range of a projectile launched with a velocity (v) at and angle (e) is R = vg sin(20 Problem 1- Find R for v 123 mph and 1000 arc minutes In [e]: Problem 2- How fast do you have to throw a football at 33.3 degrees so that is goes exactly 100 yards? Express your answer in mph In [e]: Kepler's third law can be expressed as: GM Where T is the orbial period of an object at distance (r) from the center of an object of mass (M) And the velocity of an object in orbit is No Problem 3 - Calculate the orbital period of International Space Station (ISS). ISS orbits 254 miles above the surface of the Earth Expess your answer in minutes (make sure your answer makes sensel). In [e]: Problem 4- Calculate the velocity of ISS. Expess your answer in km/s and mph. In [0]: In [e]: Problem 5 - The Procliamer's song 500 miles has a duration of 3 minutes and 33 seconds. Calculate at what altitude, above the Earth's surface, you would have to orbit to go 1000 miles in this time. Express your answer in units of the alititude of the ISS above Earth's surface. In [e]: The Power being received by a solar panel in space can be expressed as: 4nd2 Where is the power per unit area at a distance (d) from the Sun, and is the efficiency of the solar panel The solar panels that power spacecraft have an efficiency of about 40%, Problem 6-The New Horizons spacecraft requires 220 Watts of power Calculate the area of a solar panel that would be needed to power New Horizons at a distance of 1 AU from the Sun. n [e]: Problem 7- Express your answer in units of the area of a piece of US letter sized paper (8.5 inx 11 in). n [e]: Problem 8- Same question as above but now a d 30 AU Express you answer in US letter sized paper n [e]: Problem 9- The main part of the Oort cloud is thought to be at a distance of about 10,000 AU Calculate the size of the solar panel New Horizons would need to operate in the Oort cloud. Express your answer in units of the area of an American football ield (120 ydx53.3 yd) n [e]: Problem 10 - Calculate the maximum distance from the Sun where a solar panel of 1 football field can power the New Horizons spacecraft. Express your answer in AU. n [0]: Problem 10 - Calculate the maximum distance from the Sun where a solar panel of 1 football field can power the New Horizons spacecraft. Express your answer in AU. In [ej: Luminosity An accretion disk that rotates around a black hole has a total luminosity that can be approximated as: GMhhM disk 2r 1n Wherer rate. in is the distance from the center of the black hole to the inner edge of the accretion disk, and M is the mass accretion Problem 11. Calculate the mass accretion rate (M) of an accretion disk around a 10% solar mass balck hole with a luminosity of 5.7 x 10 Watts, and ar in of 4.56 million miles. Express your answer in solar masses per year In [e]: Earth? The self gravitational potential energy of the Earth is: 5 R This is the amount of energy you need to give the Earth to move all of its components pieces infinitely far away (i.e. to destroy itl) Problem 12- Calculate how massive an object you whould have to hit the Earth with at 45,000 mph to destroy the Earth. Express your answer in Earth masses. In [e]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions