SlideShare a Scribd company logo
1 of 1
Download to read offline
1) (6 points) In this exercise, you will create the three types of elementary matrices, analyze their
properties and perform elementary row-operations on matrices using elementary matrices. (a)
(Creating the elementary matrices) Write three functions in python: defE1(n,c,i,j) : defE2(n,i,j) : def
E3(n,c,i) : that creates the three elementary matrices E1,E2 and E3. How to define the above
functions? (i) Start with the identity matrix eye (n). (ii) To define E1(n,c,i,j), replace (row j ) of eye (
n) by (row j)+c.(row i ). (iii) To define E2(n,i,j), interchange rows i and j of eye (n). (iv) To define E3
(n,c,i), multiply row i of eye (n) by c. (b) (The elementary row operations) After you have
successfully completed (a), use the elementary matrices E1,E2 and E3 (equivalently, use the
functions you created in (a)) to obtain the three row operations (replacement, interchange and
scaling) on a matrix A. For this, you have to create three functions below: def replace-row (A,c,i,j) :
def switch-rows (A,i,j) : def scale-row (A,c,i) : What are these functions doing? replace-row (A,c,i,j)
adds c times row j to row i in A. switch-rows (A,i,j) switches rows i and j in matrix A. scale-row (A,c,
i) multiplies row i by c in matrix A. How to define the above functions? (I) Use the elementary
matrices E1,E2 and E3 you created above. (II) To define replace-row (A,c,i,j), you just multiply E1(
n,c,i,j) by A. (III) To define switch-rows (A,i,j), you just multiply E2(n,i,j) by A. (IV) To define scale-
row (A,c,i), you just multiply E3(n,c,i) by A.( 2 points) In this exercise, you will use the functions
you created in Exercise 1(b) to obtain the row reduced echelon form of a given matrix. (a) Work
with the following matrix: A=10020203021220353011 Use the functions you created in Exercise
1(b) (they are elementary row operations) on matrix A above to obtain the reduced echelon form of
A. (b) Note that every time you apply elementary row operations on A, you get intermediate
matrices. Output all intermediate matrices until you obtain the reduced echelon form of A. (2
points) Use Exercise 1(b) to determine if the following set of vectors is linearly independent. 120,2
41,361 Show all your outputs/steps.

More Related Content

Similar to 1 6 points In this exercise you will create the three ty.pdf

Basics of Matlab for students and faculty
Basics of Matlab for students and facultyBasics of Matlab for students and faculty
Basics of Matlab for students and facultyAbhishekRanjan17318
 
Introductory Algebra Lesson 11 – Linear Functions, Part 2 .docx
Introductory Algebra   Lesson 11 – Linear Functions, Part 2 .docxIntroductory Algebra   Lesson 11 – Linear Functions, Part 2 .docx
Introductory Algebra Lesson 11 – Linear Functions, Part 2 .docxmariuse18nolet
 
[Question Paper] Computer Graphics (Old Course) [June / 2014]
[Question Paper] Computer Graphics (Old Course) [June / 2014][Question Paper] Computer Graphics (Old Course) [June / 2014]
[Question Paper] Computer Graphics (Old Course) [June / 2014]Mumbai B.Sc.IT Study
 
Exam i(practice)
Exam i(practice)Exam i(practice)
Exam i(practice)PublicLeaks
 
Apoyo guía-12-2°-medio-ppt.-parábola
Apoyo guía-12-2°-medio-ppt.-parábolaApoyo guía-12-2°-medio-ppt.-parábola
Apoyo guía-12-2°-medio-ppt.-parábolaliceo
 
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxSAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxanhlodge
 
Lesson 1 see lesson plans
Lesson 1   see lesson plansLesson 1   see lesson plans
Lesson 1 see lesson plansAngela Phillips
 
Rectangular Coordinates, Introduction to Graphing Equations
Rectangular Coordinates, Introduction to Graphing EquationsRectangular Coordinates, Introduction to Graphing Equations
Rectangular Coordinates, Introduction to Graphing EquationsSandyPoinsett
 
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxSAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxagnesdcarey33086
 
