Write a computer program to model the motion of a spacecraft of mass 150000 kg that is launched from a location 10 Earth radii from the center of the Earth. Start with a At=60 s and initial speed= 2000 m/s in a direction perpendicular to the line between the spacecraft and Earth. Create a sphere representing the spacecraft. Consider the radius=0.1*Earth radius (although it is much smaller, we would not see it if we chose any smaller value) and make sure to leave a trail. Create a sphere representing Earth, set it at the origin. Initiate a while loop with rate (1000). Calculate F, ,|F1, F and update the force, momenta, and the positions Note: Earth (Mass= 6e24, Radius= 6.4e6), G= 6.67e-11 in SI

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
please answer within 30 minutes.
i need this in vPython code web
vPython vPython
vPython
Write a computer program to model the motion of a spacecraft of mass 150000 kg that is launched
from a location 10 Earth radii from the center of the Earth. Start with a At=60 s and initial speed=
2000 m/s in a direction perpendicular to the line between the spacecraft and Earth.
Create a phere representing the spacecraft. Consider the radius=0.1* Earth radius (although it is
much smaller, we would not see it if we chose any smaller value) and make sure to leave a trail. Create
the origin.
a sphere representing Earth, set it a
Initiate a while loop with rate (1000).
Calculate 7, +, F1, F and update the force, momenta, and the positions
Note: Earth (Mass= 6e24, Radius= 6.4e6), G= 6.67e-11 in SI
Transcribed Image Text:i need this in vPython code web vPython vPython vPython Write a computer program to model the motion of a spacecraft of mass 150000 kg that is launched from a location 10 Earth radii from the center of the Earth. Start with a At=60 s and initial speed= 2000 m/s in a direction perpendicular to the line between the spacecraft and Earth. Create a phere representing the spacecraft. Consider the radius=0.1* Earth radius (although it is much smaller, we would not see it if we chose any smaller value) and make sure to leave a trail. Create the origin. a sphere representing Earth, set it a Initiate a while loop with rate (1000). Calculate 7, +, F1, F and update the force, momenta, and the positions Note: Earth (Mass= 6e24, Radius= 6.4e6), G= 6.67e-11 in SI
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education