diff options
author | RossTheRoss <msattr@gmail.com> | 2019-09-18 11:11:32 -0500 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-09-18 11:11:32 -0500 |
commit | 8a395048300f94e1b60b8320277e3c1ad03221d3 (patch) | |
tree | 298b35b27ef3249292127d7c09d8be19592737a5 | |
parent | F (diff) | |
parent | Cha ge aspace (diff) | |
download | homework-8a395048300f94e1b60b8320277e3c1ad03221d3.tar homework-8a395048300f94e1b60b8320277e3c1ad03221d3.tar.gz homework-8a395048300f94e1b60b8320277e3c1ad03221d3.tar.bz2 homework-8a395048300f94e1b60b8320277e3c1ad03221d3.tar.lz homework-8a395048300f94e1b60b8320277e3c1ad03221d3.tar.xz homework-8a395048300f94e1b60b8320277e3c1ad03221d3.tar.zst homework-8a395048300f94e1b60b8320277e3c1ad03221d3.zip |
Merge branch 'master' of github.com:RosstheRoss/TestingFun
-rw-r--r-- | csci1913/lab1/lab1_strap012.py | 2 | ||||
-rw-r--r-- | math2373/lab2.txt | 60 |
2 files changed, 2 insertions, 60 deletions
diff --git a/csci1913/lab1/lab1_strap012.py b/csci1913/lab1/lab1_strap012.py index 0150b0c..582c3be 100644 --- a/csci1913/lab1/lab1_strap012.py +++ b/csci1913/lab1/lab1_strap012.py @@ -54,7 +54,7 @@ if left(q) is v: return q else: if op(left(q)) in dispatcher: - newQ= dispatcher[op(left(q))](v,q) + newQ=dispatcher[op(left(q))](v,q) else: raise ValueError return solving(v,newQ) diff --git a/math2373/lab2.txt b/math2373/lab2.txt index dbd27c5..689a36b 100644 --- a/math2373/lab2.txt +++ b/math2373/lab2.txt @@ -9,14 +9,6 @@ A = 3 -8 1 0 29 -Aog=A - -Aog = - - 2 -1 4 -5 19 - -1 3 -2 -1 -18 - 0 1 5 -6 12 - 3 -8 1 0 29 A(1,:)=A(1,:)+A(2,:) @@ -27,50 +19,6 @@ A = 0 1 5 -6 12 3 -8 1 0 29 -A(2,:)=A(1,:)+A(1,:) - -A = - - 1 2 2 -6 1 - 2 4 4 -12 2 - 0 1 5 -6 12 - 3 -8 1 0 29 - -A(2,:)=A(1,:)-A(1,:) - -A = - - 1 2 2 -6 1 - 0 0 0 0 0 - 0 1 5 -6 12 - 3 -8 1 0 29 - -A(2,:)=A(1,:)-A(1,:) - -A = - - 1 2 2 -6 1 - 0 0 0 0 0 - 0 1 5 -6 12 - 3 -8 1 0 29 - -A=Aog - -A = - - 2 -1 4 -5 19 - -1 3 -2 -1 -18 - 0 1 5 -6 12 - 3 -8 1 0 29 - -A(1,:)=A(1,:)+A(2,:) - -A = - - 1 2 2 -6 1 - -1 3 -2 -1 -18 - 0 1 5 -6 12 - 3 -8 1 0 29 A(2,:)=A(2,:)+A(1,:) @@ -108,13 +56,7 @@ A = 0 0 -25 23 -77 0 -14 -5 18 26 -A(4,:)=A(2,:)1*4*A(2,:) - A(4,:)=A(2,:)1*4*A(2,:) - ↑ -{Error: Invalid expression. Check for missing multiplication operator, missing or -unbalanced delimiters, or other syntax error. To construct matrices, use brackets -instead of parentheses. -} + A(4,:)=A(2,:)+14*A(2,:) A = |