Page 117 - Computer Genius Class 07
P. 117

Example: Using force to push or pull a door.
                 The SI power unit of Force is Newton(N).

                 Laws of Motion

                 To scientifically e plain ho  things mo e  a scientist  named  saac  e ton  de eloped three  a s o
                 Motion.

                 l   First Law of Motion
                   According to the first law, an object will remain at

                   rest or in uniform motion in a straight line unless
                   force  is applied on  an  object  to  change  its state.
                   That implies that the ball will continue to be at rest
                   until an external force is applied to push it.


                 l   Second Law of Motion

                   According to the second law, the acceleration of an
                   object  depends  on  the  mass  of  the  object  and  the
                   amount of force applied.

                    In fact, the formula

                        Force = mass x acceleration

                    or   F=ma
                   states that force is equal to mass times acceleration. This also implies that a ball will travel farther

                   the harder you kick it.
                 l   Third Law of Motion

                   According to the third law, every action has an equal and
                   opposite reaction. This implies that there are always two
                   identical forces acting on one another. In the case when
                   you kick the ball, the force that your foot exerts on it is
                   equal to the force that the ball exerts on your foot. This
                   force is acting completely in the opposite manner.

                 Program to Calculate the Force

                 To create an AI Connect program to calculate the force, create a project. In this project create a

                 Basic Coding activity. Then follow the given steps:
                 Here, we take an example of a car of mass 1500 Kg that accelerates at 2 m/s.

                 Step 1   Declare two variables mass and acceleration to store the value of mass and acceleration
                          respectively of the car.





                                                                              Exploring Science with Coding-2   115
   112   113   114   115   116   117   118   119   120   121   122