summaryrefslogtreecommitdiff
path: root/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.5.2
diff options
context:
space:
mode:
Diffstat (limited to 'Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.5.2')
-rw-r--r--Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.5.2/Ex2.5_2.r6
1 files changed, 6 insertions, 0 deletions
diff --git a/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.5.2/Ex2.5_2.r b/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.5.2/Ex2.5_2.r
new file mode 100644
index 00000000..672d518b
--- /dev/null
+++ b/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH2/EX2.5.2/Ex2.5_2.r
@@ -0,0 +1,6 @@
+# Example : 2 Chapter : 2.5 Pageno : 82
+# Inverse of an Elimination Matrix
+E<-matrix(c(1,-5,0,0,1,0,0,0,1),ncol=3)
+E1<-solve(E)
+print("The inverse of the given elimination matrix is")
+print(E1) \ No newline at end of file