Mathematical physics

2d poisson equation in matlab

The following Matlab project contains the source code and Matlab examples used for 2d poisson equation. The 2D Poisson equation is solved in an iterative manner (number of iterations is to be specified) on a square 2x2 domain using the standard 5-point stencil. Homogenous neumann boundary conditions have been used.

Lagrangian mechanics, 2 points conected with rod in matlab

The following Matlab project contains the source code and Matlab examples used for lagrangian mechanics, 2 points conected with rod. http://simulations.narod.ru/ there are two masses connected with rod. x y φ describe system state. Lagrangian was made and 6 1st order differential equations to integrate numerically with Euler method. run zz_2_obj_lagrangian_test.m to see animation or here: http://www.youtube.com/watch?v=4h1iDNiDbiI

Animation of a simple pendulum using the euler cromer numerical method. in matlab

The following Matlab project contains the source code and Matlab examples used for animation of a simple pendulum using the euler cromer numerical method.. For small angles, equation of motion of a simple pendulum as derived from the Newton's second law is a simple ordinary differential equation which can be solved numerically.

Numerical methods vs analytical methods for differential equations in matlab

The following Matlab project contains the source code and Matlab examples used for numerical methods vs analytical methods for differential equations. Euler's method, Modified Euler's method and RK4 methods have been used to obtain approximate solutions of the differential equation dy/dx = x *sqrt(y), with y(2)=4 as the Initial condition.
Subscribe to RSS - Mathematical physics