Learn Python in Malayalam|Chapter 14 | How to find differentiation in python

Published: 28 November 2020
on channel: iammanuprasad
535
20

This is the 14th 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
Chapter 14 assignment discussion - 00:31
differentiation in python - 01:16
power rule - 01:31
product rule - 03:36
multi-variable function - 05:10
first order differential equation response - 07:19
chapter 14 assignment - 11:09


Program used
Program for power & product rule
import sympy as sym
x = sym.Symbol('x')
f = x**5+3*x
f = ((x**2)+1)*sym.cos(x)
f_prime = sym.diff(f)
print(f_prime)

program for multi variable function
import sympy as sym
x,y = sym.symbols('x y')
f = (x**4)*y
f_prime = sym.diff(f,y)
print(f_prime)

#program fro first order differential equation
import numpy as np
from scipy.integrate import odeint
import matplotlib.pyplot as plt

function that returns dx/dt
def model(x,t):
k = .5
dxdt = -k * x
return dxdt

initial condition
x0 = 5

time points
t = np.linspace(0,20)

solve ODE
x = odeint(model,x0,t)

plot results
plt.plot(t,x,label="K=0.5")
plt.title("First order Differential equation response")
plt.xlabel('time')
plt.ylabel('x')
plt.legend()
plt.show()

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

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...

ECL 201 SCIENTIFIC COMPUTING LABORATORY

Experiment 4. Numerical Didifferentiation and Integration
1. Realize the functions sin t, cos t, sinht and cosht for the vector t =
[0; 10] with increment 0:01
2. Compute the first and second derivatives of these functions using built
in tools such as grad.
3. Plot the derivatives over the respective functions and appreciate.
4. Familiarize the numerical integration tools in the language you use.
5. Realize the function
f(t) = 4t2 + 3
and plot it for the vector t = [􀀀5; 5] with increment 0:01


Watch video Learn Python in Malayalam|Chapter 14 | How to find differentiation in python online without registration, duration hours minute second in high quality. This video was added by user iammanuprasad 28 November 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 53 once and liked it 2 people.