Final exam g8 2014
Final exam g8 2014Final exam g8 2014
Final exam g8 2014zeinabze
 
INTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxINTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxDevaraj Chilakala
 

Similar to 1 6 points In this exercise you will create the three ty.pdf (20)

Basics of Matlab for students and faculty
Basics of Matlab for students and facultyBasics of Matlab for students and faculty
Basics of Matlab for students and faculty
 
Introductory Algebra Lesson 11 – Linear Functions, Part 2 .docx
Introductory Algebra   Lesson 11 – Linear Functions, Part 2 .docxIntroductory Algebra   Lesson 11 – Linear Functions, Part 2 .docx
Introductory Algebra Lesson 11 – Linear Functions, Part 2 .docx
 
[Question Paper] Computer Graphics (Old Course) [June / 2014]
[Question Paper] Computer Graphics (Old Course) [June / 2014][Question Paper] Computer Graphics (Old Course) [June / 2014]
[Question Paper] Computer Graphics (Old Course) [June / 2014]
 
Exam i(practice)
Exam i(practice)Exam i(practice)
Exam i(practice)
 
Midterm
MidtermMidterm
Midterm
 
Adobe
AdobeAdobe
Adobe
 
2013-June: 3rd Semester E & C Question Papers
2013-June: 3rd Semester E & C Question Papers2013-June: 3rd Semester E & C Question Papers
2013-June: 3rd Semester E & C Question Papers
 
3rd Semester Electronic and Communication Engineering (2013-June) Question P...
3rd  Semester Electronic and Communication Engineering (2013-June) Question P...3rd  Semester Electronic and Communication Engineering (2013-June) Question P...
3rd Semester Electronic and Communication Engineering (2013-June) Question P...
 
Qno 3 (a)
Qno 3 (a)Qno 3 (a)
Qno 3 (a)
 
4th Semester (June; July-2014) Electronics and Communication Engineering Ques...
4th Semester (June; July-2014) Electronics and Communication Engineering Ques...4th Semester (June; July-2014) Electronics and Communication Engineering Ques...
4th Semester (June; July-2014) Electronics and Communication Engineering Ques...
 
Apoyo guía-12-2°-medio-ppt.-parábola
Apoyo guía-12-2°-medio-ppt.-parábolaApoyo guía-12-2°-medio-ppt.-parábola
Apoyo guía-12-2°-medio-ppt.-parábola
 
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxSAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
 
Lesson 1 see lesson plans
Lesson 1   see lesson plansLesson 1   see lesson plans
Lesson 1 see lesson plans
 
Funções 6
Funções  6Funções  6
Funções 6
 
Rectangular Coordinates, Introduction to Graphing Equations
Rectangular Coordinates, Introduction to Graphing EquationsRectangular Coordinates, Introduction to Graphing Equations
Rectangular Coordinates, Introduction to Graphing Equations
 
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docxSAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
SAMPLE QUESTIONExercise 1 Consider the functionf (x,C).docx
 
Matlab 1
Matlab 1Matlab 1
Matlab 1
 
Final exam g8 2014
Final exam g8 2014Final exam g8 2014
Final exam g8 2014
 
Ss matlab solved
Ss matlab solvedSs matlab solved
Ss matlab solved
 
INTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxINTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptx
 

More from abhayagesignes

1 Las hembras primates siempre invierten en sus cras porq.pdf
1  Las hembras primates siempre invierten en sus cras porq.pdf1  Las hembras primates siempre invierten en sus cras porq.pdf
1 Las hembras primates siempre invierten en sus cras porq.pdfabhayagesignes
 
1 En ciertos pases latinoamericanos durante perodos de.pdf
1  En ciertos pases latinoamericanos durante perodos de.pdf1  En ciertos pases latinoamericanos durante perodos de.pdf
1 En ciertos pases latinoamericanos durante perodos de.pdfabhayagesignes
 
