summaryrefslogtreecommitdiff
path: root/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH1/EX1.2.c
diff options
context:
space:
mode:
Diffstat (limited to 'Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH1/EX1.2.c')
-rw-r--r--Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH1/EX1.2.c/Ex1_1.2C.R6
1 files changed, 6 insertions, 0 deletions
diff --git a/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH1/EX1.2.c/Ex1_1.2C.R b/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH1/EX1.2.c/Ex1_1.2C.R
new file mode 100644
index 00000000..78b288fc
--- /dev/null
+++ b/Introduction_To_Linear_Algebra_by_Gilbert_Strang/CH1/EX1.2.c/Ex1_1.2C.R
@@ -0,0 +1,6 @@
+#Example : 1.2C Chapter : 1.2 Pageno : 18
+A<-matrix(c(2,-1,-1,2),ncol=2)
+b<-c(1,0)
+x<-solve(A,b)
+print("The solution of system is :")
+print(x) \ No newline at end of file