Learn Python in Malayalam | Chapter 13 | Solving linear equation using matrix method in Python

Published: 21 November 2020
on channel: iammanuprasad
496
18

Learn Python in Malayalam|Chapter 13|Solving system of linear equation using matrix method

This is the 13th 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
System linear equation solution - 0:28
Example with explanation - 01:00
Program for solving linear equation - 03:30
Chapter 13 assignment - 07:33

Program used
program for assigning matrix values, inverse of matrix and displaying

importing libraries

from scipy import *

from pylab import *

from numpy import *



A=array([[3,2,-5],[1,-3,2],[5,-1,4]])# assigning the values to matrix A from the equaton

b = array([12,-13,10]) # assigning the values of b matrix



print("A matrix is")

print(A) # printing the A matrix

print("b matrix is")

print(b) #printing then b matrix

X=inv(A).dot(b) # calculating the values of x,y,z

print("X matrix is")

print(X) # printing the X matrix

printing each values

print("the value of x is :",round(X[0],2))

print("the value of y is :",round(X[1],2))

print("the value of z is :",round(X[2],2))


For more check out here : https://iammanuprasad.blogspot.com/

https://iammanuprasad.blogspot.com/20...

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


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/

ECL 201 SCIENTIFIC COMPUTING LABORATORY
Experiment 5. Solution of Ordinary Differential Equations
1. Solve the rst order dierential equation
dx
dt
2x = 0
with the initial condition x(0) = 1
2. Solve for the current transient through an RC network (with RC = 3)
that is driven by
5 V DC
the signal 5e􀀀tU(t)
and plot the solutions.
3. Solve the second order dierential equation
d2x
dt2 + 2
dx
dt
2x = e􀀀t
4. Solve the current transient through a series RLC circuit with R = 1
,
L = 1mH and C = 1 F that is driven by
5 V DC
the signal 5e􀀀tU(t)


On this page of the site you can watch the video online Learn Python in Malayalam | Chapter 13 | Solving linear equation using matrix method in Python with a duration of hours minute second in good quality, which was uploaded by the user iammanuprasad 21 November 2020, share the link with friends and acquaintances, this video has already been watched 496 times on youtube and it was liked by 18 viewers. Enjoy your viewing!