1 Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf
1  Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf1  Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf
1 Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdfabhayagesignes
 
1 Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf
1  Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf1  Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf
1 Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdfabhayagesignes
 
1 Classify each of the following as either experimentalin.pdf
1  Classify each of the following as either experimentalin.pdf1  Classify each of the following as either experimentalin.pdf
1 Classify each of the following as either experimentalin.pdfabhayagesignes
 
1 Amylase and DNase are both extracellular enzymes Which .pdf
1  Amylase and DNase are both extracellular enzymes Which .pdf1  Amylase and DNase are both extracellular enzymes Which .pdf
1 Amylase and DNase are both extracellular enzymes Which .pdfabhayagesignes
 
1 A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf
1  A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf1  A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf
1 A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdfabhayagesignes
 
1 A firms production process uses labor L and capital K.pdf
1 A firms production process uses labor L and capital K.pdf1 A firms production process uses labor L and capital K.pdf
1 A firms production process uses labor L and capital K.pdfabhayagesignes
 
1 A social entigy that is goal directed and detiberately st.pdf
1 A social entigy that is goal directed and detiberately st.pdf1 A social entigy that is goal directed and detiberately st.pdf
1 A social entigy that is goal directed and detiberately st.pdfabhayagesignes
 
1 6 points Which one of the two terms flavor or buck.pdf
1 6 points Which one of the two terms flavor or buck.pdf1 6 points Which one of the two terms flavor or buck.pdf
1 6 points Which one of the two terms flavor or buck.pdfabhayagesignes
 
1 30 points Methanol is a very poisonous substance caus.pdf
1  30 points Methanol is a very poisonous substance caus.pdf1  30 points Methanol is a very poisonous substance caus.pdf
1 30 points Methanol is a very poisonous substance caus.pdfabhayagesignes
 
1 A project is to require 340000 in capital investment I.pdf
1 A project is to require 340000 in capital investment I.pdf1 A project is to require 340000 in capital investment I.pdf
1 A project is to require 340000 in capital investment I.pdfabhayagesignes
 
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdfabhayagesignes
 
1 When pitching your company to a Venture Capitalist wha.pdf
1   When pitching your company to a Venture Capitalist wha.pdf1   When pitching your company to a Venture Capitalist wha.pdf
1 When pitching your company to a Venture Capitalist wha.pdfabhayagesignes
 
1 A picture or summary of a childs growth and development .pdf
1 A picture or summary of a childs growth and development .pdf1 A picture or summary of a childs growth and development .pdf
1 A picture or summary of a childs growth and development .pdfabhayagesignes
 
1 A nursing instructor wishes to see whether a students gr.pdf
1 A nursing instructor wishes to see whether a students gr.pdf1 A nursing instructor wishes to see whether a students gr.pdf
1 A nursing instructor wishes to see whether a students gr.pdfabhayagesignes
 
1 8 Annotations 4 pts C code 4 pts A function with .pdf
1 8 Annotations 4 pts C code 4 pts A function with .pdf1 8 Annotations 4 pts C code 4 pts A function with .pdf
1 8 Annotations 4 pts C code 4 pts A function with .pdfabhayagesignes
 
1 A method named is4nOperater that takes a character and re.pdf
1 A method named is4nOperater that takes a character and re.pdf1 A method named is4nOperater that takes a character and re.pdf
1 A method named is4nOperater that takes a character and re.pdfabhayagesignes
 
1 What is Netmakers current business performance look.pdf
1      What is Netmakers current business performance look.pdf1      What is Netmakers current business performance look.pdf
1 What is Netmakers current business performance look.pdfabhayagesignes
 
1 A homozygous wildtype female fly is mated with a vermili.pdf
1 A homozygous wildtype female fly is mated with a vermili.pdf1 A homozygous wildtype female fly is mated with a vermili.pdf
1 A homozygous wildtype female fly is mated with a vermili.pdfabhayagesignes
 

More from abhayagesignes (20)

