This repository contains all the programs I will use for my iSURP project on Topology Optimization for Metamaterials.
-
Using Finite Difference Method to numerically solve u"(x) + f(x) = 0, where you will have to enter the function f:
https://github.com/jai2510/Topology-Optimization-for-Metamaterials-iSURP/blob/master/Finite%20Difference%20Method%20for%20u''(x)%20%2B%20f(x)%20%3D%200.ipynb -
Using Finite Difference Method to numerically solve u"(x) + sin(x) = 0:
https://github.com/jai2510/Topology-Optimization-for-Metamaterials-iSURP/blob/master/Finite%20Difference%20Method%20on%20u''(x)%20%2B%20sin(x)%20%3D%200.ipynb -
A simple C++ code to find the square root of any number:
https://github.com/jai2510/Topology-Optimization-for-Metamaterials-iSURP/blob/master/sqrt.cpp -
A python code to demostrate a sequence that converges to sqrt 2 for any positive first element:
https://github.com/jai2510/Topology-Optimization-for-Metamaterials-iSURP/blob/master/convergence%20to%20sqrt(2).ipynb -
A python code demonstrating Steepest Gradient Descent to find the local/global minima/maxima of a continuous and differentiable function:
https://github.com/jai2510/Topology-Optimization-for-Metamaterials-iSURP/blob/master/Steepest%20Gradient%20Descent.ipynb -
Demonstrating the Forward and Backward Euler Method for x'(t) = f(x):
https://github.com/jai2510/Topology-Optimization-for-Metamaterials-iSURP/blob/master/Forward%20and%20Backward%20Euler%20Approach.ipynb