0 Up votes0 Down votes

0 views6 pagesintroduction to gravitational force and calculates the gravitation force between two objects once you provide mass of two objects and distance between these two objects.

Apr 09, 2019

© © All Rights Reserved

introduction to gravitational force and calculates the gravitation force between two objects once you provide mass of two objects and distance between these two objects.

© All Rights Reserved

0 views

introduction to gravitational force and calculates the gravitation force between two objects once you provide mass of two objects and distance between these two objects.

© All Rights Reserved

- Neuromancer
- The E-Myth Revisited: Why Most Small Businesses Don't Work and
- How Not to Be Wrong: The Power of Mathematical Thinking
- Drive: The Surprising Truth About What Motivates Us
- Chaos: Making a New Science
- The Joy of x: A Guided Tour of Math, from One to Infinity
- How to Read a Person Like a Book
- Moonwalking with Einstein: The Art and Science of Remembering Everything
- The Wright Brothers
- The Other Einstein: A Novel
- The 6th Extinction
- The Housekeeper and the Professor: A Novel
- The Power of Discipline: 7 Ways it Can Change Your Life
- The 10X Rule: The Only Difference Between Success and Failure
- A Short History of Nearly Everything
- The Kiss Quotient: A Novel
- The End of Average: How We Succeed in a World That Values Sameness
- Made to Stick: Why Some Ideas Survive and Others Die
- Algorithms to Live By: The Computer Science of Human Decisions
- The Universe in a Nutshell

You are on page 1of 6

Project Report on

Gravitational Force Calculator using c++

examination +2 Non-Medical conducted

by

Introduction

Every object in the universe attracts every other object with a force which is

proportional to the product of their masses and inversely proportional to the

square of the distance between them. The force is along the line joining the

centres of two objects.

Fig.1

Let two objects A and B of masses M and m lie at a distance d from each other as

shown in Fig. 1.. Let the force of attraction between two objects be F. According to the

universal law of gravitation, the force between two objects is directly proportional to

the product of their masses. That is,

F M*m ----------

(1)

And the force between two objects is inversely proportional to the square of the

distance between them, that is,

F α 1 ⁄ d2 ---------- (2)

F α M x m ⁄ d2 ---------- (3)

constant. By multiplying crosswise, Eq. (4) gives

F×d 2

=GM×m

or G = F d 2/ M m ---------- (5)

The SI unit of G can be obtained by substituting the units of force, distance and mass in

Eq. (5) as N m2 kg–2.

The value of G was found out by Henry Cavendish (1731 – 1810) by using a sensitive

balance. The accepted value of

We know that there exists a force of attraction between any two objects. Compute the

value of this force between you and your

friend sitting closeby. Conclude how you do not experience this force!

The universal law of gravitation successfully explained several phenomena which were

believed to be unconnected:

2. the motion of the moon around the earth;

3. the motion of planets around the Sun; and

4. the tides due to the moon and the Sun.

Program / Source Code

#include <iostream.h>

#include <conio.h>

#define G 6.67E-11

class GFCalculator

{

private:

float m1,m2;

float r,f;

//m1,m2 mass of two objects in kg

//r is distance betwween two objects

//f is force of attraction between two objects in

public:

GFCalculator()

{ m1=0;m2=0;}

void readmass()

{

cout<<"Enter mass of first object in Kg : ";cin>>m1;

cout<<"Enter mass of second object in Kg : ";cin>>m2;

}

void readdistance()

{

cout<<"Enter distance between two objects in meter :

";cin>>r;

}

void calc_and_disp_info()

{

f=G*m1*m2/(r*r);

cout<<endl<<endl<<endl;

cout<<"Gravitatinal Constant : "<<G<<" cubic

meter/kg/sec square"<<endl;

cout<<"M1 : "<<m1<<" Kg"<<endl;

cout<<"M2 : "<<m2<<" Kg"<<endl;

cout<<"Distance : "<<r<<" meter"<<endl;

cout<<"Gravitational force : "<<f<<" Newton";

}

};

void main()

{

GFCalculator GF;

clrscr();

GF.readmass();

GF.readdistance();

GF.calc_and_disp_info();

getch();

}

Output

- E-Book,Mechanics Part Three,Kinetics,mechanics revision notes from A-level Maths TutorUploaded byA-level Maths Tutor
- 5054_s17_qp_11Uploaded byWaleed Bin Ahmad
- Determining Coefficient of FrictionUploaded byjahajaha_svensson609
- 6091_2018 O Level Phy First Exam 2018Uploaded byraist_ang
- DYNAMIC TUTORIALUploaded byMahfuzah Mustapha
- Newton on Mass and Force - DellienUploaded byemschmidt
- Universal Gravitation Math Practice.pdfUploaded byRaida Lomondot
- Statics and DynamicsUploaded byWinston Reece
- ch1_introUploaded bykvinothscet
- Study of the Analysis Methods of Wave-Passage Effect Based on ABAQUSUploaded byAmin Kotb
- 3.6- Forces Movement Shape and Momentum 2p - Edexcel Igcse Physics QpUploaded bybasma
- B Edexcel Mechanics-1 6677 Solomen PapersUploaded byKaushal
- physics 20 dynamics forces unit planUploaded byapi-257672273
- PY011 0408 eqpUploaded byVeiliLook
- 15. Torque and Drag Calculations.pptUploaded byjhonathan garcia
- Physics Chapters 5 Homework.docUploaded byRuža Kukić
- IC_Sol_W02D2-2 (1)Uploaded byBerke
- Assignment 3.pdfUploaded byAhmed Attalla
- 1 Newtonian MechanicsUploaded byKevin Gonzalez
- Forces , Newton's LawsUploaded byDoctora Nourhan
- Hewitt9thwkbk04b.docUploaded byLove Bordamonte
- Advanced Pattern Part Test-4 PhysicsUploaded byAAVANI
- Paper3Uploaded byNauman Qureshy
- Gravitation PhyUploaded byFaiza Farheen
- Astronomy chap 1Uploaded byalmujhool
- ENGR2301Uploaded byAnonymous TW2wqBz
- Newtonian Mechanics.docxUploaded byNudrat
- KB 04 92 & MB 04 92 Final in Spection Report Fac Alauddin Buyer KatagUploaded byAshraf Ali
- ES 11 Problem Set 1 (1)Uploaded bygoogley71
- Forces and Their EffectsUploaded byrl228

- (Www.entrance-exam.net)-Anna University 5th Semester ECE Sample Paper 1Uploaded byBala Subramani
- HANDOUT Digital Photography Intro & OverviewUploaded byAmonAshley Imagery
- EEE 3 Lecture 1 - Basic Electrical Quantities.pdfUploaded byGerard Boy Avestruz Regino
- Profile ProjectorUploaded byrummanomar
- The Hyper Drive Further ExplainedUploaded bypaultrr2000
- em wave generationUploaded byrksinha25
- Olympus 2012 BrochureUploaded bywebber_denz
- ediwow.rtfUploaded byPrincess Bumatay Arasola
- Emt Ff June2014Uploaded bysrinureddy2014
- APhO 2016 E1 QuestionUploaded byIoannis Garoufalidis
- Problemas de electromagnetismoUploaded byErasmo Islas
- HandoutsUploaded byアランロイ アルマリオ
- hologram engineering projector drawingsUploaded byapi-422951686
- Near Infrared Raman SpectroscopyUploaded byTiya Novlita
- free fallUploaded byLeerzejPunto
- polarisationUploaded bySouravSingh
- Power Blast LEDUploaded bysrinaldy
- Yuling Niu Measurement DevelopmentUploaded byravichandra h d
- IlluminationUploaded byChankey Pathak
- Plasmons in Strongly Coupled Metallic NanostructureszbdvvUploaded byJösë Älëjö Vërä
- Lx400 ManualUploaded byDiana Miranda
- TAYL05-144-167.IUploaded byorion20
- Photo Luminescence SpectroscopyUploaded byFaazi'z Pari
- As Electric Fields 2016Uploaded byLawrenceOnthuga
- IEEE Metamaterials presentation-2.pptUploaded byYaadeshkumaar
- PhD Dissertation CJollivetUploaded byPawan Kumar
- Fresnel EquationsUploaded byOmisakin Adedayo
- ondas gravitacionales.pdfUploaded byAnonymous OokJ7Vwtr
- Observation Method and Observation ResultsUploaded bySouleater Maka
- Optical Complex Spectrum Analyzer AP244XB - APEX TechnologiesUploaded byAPEX Technologies

## Much more than documents.

Discover everything Scribd has to offer, including books and audiobooks from major publishers.

Cancel anytime.