1 Las hembras primates siempre invierten en sus cras porq.pdf
1  Las hembras primates siempre invierten en sus cras porq.pdf1  Las hembras primates siempre invierten en sus cras porq.pdf
1 Las hembras primates siempre invierten en sus cras porq.pdf
 
1 En ciertos pases latinoamericanos durante perodos de.pdf
1  En ciertos pases latinoamericanos durante perodos de.pdf1  En ciertos pases latinoamericanos durante perodos de.pdf
1 En ciertos pases latinoamericanos durante perodos de.pdf
 
1 Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf
1  Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf1  Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf
1 Bu durum neden takm atmasyla ilgili Hangi atmalarn ge.pdf
 
1 Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf
1  Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf1  Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf
1 Bir yatrm yneticisinin yatrm ynergeleri yatrmlarnn y.pdf
 
1 Classify each of the following as either experimentalin.pdf
1  Classify each of the following as either experimentalin.pdf1  Classify each of the following as either experimentalin.pdf
1 Classify each of the following as either experimentalin.pdf
 
1 Amylase and DNase are both extracellular enzymes Which .pdf
1  Amylase and DNase are both extracellular enzymes Which .pdf1  Amylase and DNase are both extracellular enzymes Which .pdf
1 Amylase and DNase are both extracellular enzymes Which .pdf
 
1 A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf
1  A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf1  A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf
1 A Hangi biyomolekl snfnn bozunmas hcrelere enerji sa.pdf
 
1 A firms production process uses labor L and capital K.pdf
1 A firms production process uses labor L and capital K.pdf1 A firms production process uses labor L and capital K.pdf
1 A firms production process uses labor L and capital K.pdf
 
1 A social entigy that is goal directed and detiberately st.pdf
1 A social entigy that is goal directed and detiberately st.pdf1 A social entigy that is goal directed and detiberately st.pdf
1 A social entigy that is goal directed and detiberately st.pdf
 
1 6 points Which one of the two terms flavor or buck.pdf
1 6 points Which one of the two terms flavor or buck.pdf1 6 points Which one of the two terms flavor or buck.pdf
1 6 points Which one of the two terms flavor or buck.pdf
 
1 30 points Methanol is a very poisonous substance caus.pdf
1  30 points Methanol is a very poisonous substance caus.pdf1  30 points Methanol is a very poisonous substance caus.pdf
1 30 points Methanol is a very poisonous substance caus.pdf
 
1 A project is to require 340000 in capital investment I.pdf
1 A project is to require 340000 in capital investment I.pdf1 A project is to require 340000 in capital investment I.pdf
1 A project is to require 340000 in capital investment I.pdf
 
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
1 64 yanda bir erkek oyun oynadktan sonra hafif ila orta i.pdf
 
1 When pitching your company to a Venture Capitalist wha.pdf
1   When pitching your company to a Venture Capitalist wha.pdf1   When pitching your company to a Venture Capitalist wha.pdf
1 When pitching your company to a Venture Capitalist wha.pdf
 
1 A picture or summary of a childs growth and development .pdf
1 A picture or summary of a childs growth and development .pdf1 A picture or summary of a childs growth and development .pdf
1 A picture or summary of a childs growth and development .pdf
 
1 A nursing instructor wishes to see whether a students gr.pdf
1 A nursing instructor wishes to see whether a students gr.pdf1 A nursing instructor wishes to see whether a students gr.pdf
1 A nursing instructor wishes to see whether a students gr.pdf
 
1 8 Annotations 4 pts C code 4 pts A function with .pdf
1 8 Annotations 4 pts C code 4 pts A function with .pdf1 8 Annotations 4 pts C code 4 pts A function with .pdf
1 8 Annotations 4 pts C code 4 pts A function with .pdf
 
1 A method named is4nOperater that takes a character and re.pdf
1 A method named is4nOperater that takes a character and re.pdf1 A method named is4nOperater that takes a character and re.pdf
1 A method named is4nOperater that takes a character and re.pdf
 
