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

 


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/2020/10/experiment-no-3-realization-of-arrays.html 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 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/

No comments:

Post a Comment

Signals & System Lect 15 | Stable & Unstable Systems | Solved examples

  ECT 204 SIGNALS AND SYSTEMS Topics covered  00:00 - Introduction to Stable & unstable Systems 01:08 - BIBO criteria 03:38 Problem No 1...