Learn Python in Malayalam | Chapter 15 |Solving Integration in Python|single, double,triple integral

Опубликовано: 05 Декабрь 2020
на канале: iammanuprasad
529
25

his 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:
   • Learn Python in Malayalam  

Chapter 1 -    • Learn Python in Malayalam | For Ultim...  
Introduction to programming
Introduction to Python
Introduction to Google Co-lab
How to setup Google Co-lab

Chapter 2 -    • Learn Python in Malayalam | Chapter 2...  
Python Identifiers
Lines and Indentation
Multi-Line Statements

Chapter 3 -    • Learn Python in Malayalam | Chapter 3...  
Quotation in python
Comments in python
Assigning values to variable

Chapter 4 -    • Learn Python in Malayalam | Chapter 4...  
Data types
Numbers
Strings

Chapter 5 -    • Learn Python in Malayalam | Chapter 5...  
Data types
Lists
Tuple
Dictionary

Chapter 6 -    • Learn Python in Malayalam | Chapter 6...  
Decision making
if condition
if .. else condition
Nested if

Chapter 7 -    • Learn Python in Malayalam|Chapter 7| ...  
Loops in Python
while loop
for loop
nested loop

Chapter 8 -    • Learn Python in Malayalam | Chapter 8...  
Functions in python
arguments in function
Multiple arguments in function
Arbitrary arguments in function
Return value in function

Chapter 9 -    • Learn Python in Malayalam | Chapter 9...  
Classes in python
Defining a class
Creating an object
Constructors in python

Chapter 10 -    • Learn Python in Malayalam |Chapter 10...  
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 -    • Learn Python in Malayalam|Chapter 11 ...  
Plotting in Python
Line Plot
Stem Plot
Bar Plot
Scatter Plot
Box Plot
Histogram
Multiple Plot, Subplot, plot within plot

Chapter 12 -    • Learn Python in Malayalam|Chapter 12|...  
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 -    • Learn Python in Malayalam | Chapter 1...  
System linear equation solution
Example with explanation
Program for solving linear equation

Chapter 14 -    • Learn Python in Malayalam|Chapter 14 ...  
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...
https://www.w3schools.com/
https://towardsdatascience.com/taking...


Смотрите видео Learn Python in Malayalam | Chapter 15 |Solving Integration in Python|single, double,triple integral онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь iammanuprasad 05 Декабрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 529 раз и оно понравилось 25 людям.