Skip to content

Collection of Numerical Methods (FEM, Monte Carlo, Runge Kutta) and AI Algorithms (Genetic Algorithm, PINN, Gradient Descent) implemented in Python for engineering applications.

License

Notifications You must be signed in to change notification settings

arslnakin/NumericalMethodsAndAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Numerical Methods and AI Algorithms

This project contains implementations of various numerical methods and artificial intelligence algorithms, including animations to visualize their working.

About the Project

Features

  • Finite Element Method (FEM): Simulates rectangle'sdeformation in a 2D mesh.
  • Monte Carlo Method: Estimates the value of π using a random sampling technique.
  • Runge Kutta: Solves the pendulum motion and visualizes energy changes over time.
  • Genetic Algorithm: Finding minimize value of a function=x**2+4*sin(5x)+cos(10x) using evolutionary techniques.
  • PINN (Physics-Informed Neural Network): Solves differential equations for pendulum motion.
  • Gradient Descent: Finds the minimum of a quadratic function=x**2+4x+4.

Usage

Each algorithm is modularized and can be run independently. Examples for each algorithm are in the examples/ directory.

Installation

pip install -r requirements.txt

Examples

Run any example script to see the algorithm in action. For example:

python examples/fem_example.py

License

MIT License

About

Collection of Numerical Methods (FEM, Monte Carlo, Runge Kutta) and AI Algorithms (Genetic Algorithm, PINN, Gradient Descent) implemented in Python for engineering applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages