Posts

Showing posts from February, 2022

Kinematics: Plotting displacement, velocity and acceleration

Image
 Kinematics:  Plotting displacement, velocity, and acceleration "Curiosity is the key to problem-solving." -Galileo Galilei   This program can be used to plot displacement, velocity, and acceleration using the given equation for the position. To be more clear check the previous posts to get an idea about solving the equation for the position ( CLICK HERE ).  The main function used in this program is np. diff() which is an alternative way to find the first and second derivatives and plot them in the same graph ( CLICK HERE ). diff(arr[, n[, axis]]) function is used when we calculate the n-th order discrete difference along the given axis. The first-order difference is given by out[i] = arr[i+1] – arr[i] along the given axis. If we have to calculate higher differences, we are using diff recursively. So the plot for the higher derivatives is provided by the discrete difference along the given axis. Here in this program, it is done by Defining the fir...

CM:3nd Equation of motion- Distance, initial velocity, final velocity and acceleration

Image
 CM:3nd Equation of motion- Distance, initial velocity, final velocity, and acceleration Classical mechanics gives us a deterministic view of the world. The second equation of motion does not give any detail about the final velocity, So using this equation we can find the final velocity of the given particle given the initial velocity, distance traveled, and acceleration.  Using these equations we can interplay between the variable. OUTPUT Hope this is useful to you. To know more and discuss follow the following link https://github.com/JohnpaulJ1509 https://www.instagram.com/phy.sci/?hl=en .

CM:2nd Equation of motion- Distance, initial velocity and acceleration

Image
  CLASSICAL MECHANICS 2nd equation of motion Distance, initial velocity, and acceleration Classical mechanics gives us a deterministic view of the world. This program will be a numerical model for the second equation of motion in general mechanics. Using this one can find the distance or acceleration or the initial velocity if time and other variables are provided. Give the value 0 to the unknown variable when one wants to find it. Using the program "1st eq of motion_velocity, acceleration and time" the concept of solving problems can be extended.  NOTE: This equation is not used to find the time.    OUTPUT Hope this is useful to you. To know more and discuss follow the following link https://github.com/JohnpaulJ1509 https://www.instagram.com/phy.sci/?hl=en .