Computational Physics

Pages

  • Recent Posts
  • Numerical Methods
  • MATLAB / Simulink / SciLab
  • C Code
  • Python Code
  • Video
  • Contact

C Code


Numerical solution of algebraic and transcendental equations

  • C code - Bisection Method
  • C code - Bisection Method [New] 
  • C code - False Position Method
  • C code - Secant Method 

Numerical solution of ordinary differential equations

  • C Code - Driven Oscillator by Euler's Method
  • C code - RC charging/discharging by Euler's method
  • C code - Solution to 1D time independent Schrodinger wave equation (particle in a potential well of infinite height)

Numerical solution of partial differential equations

  • C code - Solving Laplace's Equation by finite difference method
  • C code - Poisson Equation by finite difference method

Numerical Integration

  •  C code - Trapezoidal Rule
  •  C code - Simpson's 1/3 Rule

Random Numbers and Monte - Carlo Methods

  • C code - Random Number Generator
  • C code - Monte Carlo crude integration
  • C code - Radioactive Decay by Monte Carlo Method
  • C code - Particle Diffusion by Monte Carlo Method

Miscellaneous

  • C code - Gauss Elimination Method
  • C code - Lagrange's Interpolation
  • C code - Newton's Backward Difference Interpolation
  • C code - Newton's Forward Difference Interpolation
  • C code - Linear Least Square Fit
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Home
Subscribe to: Posts (Atom)

Search

Archive

Popular Posts

  • MATLAB - False Position Method
  • MATLAB - 1D Schrodinger wave equation (Time independent system)
  • C code - Radioactive Decay by Monte Carlo Method
  • MATLAB - Vibration in a string (Hyperbolic Equation)
  • MATLAB - Bisection Method

Total Pageviews

Ethereal theme. Theme images by enot-poloskun. Powered by Blogger.