1 What is Netmakers current business performance look.pdf
1      What is Netmakers current business performance look.pdf1      What is Netmakers current business performance look.pdf
1 What is Netmakers current business performance look.pdf
 
1 A homozygous wildtype female fly is mated with a vermili.pdf
1 A homozygous wildtype female fly is mated with a vermili.pdf1 A homozygous wildtype female fly is mated with a vermili.pdf
1 A homozygous wildtype female fly is mated with a vermili.pdf
 

Recently uploaded

Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesRased Khan
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Celine George
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointELaRue0
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxJenilouCasareno
 
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTelling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTechSoup
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽中 央社
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticspragatimahajan3
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxCapitolTechU
 
MichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdfMichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdfmstarkes24
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesashishpaul799
 
Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024CapitolTechU
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Celine George
 
IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff17thcssbs2
 
factors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptxfactors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptxSanjay Shekar
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryEugene Lysak
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxCeline George
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Denish Jangid
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxheathfieldcps1
 

Recently uploaded (20)

Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPoint
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTelling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceutics
 
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptxslides CapTechTalks Webinar May 2024 Alexander Perry.pptx
slides CapTechTalks Webinar May 2024 Alexander Perry.pptx
 
MichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdfMichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdf
 
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdfPost Exam Fun(da) Intra UEM General Quiz - Finals.pdf
Post Exam Fun(da) Intra UEM General Quiz - Finals.pdf
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
IATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdffIATP How-to Foreign Travel May 2024.pdff
IATP How-to Foreign Travel May 2024.pdff
 
factors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptxfactors influencing drug absorption-final-2.pptx
factors influencing drug absorption-final-2.pptx
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. Henry
 
An Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptxAn Overview of the Odoo 17 Discuss App.pptx
An Overview of the Odoo 17 Discuss App.pptx
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 

1 6 points In this exercise you will create the three ty.pdf

  • 1. 1) (6 points) In this exercise, you will create the three types of elementary matrices, analyze their properties and perform elementary row-operations on matrices using elementary matrices. (a) (Creating the elementary matrices) Write three functions in python: defE1(n,c,i,j) : defE2(n,i,j) : def E3(n,c,i) : that creates the three elementary matrices E1,E2 and E3. How to define the above functions? (i) Start with the identity matrix eye (n). (ii) To define E1(n,c,i,j), replace (row j ) of eye ( n) by (row j)+c.(row i ). (iii) To define E2(n,i,j), interchange rows i and j of eye (n). (iv) To define E3 (n,c,i), multiply row i of eye (n) by c. (b) (The elementary row operations) After you have successfully completed (a), use the elementary matrices E1,E2 and E3 (equivalently, use the functions you created in (a)) to obtain the three row operations (replacement, interchange and scaling) on a matrix A. For this, you have to create three functions below: def replace-row (A,c,i,j) : def switch-rows (A,i,j) : def scale-row (A,c,i) : What are these functions doing? replace-row (A,c,i,j) adds c times row j to row i in A. switch-rows (A,i,j) switches rows i and j in matrix A. scale-row (A,c, i) multiplies row i by c in matrix A. How to define the above functions? (I) Use the elementary matrices E1,E2 and E3 you created above. (II) To define replace-row (A,c,i,j), you just multiply E1( n,c,i,j) by A. (III) To define switch-rows (A,i,j), you just multiply E2(n,i,j) by A. (IV) To define scale- row (A,c,i), you just multiply E3(n,c,i) by A.( 2 points) In this exercise, you will use the functions you created in Exercise 1(b) to obtain the row reduced echelon form of a given matrix. (a) Work with the following matrix: A=10020203021220353011 Use the functions you created in Exercise 1(b) (they are elementary row operations) on matrix A above to obtain the reduced echelon form of A. (b) Note that every time you apply elementary row operations on A, you get intermediate matrices. Output all intermediate matrices until you obtain the reduced echelon form of A. (2 points) Use Exercise 1(b) to determine if the following set of vectors is linearly independent. 120,2 41,361 Show all your outputs/steps.