1 Linear Algebra/1.2.2 LU
LU 1
«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»A«/mi»«mo»=«/mo»«mi»#A«/mi»«/math».
Give L and U separated by commas, in this order and giving their names. Like this: L=Lmatrix, U=Umatrx.
]]>
1.0000000
0.1000000
0
0
L=#L, U=#U
<question><wirisCasSession><session lang="en" version="2.0"><library closed="false"><mtext style="color:#ffc800" xml:lang="es">variables</mtext><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"/></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><csymbol definitionURL="http://www.wiris.com/XML/csymbol">repeat</csymbol><mtable><mtr><mtd><mi>a1</mi><mo>=</mo><mi>random</mi><mfenced close="}" open="{"><mtable align="center"><mtr><mtd><mo>-</mo><mn>1</mn><mo>,</mo><mn>1</mn></mtd></mtr></mtable></mfenced><mo>·</mo><mi>random</mi><mfenced><mrow><mn>1</mn><mo>.</mo><mo>.</mo><mn>5</mn></mrow></mfenced><mo>;</mo><mi>a2</mi><mo>=</mo><mi>random</mi><mfenced><mrow><mo>-</mo><mn>5</mn><mo>.</mo><mo>.</mo><mn>5</mn></mrow></mfenced><mo>;</mo><mi>a3</mi><mo>=</mo><mi>random</mi><mfenced><mrow><mo>-</mo><mn>5</mn><mo>.</mo><mo>.</mo><mn>5</mn></mrow></mfenced></mtd></mtr><mtr><mtd><mi>b1</mi><mo>=</mo><mi>random</mi><mfenced><mrow><mo>-</mo><mn>5</mn><mo>.</mo><mo>.</mo><mn>5</mn></mrow></mfenced><mo>;</mo><mi>b2</mi><mo>=</mo><mi>random</mi><mfenced close="}" open="{"><mtable align="center"><mtr><mtd><mo>-</mo><mn>1</mn><mo>,</mo><mn>1</mn></mtd></mtr></mtable></mfenced><mo>·</mo><mi>random</mi><mfenced><mrow><mn>1</mn><mo>.</mo><mo>.</mo><mn>5</mn></mrow></mfenced><mo>;</mo><mi>b3</mi><mo>=</mo><mi>random</mi><mfenced><mrow><mo>-</mo><mn>5</mn><mo>.</mo><mo>.</mo><mn>5</mn></mrow></mfenced></mtd></mtr><mtr><mtd><mi>c1</mi><mo>=</mo><mi>random</mi><mfenced><mrow><mo>-</mo><mn>5</mn><mo>.</mo><mo>.</mo><mn>5</mn></mrow></mfenced><mo>;</mo><mi>c2</mi><mo>=</mo><mi>random</mi><mfenced><mrow><mo>-</mo><mn>5</mn><mo>.</mo><mo>.</mo><mn>5</mn></mrow></mfenced><mo>;</mo><mi>c3</mi><mo>=</mo><mi>random</mi><mfenced close="}" open="{"><mtable align="center"><mtr><mtd><mo>-</mo><mn>1</mn><mo>,</mo><mn>1</mn></mtd></mtr></mtable></mfenced><mo>·</mo><mi>random</mi><mfenced><mrow><mn>1</mn><mo>.</mo><mo>.</mo><mn>5</mn></mrow></mfenced></mtd></mtr><mtr><mtd><mi>A</mi><mo>=</mo><mfenced close="]" open="["><mrow><mfenced close="]" open="["><mrow><mi>a1</mi><mo>,</mo><mi>b1</mi><mo>,</mo><mi>c1</mi></mrow></mfenced><mo>,</mo><mfenced close="]" open="["><mrow><mi>a2</mi><mo>,</mo><mi>b2</mi><mo>,</mo><mi>c2</mi></mrow></mfenced><mo>,</mo><mfenced close="]" open="["><mrow><mi>a3</mi><mo>,</mo><mi>b3</mi><mo>,</mo><mi>c3</mi></mrow></mfenced></mrow></mfenced></mtd></mtr></mtable><mrow><mfenced close="&verbar;" open="&verbar;"><mi>A</mi></mfenced><mo>≠</mo><mn>0</mn></mrow></apply></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mfenced close="}" open="{"><mtable align="center"><mtr><mtd><mi>L</mi><mo>,</mo><mi>U</mi></mtd></mtr></mtable></mfenced><mo>=</mo><mi>lu_decomposition</mi><mfenced><mi>A</mi></mfenced></math></input></command></group></library><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mfenced close="&verbar;" open="&verbar;"><mi>A</mi></mfenced></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>172</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>A</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mfenced><mtable><mtr><mtd><mn>1</mn></mtd><mtd><mn>5</mn></mtd><mtd><mo>-</mo><mn>4</mn></mtd></mtr><mtr><mtd><mo>-</mo><mn>4</mn></mtd><mtd><mn>4</mn></mtd><mtd><mo>-</mo><mn>4</mn></mtd></mtr><mtr><mtd><mn>0</mn></mtd><mtd><mn>5</mn></mtd><mtd><mn>3</mn></mtd></mtr></mtable></mfenced></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>L</mi><mo>,</mo><mi>U</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mfenced><mtable><mtr><mtd><mn>1</mn></mtd><mtd><mn>0</mn></mtd><mtd><mn>0</mn></mtd></mtr><mtr><mtd><mo>-</mo><mn>4</mn></mtd><mtd><mn>1</mn></mtd><mtd><mn>0</mn></mtd></mtr><mtr><mtd><mn>0</mn></mtd><mtd><mfrac><mn>5</mn><mn>24</mn></mfrac></mtd><mtd><mn>1</mn></mtd></mtr></mtable></mfenced><mo>,</mo><mfenced><mtable><mtr><mtd><mn>1</mn></mtd><mtd><mn>5</mn></mtd><mtd><mo>-</mo><mn>4</mn></mtd></mtr><mtr><mtd><mn>0</mn></mtd><mtd><mn>24</mn></mtd><mtd><mo>-</mo><mn>20</mn></mtd></mtr><mtr><mtd><mn>0</mn></mtd><mtd><mn>0</mn></mtd><mtd><mfrac><mn>43</mn><mn>6</mn></mfrac></mtd></mtr></mtable></mfenced></math></output></command></group></session></wirisCasSession><correctAnswers><correctAnswer type="mathml">
L=#L, U=#U
</correctAnswer></correctAnswers><assertions><assertion name="syntax_expression" correctAnswer="0"/><assertion name="equivalent_symbolic" correctAnswer="0"/></assertions><localData><data name="inputField">inlineEditor</data><data name="inputCompound">false</data><data name="cas">false</data></localData></question>