diff options
Diffstat (limited to 'Linear_Algebra_by_Jim_Hefferon/CH1/EX1.3/Ex1_3.R')
-rw-r--r-- | Linear_Algebra_by_Jim_Hefferon/CH1/EX1.3/Ex1_3.R | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Linear_Algebra_by_Jim_Hefferon/CH1/EX1.3/Ex1_3.R b/Linear_Algebra_by_Jim_Hefferon/CH1/EX1.3/Ex1_3.R new file mode 100644 index 00000000..663ef17b --- /dev/null +++ b/Linear_Algebra_by_Jim_Hefferon/CH1/EX1.3/Ex1_3.R @@ -0,0 +1,6 @@ +#Example 1.3
+#Section I. Solving Linear Systems,page 3
+A <- matrix(c(3,-1,2,1),ncol = 2)
+b <- c(7,6)
+x <- solve(A) %*% b
+x
\ No newline at end of file |