Add to Collection
Tools Used
About

About

After my Differential Equations and Numerical Analysis courses, I decided to apply the different theories that we learned in class into this proj… Read More
After my Differential Equations and Numerical Analysis courses, I decided to apply the different theories that we learned in class into this project. Read Less
Published:
Pendulum Simulation
UsingWPF in C#
This is a project I decided to do after I took Differential Equations and Numerical Analysis.
I am using RungeKutta4 algorithm to solve numerically a second degree differential equation.
To implement the program, I am using an MVVM Framework (WPF - C#) to simulate the motion of a pendulum.
The user can change the different parameters of the pendulum such as damping factor, initial velocity, initial angle, mass, and length of the pendulum.
I also coded a charting tool from scratch. The chart gives a more details and scaled graph of the motion.

If you are interested in browsing my code, contact me and I will gladly share with you my private Github repository.
 
I created this charting tool from scratch because there is not many free charting tool in ASP.NET and C#. 
The Chart object receive as arguments the different points to plot and then return the corresponding graph.
This section of the software allows user to change the different parameters of the second degree differential equation such as mass, length, damping factors, initial velocity and initial angle.
For instance a damping factor of 0 result in an infinite oscillation which impossible in practice. 


Experiment result