1answer.
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
Olin [163]
4 years 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:
aleksandrvk [35]4 years ago
8 0

Answer:

Written in Python

G = 6.673 *pow(10,-11)

M = 5.98 *pow(10,24)

d = float(input("Distance: "))

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

print("Acceleration of gravity: "+str(g))

Explanation:

This line initializes the gravititational constant

G = 6.673 *pow(10,-11)

This line initializes the mass of the earth

M = 5.98 *pow(10,24)

This line prompts user for object distance

d = float(input("Distance: "))

This line calculates the object's gravity

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

This line prints the calculated gravity without approximating

print("Acceleration of gravity: "+str(g))

You might be interested in
What is output when the CarTest application is run? Why?
erik [133]

Answer:

red

Explanation:

public class CarTest {

public static void main(String[] argvs) {

//below line will create an object of CarTest class Object

CarTest carTest = new CarTest();

//This will call runDemo method

carTest.runDemo();

}

public void runDemo() {

//Below line will create an object of Car class  with color blue and 4 wheel

Car c = new Car("blue", 4);

//Bellow Line will change the color from blue to red, see the logic writteen in chnageColor method definition

changeColor(c, "red");

//Below line will print the color as red

System.out.println(c.getColor());

}

public void changeColor(Car car, String newColor) {

//This line will set the color as passed color in the car object

car.setColor(newColor);

}

}

5 0
4 years ago
What is the purpose of a mail merge field.
coldgirl [10]

adding merge fields is a way to personalize a document with information from the data source. The merge fields come from the column headings in the data source.

:)

3 0
3 years ago
Fitbit is an example of....
strojnjashka [21]

Answer:

a monitor of ur heartbeat sleep breathing

Explanation:

3 0
4 years ago
Read 2 more answers
Two girls were born to the same mother, on the same day, at the same time, in the same month and the same year and yet they're n
Degger [83]

Answer:

They are not twins but triplets or quadruplets.  

Explanation:

3 0
3 years ago
The ability for a protocol or program to determine that something went wrong is known as_________.
777dan777 [17]

Answer:

The correct answer to the following question will be Error-detection.

Explanation:

Error-detection: The detection of errors caused during the transmission from the transmitter to the receiver by damage and other noises, known as Error-detection. This error-detection has the ability to resolute if something went wrong and if any error occurs in the program.

There are mainly three types of error-detection, these types can be followed:

  • Automatic Repeat Request (ARQ)
  • Forward Error Correction
  • Hybrid Schemes

There are two methods for error-detection, such as:

  • Single parity check
  • Two-dimensional parity check

4 0
3 years ago
Other questions:
  • What is the slide sorter view used for?
    11·1 answer
  • Define function print_popcorn_time() with parameter bag_ounces. If bag_ounces is less than 3, print "Too small". If greater than
    15·1 answer
  • What is systems integration?
    12·1 answer
  • Clunker Motors Inc. is recalling all vehicles from model years 2001-2006. Given a variable modelYear write a statement that prin
    8·1 answer
  • What are three advantages of using social media to create awareness of your business?
    6·1 answer
  • The metric unit used for length
    5·1 answer
  • Which option is used in Access to locate and retrieve data that may be present in multiple database tables within the database?
    8·1 answer
  • Name the major types of computer systems from slowest to fastest. ​
    9·1 answer
  • To input lenth in meter and convert in to centimeter​
    6·1 answer
  • Match each item with a statement below.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!