This is the 15th video on Learn python in Malayalam. This video clearly explains below topics,
use the below time link to skip to the specific topics
Topics covered in this video
integration in python - 00:32
integration with double integral - 05:14
integration with triple integral - 07:52
integration with infinity limit - 09:31
Program used
# Integration in python
from scipy.integrate import quad
def integrand(x):
return x**2
y, err = quad(integrand, 0, 1)
print (y)
-------------------------------
from scipy.integrate import quad
import numpy as np
def fun(x):
return (np.exp(-x)*np.sin(3*x))
i,c = quad (fun,0,2*np.pi)
print(i)
--------------------------------------
#integration program with double integral
from scipy.integrate import dblquad
import numpy as np
def integrand(y, x):
return y * np.sin(x) + x * np.cos(y)
y, err = dblquad(integrand,
0,
np.pi, #x limits
lambda x: 0, #y limit
lambda x: 2*np.pi)
print(y)
---------------------------------------
#integration program with triple integral
from scipy.integrate import tplquad
import numpy as np
def integrand(z, y, x):
return y * np.sin(x) + z * np.cos(y)
y, err = tplquad(integrand,
0,
np.pi, #x limits
lambda x: 0, #y limit
lambda x: np.pi,
lambda x,y: 0,
lambda x,y: np.pi)
print(y)
-------------------------------------------
# integration with infinity
from scipy.integrate import quad
import numpy as np
def fun(x):
return (np.exp(-x))
i,c = quad (fun,0,np.inf)
print(i)
For more check out here : https://iammanuprasad.blogspot.com/
Learn Python in Malayalam Playlist:
https://www.youtube.com/playlist?list=PLmKq-kgKY8uZya3cwcX6otT61NPHXbTK0
Chapter 1 - https://youtu.be/WiyQ8wTsRO0
Introduction to programming
Introduction to Python
Introduction to Google Co-lab
How to setup Google Co-lab
Chapter 2 - https://youtu.be/YFngtW42Mls
Python Identifiers
Lines and Indentation
Multi-Line Statements
Chapter 3 - https://youtu.be/gxalG8Aps0A
Quotation in python
Comments in python
Assigning values to variable
Chapter 4 - https://youtu.be/AaEL_f2RHIk
Data types
Numbers
Strings
Chapter 5 - https://youtu.be/irND35-6BZ0
Data types
Lists
Tuple
Dictionary
Chapter 6 - https://youtu.be/MRfg2QZBHvE
Decision making
if condition
if .. else condition
Nested if
Chapter 7 - https://youtu.be/VYXndepcTCM
Loops in Python
while loop
for loop
nested loop
Chapter 8 - https://youtu.be/d7Y2D9H4u7c
Functions in python
arguments in function
Multiple arguments in function
Arbitrary arguments in function
Return value in function
Chapter 9 - https://youtu.be/hFOTKyYCkdw
Classes in python
Defining a class
Creating an object
Constructors in python
Chapter 10 - https://youtu.be/w-_x2vfpJk0
Matrix in python
Defining matrix in python
Matrix addition
Matrix multiplication
Transpose of a matrix
Inverse of matrix
Rank & eigen values of matrix
Chapter 11 - https://youtu.be/-7DB7OEenms
Plotting in Python
Line Plot
Stem Plot
Bar Plot
Scatter Plot
Box Plot
Histogram
Multiple Plot, Subplot, plot within plot
Chapter 12 - https://youtu.be/aID_Dlx-oys
File handling in python
Generate file data
Save the data in a variable
write data to a csv file
read from the csv file
plotting the data from the scv file
standard deviation & mean of data
location of the saved file
Chapter 13 - https://youtu.be/zk6Fcs-NY6I
System linear equation solution
Example with explanation
Program for solving linear equation
Chapter 14 - https://youtu.be/7k5oATBKrd8
differentiation in python
power rule
product rule
multi-variable function
first order differential equation response
If you like my video please subscribe my channel and share
Important links & key words
https://www.python.org/
Google COLAB
Music: https://www.bensound.com
Reff : https://www.tutorialspoint.com/python/python_variable_types.htm
https://www.w3schools.com/
https://towardsdatascience.com/taking-derivatives-in-python-d6229ba72c64
No comments:
Post a Comment