Posts

Polymorphism:- STATIC AND DYNAMIC BINDING

Polymorphism means " Ability to take more than one form" . It simply means one name multiple form. The concept of polymorphism is implemented using the overloaded function and operators. The overloaded Member function are selected and invoking by matching argument, both type and number. This information is known to the compiler at the compile time and compiler is able to select the appropriate function for a particular call at the compile time itself . This is called early binding or Static Binding or static linking and also known as compile time polymorphism.  "Early binding simple means that the object is bound to its function call at compile time".  If the Member function could be selected while the program is running. This is known as runtime polymorphism. when selection of the appropriate function is done dynamically at runtime known as LATE Binding or Dynamic binding.

Mass Energy Equation

Mass Energy equation :-        A/C to Netwon's ll low of motion                   F=d/dt(mv)             =m dv/dt+v dm/dt This force F is displace as body thought a distance dx. Then increase K.E, i.e dEk of the body equal work done F.dx.         dEk=F.dx               =(m dv/dt+v dm/dt).dx               =m(dx/dt ) dv+v(dx/dt)dm              =mv dv+v²dm................(1)      A/C Variation of mass with velocity          m=m. /√1-(v²/c²)         m √(c²-v²)/c²=m.      m²c²-m²v²= m.²c²    2mdm c²-2mdm v²+2vdv m²=0        2m(c²dm-v²dm-mvdv)=0   ...

Conservation of angler momentum

Conservation of angular momentum:- If external Torque(८)is zero total angular Momentum remains constant. For a particular angular momentum               J=r×p(in vector)----------------(1) Now diff.   eq1 with respect to time   dJ/dt=d/dt(r×p)              =r dp/dt+p dr/dt              =r×F +(mv)v.    {dp/dt=F, two                                        Vector cross v×v=0}             =r×F +0                                     ...