SarthakKeshari / calc_for_everything

This repository aims to provide Calculators for educational, professional, scientific, health and well-being and other purposes.
https://calc-for-everything-psi.vercel.app
MIT License
113 stars 103 forks source link

The Planetary Gravitational Calculator is used to calculate gravitational interactions between celestial bodies such as planets, moons, the sun, etc. #555

Closed wuyu-wy closed 10 months ago

wuyu-wy commented 10 months ago

Issue Id you have worked upon -

Issue:#551

Briefly explain your program logic -

The Planetary Gravitational Calculator is used to calculate gravitational interactions between celestial bodies such as planets, moons, the sun, etc.

This law can be expressed by the following formula: F=G(m1⋅m2)/(r*r). F denotes the magnitude of the gravitational force. m1 and m2 is the mass of two objects. r is the distance between two objects.

You just need to enter the mass of the two objects (kg) and the distance (m) between them,Not the size of the gravitational force.

Screenshots(Attach 2 screenshots of your own input and output) -

image

By raising this PR I affirm that -