We have a projectile shot from a gun is being affected by its weight (mg) only, and we have to obtain the differential equation 's system that describes its path of motion as the following technique :
Since there is only one force affects on this shot, then we can apply newton 's law in the horizontal and vertical directions as
where x is the horizontal displacement, y is the vertical displacement, and t is the time.
After that, we have to write them in the differential operating style as
For the first differential equation, if we assume that , then we can have its auxiliary equation as
Then we obtain
is the equation that describes the path of motion horizontally.
For the second differential equation, for the corresponding homogeneous equation , if we assume that , then we can have its auxiliary equation as
which has the roots
Then we can obtain the homogeneous solution as
After that, also for the second equation we can obtain the particular solution by assuming that , then differentiate with respect to as
After that, substitute with the second derivative shown in equation (4) into equation (2), then we obtain
then we have :
Then we have the particular solution as