This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Tue May 12 20:26:35 2020 | |
| @author: User | |
| """ | |
| import numpy as np | |
| import pandas as pd | |
| import matplotlib.pyplot as plt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Sun Feb 9 17:57:10 2020 | |
| @author: DASA0 | |
| """ | |
| import pandas as pd | |
| import matplotlib.pyplot as plt | |
| import seaborn as sns |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Mon Feb 3 20:02:37 2020 | |
| @author: DASA0 | |
| """ | |
| import pandas as pd | |
| import matplotlib.pyplot as plt | |
| import seaborn as sns |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Wed Jan 22 21:08:27 2020 | |
| @author: DASA0 | |
| """ | |
| """ Solve y' = y + 3 for the domain [2, 4] and y(2) = -2. Analytical solution: y = exp(x-2) - 3""" | |
| import numpy as np |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Sun Jan 19 12:47:08 2020 | |
| @author: DASA0 | |
| """ | |
| """ Gauss- Sidel's method""" | |
| import numpy as np |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Sun Jan 19 11:53:03 2020 | |
| @author: DASA0 | |
| """ | |
| import numpy as np | |
| a = np.array([[1, 2, -3, 4], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Sat Jan 18 19:44:20 2020 | |
| @author: DASA0 | |
| """ | |
| """ Solve the system of linear equations given in the matrices below""" | |
| from numpy import array, zeros |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Wed Jan 15 19:23:13 2020 | |
| @author: DASA0 | |
| """ | |
| """ find the value of the integral xsinx from 0 to pi/2""" | |
| """Simpson's 1/3rd rule""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Mon Dec 30 21:00:52 2019 | |
| @author: DASA0 | |
| """ | |
| """ find the value of the integral xsinx from 0 to pi/2""" | |
| from math import sin, pi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Sun Dec 29 16:51:25 2019 | |
| @author: DASA0 | |
| """ | |
| """ find the 1st & 2nd derivatives of the polynomial at x = 0.1: | |
| f(x) = 0.1x^5 -0.2x^3 + 0.1x - 0.2 """ | |