Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Edited problem 1 answer
  • Loading branch information
mtf16101 committed Apr 19, 2020
1 parent ea95ddc commit a847b10
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Linear_Algebra-project.ipynb
Expand Up @@ -53,7 +53,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -154,7 +154,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 8,
"metadata": {},
"outputs": [
{
Expand All @@ -165,7 +165,7 @@
"Condition of K[2:13,2:13] = 52.23542514351013\n",
"\n",
"a) Expected error of u: 6.640986594413607\n",
"b) The condition of K is large because it means t is very \n",
"b) The condition of K is large because it ill-conditioned, meaning it is very sensistive to small changes in the input\n",
"c) Expected error of u[2:13]: 5.223542514351013e-15\n"
]
}
Expand All @@ -179,7 +179,7 @@
"error1 = condition1*1e-16\n",
"error2 = condition2*1e-16\n",
"print('a) Expected error of u:',error1)\n",
"print('b) The condition of K is large because it means t is very ')\n",
"print('b) The condition of K is large because it ill-conditioned, meaning it is very sensistive to small changes in the input')\n",
"print('c) Expected error of u[2:13]:',error2)"
]
},
Expand Down

0 comments on commit a847b10

Please sign in to comment.