answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Alborosie
3 months ago
13

Compute the approximate acceleration of gravity for an object above the earth's surface, assigning accel gravity with the result

. The expression for the acceleration of gravity is: (G * M) / (d 2), where G is the gravitational constant 6.673 x10-11, M is the mass of the earth 5.98 x 1024 (in kg), and d is the distance in meters from the Earth's center (stored in variable dist center).
Sample output with input: 6.3782e6 (100 m above the Earth's surface at the equator) Acceleration of gravity: 9.81
Computers and Technology
1 answer:
maria [1K]3 months ago
8 0

Response:

Written in Python

G = 6.673 *pow(10,-11)

M = 5.98 *pow(10,24)

d = float(input("Enter distance: "))

g = (G * M)/(pow(d,2))

print("Calculated gravity acceleration: "+str(g))

Explanation:

The following line sets the gravitational constant

G = 6.673 *pow(10,-11)

This line establishes the mass of the Earth

M = 5.98 *pow(10,24)

This prompts the user to input the object's distance

d = float(input("Enter distance: "))

This calculates the gravity exerted on the object

g = (G * M)/(pow(d,2))

This line outputs the gravity acceleration without rounding

print("Calculated gravity acceleration: "+str(g))

You might be interested in
In 2007, this wireless security algorithm was rendered useless by capturing packets and discovering the passkey in a matter of s
8_murik_8 [964]

Answer:

The appropriate answer to the question is option A, Wired Equivalent Privacy (WEP).

Explanation:

WEP (Wired Equivalent Privacy) is the security protocol detailed in the IEEE Wi-Fi (Wireless Fidelity) standard 802.11b, which aims to offer a Wireless Local Area Network (WLAN) with adequate security and privacy.

Wardriving refers to the practice in which individuals search for Wi-Fi (Wireless Fidelity) networks while traveling in a vehicle using devices like PDAs (Personal Digital Assistants), smartphones, or portable computers.

7 0
2 months ago
Read 2 more answers
Why is computer called versatile machine?
8_murik_8 [964]
The computer is referred to as a versatile machine because of its incredible speed across various domains, making it hard to envision modern life without it.
7 0
2 months ago
On January 1, 1980, Moises deposited $1850 into a savings account paying 5.6% interest, compounded quarterly. If he hasn't made
Natasha_Volkova [1026]
According to the rule of 72, dividing 72 by the interest rate gives the time needed to double your investment. With an interest rate of 5.6%, we calculate 72/5.6 = 12.86 years. Thus, to increase the amount from $1850 to $3700, it would take approximately 12.86 years, suggesting that by late 1992 the balance would reach $3700.
8 0
1 month ago
Read 2 more answers
The Online Shopping system facilitates the customer to view the products, inquire about the product details, and product availab
amid [951]
Refer to the explanation provided. In the online shopping software system, five actors can be identified: A Customer can perform actions such as exploring products and seeking product information. The interface allows for the creation of customer accounts facilitating purchases. Additionally, customers can browse items by using search categories or keywords, and they are able to order and make payments for their selected products. The payment system accepts two primary methods: credit card and PayPal. A Seller can list products in appropriate categories and create accounts to gain membership. An Administrator manages product listings and can modify existing categories or introduce new ones. Finally, the Site Manager has the capability to view different reports regarding customer orders, seller-added products, and user-created accounts.
3 0
2 months ago
Other questions:
  • What are the differences between a policy, a standard, and a practice? What are the three types of security policies? Where woul
    15·1 answer
  • array of String objects, words, has been properly declared and initialized. Each element of words contains a String consisting o
    11·1 answer
  • U.S. industries like steel, computers, and energy need to be protected from foreign competition to ensure which of the following
    6·2 answers
  • Recall that with the CSMA/CD protocol, the adapter waits K. 512 bit times after a collision, where K is drawn randomly. a. For f
    5·1 answer
  • The table is an excerpt from an interviewer’s notes about three applicants applying to the IT department.                
    15·1 answer
  • Henry, a graphic artist, wants to create posters. Which software should Henry use for this purpose?
    13·1 answer
  • The engineering firm you work for is submitting a proposal to create an amphitheater at a state park. Proposals must be submitte
    15·1 answer
  • Write lines of verse that rhyme to remember the following information:
    16·2 answers
  • Which of the following is true of how packets are sent through the internet?
    10·2 answers
  • Write the execution steps if the input is a lion.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!