MVR5 I/context/cfpushR6$%"aG'%"LG<$%%nameG%&stackG6#%"tG6#%inCopyright~(c)~1997~by~W aterloo~Maple~Inc.~All~rights~reserved.G6"C%-%'ASSERTG6#-%)assignedG6#F*@$4-%%t ypeG6$9%F*-%'assignG6$F<-&F*6#.%$newGF/-&F*6#.%%pushG6$9$F6$-%*substringG6$FK;"""!"#.Fgn-%'RETURNG6#Fgn>8$-%'indetsGFX@%0Fbo<"- %$mapG6$9!Fbo%%NULLGF/F/F/6", I5help/text/transtrans-%%TEXTG6,%"~G%MHELP~SCREEN~for~:~Transpose~of~the~transp oseGFbp%3PACKAGE~:~MatricesG%hoCONTENTS~:~This~function~checks~if~the~transpose ~of~the~transpose~is~equal~toG%8~~~~~~~~~~~the~matrix~AGFbp%T~~~~~~~~~~~~To~Cal l~:~>~A~:=~matrix([[1,2],[3,3]]);G%G~~~~~~~~~~~~~~~~~~~~~~>~transtrans(A);GFbpF /, I0context/cfparseR6#'%#CFG%)CF_CLASSG6=%(arglistG%(ActionsG%+ActionNameG%+Actio nKeysG%)AncestorG%-ConditionalsG%0ConditionalKeysG%%DataG%,DescriptionG%%fileG% %headG%+HelpStringG%(IfBlockG%%MenuG%$KeyG%&LocCFG%+MenuStringG%,MenuEntriesG%+ RecognizerG%-ReplacementsG%)SubMenusG%-SubMenusKeysG%#t0G%%tailG%%TestG%)warnin gsG%"xGF-F/CK@$0%4context/InitializedG%%trueG--FS6#.%-context/initGF/-FS6#%1con text/cmglobalG-FS6#%.context/cfgetG-FS6#%8context/cfparse/contentG-FS6#%6contex t/cfparse/menusG-FS6#%;context/cfparse/recognizerG>83FK>%0_EnvContextDataG-%&ta bleGF/>8%-Fdo6$Fet.%*CF_ACTIONG>8:-%%timeGF/-%)userinfoG6%F[o<#Fip-%(sprintfG6% QF%7.3f~:~Replacing~%d~Actions~by~Keys.6",&FbuF[oFau!""-%%nopsG6#F[u>8'Fht?&8>F [uF_sC&>82-Fgs6#-Fjs6$Q+MenuString6"Fev>&Fcv6#Fev-%*CM_ACTIONG6#Fhv>&Fgt6#FbwFe v-F]t6$FbwFht>87<#-%$seqG6$/&FgtFawFev/Fev-Fio6$%#opG7#-%(entriesG6#Fcv>Fet-%%s ubsG6$F[xFet>8)-Fdo6$Fet.%/CF_CONDITIONALG-Feu6%F[oFgu-Fiu6%QK%7.3f~:~Replacing ~%d~Conditionals~by~Keys.F\vF]v-F`v6#F_y>F[x-Fio6$%Bcontext/cfparse/splitcondit ionalsGF_y>F_y-F\y6$F[xF_y>FetF[y>8*Fht?&FevF_yF_sC'>Fhv-Fgs6#Q*ConditionF\v>&F dzFaw-%/CM_CONDITIONALGFdw>8+-Fio6$RF+F/F/F/@$-F:6$FKFcw&Fgt6#-%/CM_ACTION_DATA G6#-Fex6#FKF/F/F/Fev>&Fgt6#F][lFev-F]t6$F][lFht>F[x<#-F^x6$F`x/Fev-Fio6$Fex7#-F hx6#Fdz>Fet-%)CM_CLASSG6#-Fex6#F[y>88-Fdo6$Fet.%+CF_SUBMENUG-Feu6%F[oFgu-Fiu6$Q D%7.3f~:~Replacing~Submenus~by~Keys.F\vF]v>89Fht?&FevFd]lF_sC%>FhvF[w>&F_^lFaw- %+CM_SUBMENUGFdw>&Fgt6#Fd^lFev>F[x<#-F^x6$F`x/Fev-Fio6$Fex7#-Fhx6#F_^l>FetF[y>F et-F\y6$<%/F^qF_]l/%(CF_CODEG%(CM_CODEG/%-CF_SEPARATORG%-CM_SEPARATORGFet-Feu6% F[oFgu-Fiu6$QD%7.3f~:~Building~Menu~Templates~...F\vF]v-F`t6%Fet7"Fg`l>8=-%*int erfaceG6#.%*warnlevelG-F[al6#/F]al""!-Feu6%F[oFgu-Fiu6$Q@%7.3f~:~Building~Recog nizer~...F\vF]v>86-Fct6$Fet-%%evalG6#Fgt>%,ContextDataGF\bl-F[al6#/F^alFi`l-Feu 6%F[oFgu-Fiu6$Q>%7.3f~:~CONTEXTMENU~CompletedF\vF]v-F_o6#-F]bl6#FialF/6$FgtF`bl F/F\v, I-context/initR6"6#%.ReadlibDefineG6$%FCopyRight~1997~by~Waterloo~Maple~Inc.G%f nCopyright~(c)~1997~Waterloo~Maple~Inc.~All~rights~reserved.GF`clCco@$/F^sF_s-F _o6#F\p>8$FS-F\dl6#.%3context/autoassignG-F\dl6#.%9context/BuildInputStringG-F\ dl6#.%8context/InitializeProcsG-F\dl6#.Fjs-F\dl6#.Fip-F\dl6#.%?context/cfparse/ classtoifblockG-F\dl6#.%%*CM_GlobalG-FS6#.Fgs- F\dl6#.%%.CM_IsParsableG.-FS6#Fihl-F\dl6#.%1conte xt/jointextG-F\dl6#.%3context/multiparseG-F\dl6#.F\`l-F\dl6#.FM-F\dl6#.%+CM_Get VarsG-F\dl6#.%0CM_GetArrayVarsG-F\dl6#.%,CM_GetFuncsG-F\dl6#.%.CM_InertFuncsG-F \dl6#.%4convert/CONTEXTMENUG-F\dl6#.%F^sF_sF\pF`cl6%F`glF\ilF^sF`clF`cl, I)mainmenuRF/6#%)responseG6#%SCopyright~1996~by~Ananda~Gunawardena~&~Elias~Deeb aGF/C,-%&blankG6#F[o-%'printfG6#%aoChoose,~from~the~following~options,~the~appr opriate~route~to~proceed.|+G-F^em6#%]oAt~the~prompt~sign,~enter~your~selection~ followed~by~a~semi-colon|+G-F^em6#%S~~~1.~Find~the~inverse~of~the~coefficient~m atrix.|+G-F^em6#%W~~~2.~Find~the~determinant~of~the~coefficient~matrix.|+G-F^em 6#%jo~~~3.~Find~the~row~echelon~form~of~the~matrix~to~find~a~solution~to~the~sy stem|+G>Fbo-%)readstatGF/>%'finishGFbo@$5/Fafm%%exitG/Fafm%%EXITGC$-%&printG6#% 4Execution~SuspendedG-F_o6#Fbp-F_o6#FboF/6#FafmF/F/, I'linmat=F/%&falseGE\[l+%)GeometryGRF/63%"SG%"TG%#S1G%#S2G%#T1G%"iG%"jG%#g1G%#g 2G%#x1G%#x2G%#y1G%#y2G%#t1G%#t2G%%min1G%&indexGFgdmF/C*-Fjfm6#%]pThe~purpose~of ~this~function~is~to~demonstrate~the~effect~of~matrix~multiplicationG-Fjfm6#%`p on~a~2D~image.~The~image~must~be~entered~as~a~set~of~n~elements~where~n~is~the~ numberG-Fjfm6#%^pof~points~that~make~up~the~image.~The~matrix~is~a~2x2~matrix.~ The~function~displaysG-Fjfm6#%jothe~original~image~and~the~transformed~image.~T his~function~can~be~used~to~viewG-Fjfm6#%Dreflections,~rotations,~and~scalingGF jdm@)/9#""#C$@&-F:6$&9"F\em%$setG>FboFbjm-F:6$Fbjm%'matrixG>F[uFbjm@&-F:6$&Fcjm 6#F]jmFdjm>FboF][n-F:6$F][nFhjm>F[uF][n/F\jmF[o@'FfjmC'>F[uFbjm-F^em6#%Aplease~ enter~the~image~as~a~set|+G-Fjfm6#%FFor~example:~~S:=|fr[1,2],[3,2],[2,1]|hr;G> FboF^fm?(F/F[oF[oF/4-F:6$FboFdjmC$-F^em6#%>A~set~is~expected.~Try~again|+G>FboF ^fmF`jmC'>FboFbjm-F^em6#%;please~enter~the~matrix~T|+G-Fjfm6#%HFor~example:~A:= matrix([[1,1],[-1,1]]);G>F[uF^fm?(F/F[oF[oF/4-F:6$F[uFhjmC$-F^em6#%F[uF^fm-%&ERRORG6#%MIncorrect~arguments.~Type~?Geometry~for~ helpG/F\jmFbalC*Fg[nFj[n>FboF^fm?(F/F[oF[oF/F_\nC$Fc\n>FboF^fmFi\nF\]n>F[uF^fm? (F/F[oF[oF/Fa]nC$Fe]n>F[uF^fm-Fj]n6#%Ltoo~many~arguments.~Type~?Geometry~for~he lpG@%5550-%'rowdimGFav-%'coldimGFav4-F:6$&FboF\em%%listG2""$-F`v6#Ff_n2Fi_nF__n Fi]nC$-%%withG6#%&plotsG@&3/F__nF]jm/Fj_nF]jmC4>8&-Fhjm6$F]jm-F`vF`gm?(F_yF[oF[ oF]jmF_s?(FdzF[oF[oF[anF_s>&Fh`n6$F_yFdz-%&evalfG6$&&FboF\]lFjyF]jm>8(-%)multip lyG6$F[uFh`n>FcvFgo?(FdzF[oF[oF[anF_s>Fcv-%&unionG6$Fcv<#-%$colG6$FganFdz>Fet"$ ***?(F_yF[oF[oF[anF_s@$2&&FboFjyF\emFetC$>84F_y>FetFjbn>8-&&Fbo6#F^cnF\em>8/&Fc cnF^[n>FetFfbn?(F_yF[oF[o-F`vFixF_s@$2&&FcvFjyF\emFetC$>F^cnF_y>FetF]dn>8.&&Fcv FdcnF\em>80&FednF^[n>81-%)textplotG6%7%,&FacnF[oF^vF[o,&FfcnF[oF]jmF[o%/origina l~imageG/%&alignG<$%&ABOVEG%%LEFTG/%&colorG%$redG>Fhv-F\en6%7%,&FcdnF[oF^vF[o,& FgdnF[oF\oF[o%2transformed~imageG/Fcen<$Ffen%&BELOWG/Fhen%%blueG>F`[l-%*pointpl otG6%Fbo/Fhen%$REDG/%*thicknessG"#5>8,-Fhfn6%Fcv/Fhen%%BLUEGF\gn-%(displayG6#<& F`[lF`gnFhvFjdn3/F__nFi_n/Fj_nFi_nF/F/FagmF/%*trinverseGRF/6+%"AG%%flagG%#c1G%# r1G%'transAG%&invtAG%%invAG%(transiAG%$ansGFgdmF/C-Fjdm-Fjfm6#%boThe~purpose~of ~this~program~is~to~check~if~the~inverse~of~the~transposeG-Fjfm6#%Wof~a~matrix~ A~is~the~transpose~of~the~inverse;~that~isG-%)continueGF/@$5FffmFdfm-F_oF/@&F]^ nC&-F^em6#%ZEnter~the~matrix.~|frfor~example,~A:=matrix([[1,2],[2,3]])|+G>FboF^ fm?(F/F[oF[oF/4-F:6$FboFhjmC$-F^em6#%?Matrix~is~Expected.~Try~Again|+G>FboF^fm- Fjfm6$%;The~matrix~you~entered~is~G/Fbo-%&evalmGF`gmFc[nC$>Fbo-%(convertGFgjm-F jfm6$%6The~given~matrix~is~:GFfjnF_in@$FbinFcin>Fcv-F`_nF`gm>Fh`n-Fb_nF`gm@%3/F cvFh`n0-%$detGF`gmFbalC6>Fgan-&%'linalgG6#%*transposeGF`gm>F_y-&F_\o6#%(inverse G6#Fgan>Fdz-Fd\oF`gm>F`[l-F^\oF\]l-Fjfm6$%IThe~inverse~of~the~transpose~inv(trA )~=~GF_yF_in@$FbinFcin-Fjfm6$%KThe~transpose~of~the~inverse~tr(inv(A))~=~GF`[lF _in@$FbinFcin-F^em6#%^oIs~the~transpose~of~the~inverse~equal~to~the~inverse~of~ transpose?|+G-F^em6#%CEnter~your~answer~as:~yes;~or~no;|+G>F`gnF^fm?(F/F[oF[oF/ 53/F`gn%#noG0-%%normG6$-Fhjn6#,&F_yF[oF`[lF^vF]jmFbal3/F`gn%$yesGF`^oC1-F^em6#% TTry~to~find~a~matrix~for~which~this~property~holds|+GFjdm-F^em6#%2Enter~the~ma trix|+GF^fm>Fbo-F\[o6$%"%GFhjm-Fjfm6$%7You~entered~the~matrixGFbo>FcvFb[o>Fh`nF d[o@$Ff[oC*>FganF]\o>F_yFc\o>FdzFi\o>F`[lF[]oF\]oF_in@$FbinFcinF`]oF_in@$FbinFc inFjdm-F^em6#%JDoes~this~property~hold~for~this~matrix?|+G-F^em6#%CType~your~an swer~as~:~yes;~or~no;|+G>F`gnF^fm?(F/F[oF[oF/3F^^o/Fa^oFbalC$-Fjfm6#%QYour~answ er~is~not~correct.~Try~the~other~choiceG>F`gnF^fmF_in@$FbinFcin-Fjfm6#%ioIndeed ,~the~transpose~of~the~inverse~is~equal~to~the~inverse~of~the~transpose.GFjdm-F jfm6#%SSeed~of~thought!!!~Does~this~property~always~hold?G-Fjfm6#%WThis~matrix~ is~singular.~We~cannot~check~this~propertyGF/FagmF/%+transtransGRF/6*F`hnF_hn%( trans_AG%-trans_transAGFahn%#c2GFbhn%#r2GFgdmF/C8-Fjfm6#%^oThe~purpose~of~this~ program~is~to~check~the~validity~of~conjecture~G-Fjfm6$/))F[uFjgmFjgmF[u%9for~a ~given~matrix~A~.~~GF_in@$FbinFcin@&F]^nC&-F^em6#%jnEnter~the~given~matrix.~For ~example,~A:=matrix([[1,2],[2,3]]).|+G>F[uF^fm?(F/F[oF[oF/Fa]nC$F_jn>F[uF^fm-Fj fm6$Fejn/F[u-FhjnFavFc[nC$>F[uF[[o-Fjfm6$F_[oFhco>Fh`n-F^\oFav>Fcv-F^\o6#Fh`nFj dm-Fjfm6$%FThe~Transpose~of~the~matrix~trA~is~:~G/Fjbo-FhjnFbdoFjdm-Fjfm6$%MThe ~Transpose~of~the~Transpose~of~the~matrixG/Fibo-FhjnFixF_in@$FbinFcin>Fdz-F`_nF bdo>Fgan-Fb_nFbdo>F`[l-F`_nFix>F_y-Fb_nFix@%/-Fb^o6$-Fhjn6#,&F[uF[oFcvF^vF]jmFb al-Fjfm6%%=In~this~case,~the~conjectureGFhbo%'holds.G-Fjfm6#%MIn~this~case,~the ~conjecture~does~not~hold~.GFjdm-Fjfm6#%[oThis~is~the~end~of~the~transtrans~pro cedure.Please~enter~anotherG-Fjfm6#%\omatrix~and~execute~the~procedure~to~get~a ~feel~for~this~property.G-Fjfm6#%@Try~to~give~a~proof~in~general.GF/FagmF/%)tra innetGRF/6LFfdmFghn%#MbG%#NbGF^hmF_hm%"kG%"lG%"MG%"NG%&thetaG%"bG%'bthetaG%#UMG %#UNG%#fvG%#fuG%"uG%"vG%&deltaG%'delta1G%%averG%'deltaMG%'deltaNGFP%#IRG%#ORGF% %#v1G%(deltaMbG%(deltaNbG%&fnetiG%%netiG%$UMbG%$UNbG%$IRbG%%netjG%&fnetjG%#TOG% &inputG%+iterationsG%&alphaGFgdmF/Chn-F^em6#%\o~~The~purpose~of~this~procedure~ is~to~simulate~a~neural~network.|+G-F^em6#%E~~More~specifically,~this~procedure |+G-F^em6#%ho~~~1.~~simulates~and~train~a~neural~net~using~the~back~propagation ~algorithm|+G-F^em6#%eo~~~2.~~checks~if~the~trained~net~recognizes~the~set~of~r ules~by~producing|+G-F^em6#%Q~~~~~~~an~output~"close~to"~the~targeted~output|+G -F^em6#%hn~~For~more~details,~please~see~Application~2.3~from~Unit~Two|+GFjdm@$ F]^nC'-F^em6#%enNeural~net~is~trained~using~an~iterative~process.~You~may|+G-F^ em6#%]ochoose~the~number~of~iterations.~How~many~iterations~do~you~want?|+G>8LF ^fm>FafmF`[p@$FcfmFcin@$Fc[n>F`[pFbjm-F^em6#%VPlease~enter~the~input~rules~in~t he~form~of~a~matrix|+G-F^em6#%\oFor~example,~matrix([[1,0,1,0,0,1,0],[1,0,0,1,0 ,0,1]])~represent|+G-F^em6#%intwo~input~rules.~(Input~rules~(a)~and~(b)~of~Appl ication~2.3)|+G>8KF^fm>FafmF_\p@$FcfmFcin?(F/F[oF[oF/4-F:6$F_\pFhjmC&-F^em6#%1M atrix~expected|+G>F_\pF^fm>FafmF_\p@$FcfmFcin>8G-Fa\o6#F_\p-F^em6#%enPlease~ent er~the~targeted~output~of~each~rule~as~a~matrix|+G-F^em6#%MFor~example,~matrix( [[1,0,0,0],[0,1,0,0]]);|+G>8JF^fm>FafmFh]p@$FcfmFcin?(F/F[oF[oF/4-F:6$Fh]pFhjmC &Fg\p>Fh]pF^fm>FafmFh]p@$FcfmFcin>Fev-Fa\o6#Fh]p>8M.Fg^p-F^em6#%ZEnter~the~scal ing~function~as~f:=t->1/(1+exp(-alpha*t));|+GF^fm>8Fg^pF^fm@%/Fg^p"#]C$>F]_pRF+F/F __pF/*$,&F[oF[o-Fe_p6#,$FK!#]F[oF^vF/F/F/-Fjfm6$%8The~scaling~function~isGF^`pC $>F]_pRF+F/F__pF/Fb_pF/F/Fj_pFhap>Fh`n-Fhjm6#7&7&$F^vF\o$F[oF\o$F]jmF\oFdbp7&Fc bpFdbpFebp$Fi_nF\o7&FcbpFgbpFebpFdbp7&FcbpFdbpFgbpFdbp>Fcv-Fhjm6#7)7%Fcbp$F\oF\ oFcbp7%FdbpFebpFgbp7%FdbpFgbpFdbp7%FdbpFdbpFebp7%FgbpFebpFdbp7%FebpFdbpFebp7%Fc bpFgbpFdbp-Fjfm6$%enThe~original~weights~of~the~input~layer~is~a~random~matrixG /FcvF\eo-Fjfm6$%fnThe~original~weights~of~the~output~layer~is~a~random~matrixG/ Fh`nFgdoF_in@$FcfmFcin-F^em6#%WWe~start~training~the~net~and~updating~of~the~we ights|+G-F^em6#%Fusing~the~back~propagation~algorithm|+G?(FfcnF[oF[oF`[pF_sC$?( F`[lF[oF[o-F`_nF`]pF_sC8>8H-Fian6$-Fa\o6#-F\[o6$-Fcbn6$F^]pF`[lFhjmFcv>8I-%'vec torG6#7&F[o-F]_p6#&F[ep6$F[oF[o-F]_p6#&F[ep6$F[oF]jm-F]_p6#&F[ep6$F[oFi_n>Fial- Fian6$-Fa\o6#-F\[o6$FeepFhjmFh`n>Fet-Fgep6#7&-F]_p6#&FialF]fp-F]_p6#&FialFafp-F ]_p6#&FialFefp-F]_p6#&Fial6$F[o""%-F^em6$%FThis~is~net~output~for~input~rule~%d |+GF`[l-Fjfm6#Fet>F[x-Fgep6#F^hp?(F_yF[oF[oF^hpF_s>&F[xFjy*(&FetFjyF[o,&F[oF[oF [ipF^vF[o,&&-Fcbn6$FevF`[lFjyF[oF[ipF^vF[o>8A-Fhjm6$F^hpF^hp?(F_yF[oF[oF^hpF_s? (FganF[oF[oF^hpF_s>&Fbip6$F_yFgan,$*&FihpF[o&FeepFg\oF[o$Fi_nF^v/F`gn-Fhjn6#-Fa \o6#Fbip>8E-Fhjn6#,&FajpF[oFh`nF[o>Fh`n-Fhjn6#Fdjp>F_^l-Fgep6#Fi_n?(F_yF[oF[oFi _nF_s>&F_^lFjy-%$sumG6$*&&F[xF\]lF[oF_anF[o/Fdz;F[oF^hp>Fd]lF\[q?(F_yF[oF[oFi_n F_s>&Fd]lFjy*(&FeepFjyF[o,&F[oF[oF]\qF^vF[oF`[qF[o>8B-Fhjm6$""(Fi_n?(FganF[oF[o Fc\qF_s?(F_yF[oF[oFi_nF_s>&F`\q6$FganF_y,$*&F[\qF[o&FbepFg\oF[oF]jp/F`\q-Fhjn6# F`\q>8F-Fhjn6#,&F`\qF[oFcvF[o>Fcv-Fhjn6#F`]q@$2FfcnF`[p-Fjfm6$%8This~is~iterati on~roundG,&FfcnF[oF[oF[oF_in@$FcfmFcin-Fjfm6#%?These~are~the~trained~matricesG- Fjfm6#%QThe~adjusted~weight~matrix~of~the~input~layer~isG-Fjfm6#FicpFjdm-Fjfm6# %RThe~adjusted~weight~matrix~of~the~output~layer~isG-Fjfm6#F]dp-Fjfm6#%foDo~you ~want~to~check~whether~the~above~matrices~actually~do~train~the~net?|+G-F^em6#% 4Answer~yes;~or~~no|+G>F[uF^fm>FafmF[u@$FcfmFcin@$/F[uFi^oC+Fjdm?(FganF[oF[oFhd pF_sC=-F^em6$%HEnter~your~input~rule%d~as~a~1x7~matrixGFgan>FboF^fm>FafmFbo@$Fc fmFcin?(F/F[oF[oF/F[jnC&Fg\p>FboF^fm>FafmFbo@$FcfmFcin>Ffcn-Fian6$FboFcv-Fjfm6$ %;The~intermediate~output~isG/Ffcn*&FgjnF[oF\eoF[oFjdm>8?-Fgep6#7&F[o&FfcnF]fp& FfcnFafp&FfcnFefp>F]_pRF+F/F__pF/Fb_pF/F/Fj_p>F]aq-Fgep6#7&-Fban6#-F]_p6#&F]aqF \em-F]_p6#&F]aqF^[n-F]_p6#&F]aqF][q-F]_p6#&F]aqFfhp-Fjfm6$%_oThe~firing~of~the~ intermediate~output~by~the~scaling~function~yieldsGF]aqFjdm>F]aq-F\[o6$F]aqFhjm >Fial-Fian6$-Fa\o6#F]aqFh`n-Fjfm6#%hoMultiplying~the~fired~intermediate~output~ by~the~updated~output~matrix~yieldsG-Fjfm6#/Fial*&-Fhjn6#FacqF[oFgdoF[oFjdm>Fia l-F\[o6$FialFgep>8@-Fgep6#7&-Fban6#-F]_p6#&FialF\em-F]_p6#&FialF^[n-F]_p6#&Fial F][q-F]_p6#&FialFfhp-Fjfm6$%2The~net~output~isGF`dqFjdm-F^em6$%FCompare~with~th e~targeted~output~%d~|+GFgan-Fjfm6#-Fcbn6$FevFganFjdmF_in@$FcfmFcin-F^em6#%goIs ~the~net~output~within~a~"reasonable~tolerance"~from~the~targeted~output?|+G-F^ em6#%Jfor~each~input~rule?~Answer:~yes;~or~no;|+GFjdm>F[uF^fm>FafmF[u@$FcfmFcin @%/F[uF_^o-Fjfm6#%_oYou~may~need~to~choose~more~iteration~in~trainnet()~to~trai n~the~netGC%-Fjfm6#%FThe~updated~input~and~output~matricesG-Fjfm6$FicpF]dp-Fjfm 6#%Uhave~the~proper~weights~and~the~net~has~been~trainedGFjdm-Fjfm6#%]oYou~may~ try~to~train~the~net~with~different~input~and~output~rulesGF/FagmF/%)LUdecompGR F/6N%&AUGGGG%$n11GFghnF`hnF^hmF_hmFbgo%"nG%$numGF_hn%#A1G%#b1G%$AUGG%(colflagGF ihm%'norowsG%#IdG%&lowerG%$pdtG%%tempG%%EpdtGFfdm%'secmulG%%rsetG%)firstmulG%)f irstrowG%'secrowG%%pdt1G%+multiplierG%'rownumG%%row2G%%leftG%%row1G%)typeflagG% 'rowaddG%(tempaugG%#L1G%#u1G%*undocountG%(leftrowG%'assrowG%(rowsaveG%"mG%%Rset GFgdmF/C2Fjdm-Fjfm6#%goThe~purpose~of~this~procedure~is~to~demonstrate~the~step s~needed~to~find~theG-Fjfm6#%[pLU~decomposition~of~a~given~matrix~and~to~intera ct~with~the~function~to~find~theG-Fjfm6#%]pLU~decomposition~yourself.~For~more~ information~type~?LUdecomp~at~the~Maple~promptGFjdm@%F]^nC$-F^em6#%hnEnter~a~ma trix.~For~example~type~:~A:=matrix([[0,1],[3,3]]);|+G>FcdnF^fm>FcdnFbjm?(F/F[oF [oF/4-F:6$FcdnFhjmC&-F^em6#%FcdnF^fm>FafmFcdn@$F cfm-F_o6#%$ByeG>FcvFbal?(FganF[oF[o-%%rankG6#FcdnF_s@$/-Fj[o6#-%*submatrixG6%Fc dn;F[oFganFi\rFbal>FcvF[o@$/FcvF[oC&Fjdm-Fjfm6%%,The~matrix~GFcdn%I~does~not~ha ve~a~unique~LU~factorizationG-Fjfm6#%DType~?LUdecomp~for~more~informationGFjdm- Fjfm6#%CSelect~one~of~the~following~modes:G-F^em6#%:~~~1.~Demonstration~mode|+G -F^em6#%8~~~2.~Interactive~mode|+G-F^em6#%V~~~3.~No~Intermediate~steps.~Just~gi ve~me~the~answer|+G>Fh`nF^fm@(/Fh`nF[oCT>FhvF[o@$Fc[n>FgdnF[[o@$F]^n>Fgdn-F\[oF b[r>Fbo-Fhjn6#Fgdn>F`[l-%(vectdimG6#-Fcbn6$FgdnF[o>FetF`[l>F^cn-Fhjm6$FetFet?(F ganF[oF[oFetF_sC$?(F_yF[oF[oFetF_s>&F^cnFh\qFbal>&F^cn6$FganFganF[o>85-Fgep6#,$ *&F`[lF[o,&F`[lF[oF[oF[oF[o#F[oF]jm>F[uFd`r?(FganF[oF[oF[uF_s>&Fa`rFg\oFf_r>&Fa `rF\emF^cn-Fjfm6#%RThe~LU-Decomposition~of~the~matrix~is~obtained~byG-Fjfm6$%Ep erforming~the~gauss~elimination~on:GFgdnF_in@$55Fdfm/Fafm%%ExitGFffmFj[r>F`[l-F b_nF]_r>8N-F`_nF]_r@$2F\brF`[l>F`[lF\br?(FganF[oF[oF`[lF_sC)>FdzFgan?(F/F[oF[oF /3/&Fgdn6$FdzFganFbal2FdzF\br>Fdz,&FdzF[oF[oF[o>FjdnFbal?(F_y,&FganF[oF[oF[oF[o F\brF_s@$0&FgdnFiipFbal>FjdnF[o@$0&FgdnF_`rFbalC$@$/FjdnF[oC$-Fjfm6$%A~Perform~ elimination~on~column~:GFgan-Fjfm6#%E************************************G@$0Fe crF[oC.Fjdm>F[xFecr-Fjfm6(%+Divide~rowGFgan%4of~the~given~matrixGFgdn%#byGFecr> Fgdn-%'mulrowG6%FgdnFgan*$FecrF^vFjdm-Fjfm6$%4to~get~the~matrix~:GFgdn>&Fa`rFdw -F[er6%F^cnFgan*$F[xF^v-Fjfm6$%RPerform~the~same~operation~on~the~identity~matr ixG-FhjnFdcn-Fjfm6$%Lto~get~the~corresponding~elementary~matrix:G/&%"EGFdw-Fhjn 6#Fber>Fhv,&FhvF[oF[oF[oF_in@$Fear-F_o6#%*Try~LaterGFjdm?(F_yF^crF[oF\brF_s@$F` crC.>F[x,$FacrF^v-Fjfm6*%-Multiply~rowGFganFgdrFgdn%$~byGF\gr%4and~add~that~to~ rowGF_y>Fgdn-%'addrowG6&FgdnFganF_yF\grFjdm-Fjfm6$%3to~get~the~matrix:GFgdn>Fbe r-Fdgr6&F^cnFganF_yF[xFjdm-Fjfm6$FherF^cnFjer>FhvFcfrF_in@$FearFj[r@$30&Fgdn6$F `[lF`[lFbal0FchrF[oC*-Fjfm6(%(The~rowGF`[l%.of~the~matrixGFgdn%2~is~multiplied~ byG*$FchrF^v>Fber-F[er6%F^cnF`[lF\ir>F[xF\ir>Fgdn-F[er6%FgdnF`[lF\irFjdm-Fjfm6( FihrF`[lFjhrF^cnF[irF[xFjer>FhvFcfr>FialF]ar>Fd]l&F_frF\em?(FganF]jmF[o,&FhvF[o F^vF[oF_sC$>Fial-Fhjn6#-%#&*G6$F[arFial>Fd]l*&&F_frFg\oF[oFd]lF[o-Fjfm6#%[pAppl ying~elementary~row~operations~on~the~given~matrix~to~obtain~its~row~echelonG-F jfm6#%ioform~U,~is~equivalent~to~pre-multiplying~the~matrix~by~the~elementary~m atricesG>%"UG.F][s-Fjfm6#/*&Fd]lF[o-Fhjn6#FacnF[oF][sFjdm-Fjfm6$%>The~upper~tri angular~matrix~:G/F][s-Fhjn6#-&F_\o6#%*gausselimGF]_r-Fjfm6#%Ois~the~row~echelo n~form~of~the~original~matrixGF_in@$FearFj[rFjdm>%"PG.Fd\s-Fjfm6$%SThe~product~ of~the~elementary~matrices~is~given~byG/Fd\sFd]l-Fjfm6$%4Which~is~equal~to~:G/F d\s-FhjnF\cl>Fd\sFialF_in@$FearFj[r-Fjfm6#%hnThe~lower~triangular~matrix~L~is~t he~inverse~of~this~matrix~PG-Fjfm6#/F'-Fd\oF\clFjdm>F'Fg]sF_in-Fjfm6#%WTherefor e~the~LU~decomposition~of~the~given~matrix~is:G-Fjfm6#/Fgjn*&-Fhjn6#F'F[oF\_rF[ oFjdm-Fjfm6#%doThis~is~the~end~of~the~~LU~decomposition~demostration~version.~T ry~other~G-Fjfm6#%Bexamples~to~learn~this~procedure.G/Fh`nF]jmCao>8O-Fgep6#71%# R1G%#R2G%#R3G%#R4G%#R5G%#R6G%#R7G%#R8G%#R9G%$R10G%$R11G%$R12G%$R13G%$R14G%$R15G >8;-Fgep6#71FbhnFabo%#r3G%#r4G%#r5G%#r6G%#r7G%#r8G%#r9G%$r10G%$r11G%$r12G%$r13G %$r14G%$r15G>FhvF[o@$Fc[n>FgdnF[[o@$F]^n>FgdnFj^r>FboF\_r>F`[lF__r>FetF`[l@$Fh^ sC*>FetF__r>F^cnFf_r?(FganF[oF[oFetF_sC$?(F_yF[oF[oFetF_s>F\`rFbal>F^`rF[o>Fa`r Fb`r>F[uFd`r?(FganF[oF[oF[uF_s>F[arFf_r>F]arF^cn-%*gaussmenuGF/>F_^l%&BEGING-Fj fm6$%7The~orginal~matrix~is:GFgdnFjdm>FcvF[o>FhvF[o?(F/F[oF[oF/30FcvFbal0FcvF]j mC*-F^em6#%hpPlease~enter~~at~each~step~a~row~operation~as~in~the~above~menu~to ~get~the~LU-~decomposition|+G-F^em6#%jn~Rj~or~Ri~=~c* Rj~+~Ri~or~Ri~=~c*Ri~>|+G>F_^lF^fm>FafmF_^l@$5FcfmFgar-F_o6#%&AdiosG@-5/F_^lFgf m/F_^lFefmC$>FcvFbal>Fh]pFbal5/F_^l%&rowecG/F_^l%&ROWECGC'>FgdnF[\s?(FganF[oF[o FetF_s@$Fdcr>FgdnFjdr-Fjfm6$%DThe~matrix~in~row~echelon~form~is~:GFgdn>FcvF]jm> Fh]pFbal5/F_^l%%undoG/F_^l%%UNDOGC%@(/FdjpF[o>Fgdn-%(swaprowG6%Fgdn8DF`\q/FdjpF ]jm>Fgdn-F[er6%FgdnFbip*$F`dqF^v/FdjpFi_n?(FganF[oF[oFjarF_s>&Fgdn6$F`[pFgan&Fg ^pFg\o@%/Fh]pFbalC$-Fjfm6$%FBefore~your~selection~the~matrix~was~GFgdn>Fh]p,&Fh ]pF[oF[oF[o-Fjfm6#%Xonly~one~level~of~undo~is~permitted~in~the~demo~versionG>Fh vF[jr-F:6$-%$rhsGFc_l%)monomialGC%?(FganF[oF[oFetF_s@$50-%&coeffG6$F]hs&F_`sFg\ oFbal0-Ffhs6$F]hs&F[_sFg\oFbalC%@$Fdhs>F`dqFehs@$Fihs>F`dqFjhs>FbipFgan@%/F`dqF [oC.>F`\qFbip>8C-%$lhsGFc_l?(FganF[oF[oFetF_sC$@$/FhhsFhis>FcfsFgan@$/F\isFhis> FcfsFgan>FgdnF`fs-Fjfm6&%0Interchange~rowGFcfs%$andGF`\q-Fjfm6$%8This~is~the~ne w~matrix:GFgdnFjdm>Fber-Fafs6%F^cnFcfsF`\q-Fjfm6$%CApply~the~same~row~operation s~to~:GF^cn-Fjfm6$%PWe~obtain~the~corresponding~elementary~matrix~:GF]fr>FdjpF[ o>FhvFcfrC$?(FganF[oF[oFetF_s@$50-Ffhs6$FiisFhhsFbal0-Ffhs6$FiisF\isFbal>F_\pFg an@%/F_\pFbipC+>Fgdn-F[er6%FgdnFbipF`dq-Fjfm6&F_grFbipFhdrF`dq-Fjfm6$%7This~is~ the~new~matrixGFgdnFjdm>Fber-F[er6%F^cnFbipF`dq-Fjfm6$%IBy~applying~the~same~ro w~operations~to~:GF^cn-Fjfm6$%Pwe~obtain~the~corresponding~elementary~matrix~:G F]fr>FdjpF]jm>FhvFcfr-Fjfm6#%foinvalid~row~multiplication.~Multiplied~row~must~ be~assigned~to~the~same~rowG>Fh]pFbal-F:6$F]hs%(polynomGC0>Fi`lFbal>FevFbal?(Fg anF[oF[oFetF_sC$@$Fi[t@&Fj[t>F`[pFganF]\t>F`[pFgan@$Fchs@%/Fi`lFbalC$>Fi`lFgan@ &Fdhs>F]_pFehsFihs>F]_pFjhsC$>FevFgan@&Fdhs>FauFehsFihs>FauFjhs>Fg^p-%$rowG6$Fg dnF`[p?(FganF[oF[oFjarF_s>F\gs&-Fhjn6#,&*&F]_pF[o-Ff_t6$FgdnFi`lF[oF[o*&FauF[o- Ff_t6$FgdnFevF[oF[oFg\o>Fber-Fdgr6&F^cnFi`lFevF]_p@'3/F]_pF[o/Fi`lF`[p-Fjfm6(%. multiply~row~GFevFhdrFau%/and~add~to~rowGFi`l3/FauF[o/FevF`[p-Fjfm6(F]atFi`lFhd rF]_pF^atFev-F^em6-%G~~~~~~~%s~%d~%s~%d~%s~%d~%s~%d~%s~%d~|+G%-multiply~rowGFi` lFhdrF]_p%(and~rowGFevFhdrFau%6add~and~assign~to~rowGF`[p-Fjfm6$%4The~new~matri x~is~:GFgdnFjdm-Fjfm6$%QApply~the~same~row~operations~to~identity~matrixGF^cn-F jfm6$%Pto~obtain~the~corresponding~elementary~matrix~:GF]fr>FdjpFi_n>Fh]pFbal>F hvFcfrC$-Fjfm6#%@incorrect~selection.~Try~again.G>Fh]pFbal>F^]pF[\s@$/-Fb^o6$-F hjn6#,&F^]pF[oFgdnF^vF[oFbalC%>F_yF]br?(F/F[oF[oF//&Fgdn6$F_yF_yFbal>F_y,&F_yF[ oF^vF[o@$3/FgctF[oFbcsC%F_in-Fjfm6$%LYou~obtained~the~matrix~in~row~echelon~for mGFgdn>FcvF]jm@$3/FcvFbalFbcs-Fjfm6#%Kwarning.~Matrix~is~not~in~row~echelon~for mGFjdm-F^em6#%HWhat~is~the~upper~triangular~matrix~U?|+G-Fjfm6#%LEnter~your~ans wer~as~a~matrix.~For~example,G-Fjfm6#%Atype:~>U:=matrix([[1,2],[0,2]]);GFjdm>F] [sF^fm?(F/F[oF[oF/4-F:6$F][sFhjmC&>FafmF][s@$FcfmFcin-F^em6#%1Matrix~Expected|+ G>F][sF^fm@&FdetC$Fe]n>F][sF^fm50-F`_r6#-Ff_t6$F][sF[o-F`_r6#-FcbnFfft0Fcft-F`_ r6#-Ff_tFc_rC&-Fjfm6#%TThe~matrix~is~not~square~or~dimensions~incompatibleG-Fjf m6#%0Enter~a~matrix|+G>F][sF^fm@$FcfmFcin@%0-Fb^o6$-Fhjn6#,&FgdnF[oF][sF^vF[oFb alC%-Fjfm6#%PYour~answer~is~incorrect.~The~correct~matrix~isG-FjfmF]_r-Fjfm6#%N which~is~the~matrix~A~in~its~row~echelon~formG-Fjfm6$%?Good!~The~correct~matrix ~is~:~GFgdnFjdm>FialF]ar>F]aqFf_r>F]aqFial?(FganF]jmF[oF[jrF_sC$>Fial-Fhjn6#-Fa jr6$F[arF]aq>F]aqFialFjdm-F^em6#%P~~How~would~find~the~lower~triagular~matrix~L ?|+G-F^em6#%en~~~~~~1.~Take~the~inverse~of~the~upper~triangular~matrix.|+G-F^em 6#%`o~~~~~~2.~Take~the~inverse~of~the~product~of~the~elementary~matrices.|+G-F^ em6#%A~~~~~~3.~Take~the~inverse~of~A.|+G-Fjfm6#%=GF jdm>Fh`nF^fm@$FcfmFcin@%0Fh`nF]jmC$-Fjfm6#%XIncorrect.~The~lower~triangular~mat rix~L~is~obtained~byG-Fjfm6#%gntaking~the~inverse~of~the~product~of~the~element ary~matricesGC$-Fjfm6#%+Very~Good!GF_inFjdm-Fjfm6$%ZThe~product~of~the~elementa ry~matrices~E1,~E2,~..~is~P~=~GFial>Fd\sFialFjdm-F^em6#%HWhat~is~the~lower~tria ngular~matrix~L?|+G-F^em6#%8~~~~~~1.~inverse~of~P.|+G-F^em6#%R~~~~~~2.~transpos e~of~the~row~echelon~form~of~P.|+G-F^em6#%N~~~~~~3.~product~of~the~elementary~m atrices.|+GF`jtFjdm>F[epFg]s>Fh`nF^fm>FafmFh`n@$FcfmFcin@%0Fh`nF[oC$-Fjfm6#%gnI ncorrect.~The~lower~triangular~matrix~L~is~the~inverse~of~PG-Fjfm6#/)Fd\s%#-1G- Fhjn6#F[epC$F_[uF_in>F'F[ep>F][sFgdn-F^em6#%TTo~verify~the~answer,~multiply~the ~matrices~L~and~UG-Fjfm6$%$LU=G/*&F`^sF[o-Fhjn6#F][sF[o-Fhjn6#-Fajr6$F'F][sFjdm -Fjfm6#/%OIs~this~product~the~same~as~the~given~matrix~AGF`^u-F^em6#%4Answer~ye s;~or~no;|+G>Fh`nF^fm>FafmFh`n@$FearFcin@%/Fh`nF_^o-Fjfm6#%1Redo~the~problemGC$ -Fjfm6#%WYou~obtained~the~LU~decomposition~of~the~given~matrix:G-Fjfm6#/F_^sF`^ uFjdm-Fjfm6#%foThis~is~the~end~of~the~interactive~LUdecomp~procedure.~Please~en ter~anotherG-Fjfm6#%hnmatrix~and~execute~the~procedure~to~learn~the~steps~invol ved.G/Fh`nFi_nC6>FhvF[o@$Fc[n>FgdnF[[o@$F]^n>FgdnFj^r>FboF\_r>F`[lF__r>FetF`[l> F^cnFf_r?(FganF[oF[oFetF_sC$?(F_yF[oF[oFetF_s>F\`rFbal>F^`rF[o>Fa`rFb`r>F[uFd`r ?(FganF[oF[oF[uF_s>F[arFf_r>F]arF^cn?(FganF[oF[o,&F`[lF[oF^vF[oF_sC%?(FdzFganF[ oF`[lF_s@$0FgbrFbalC%@$0FdzFganC(>Fber-Fafs6%F^cnFdzFgan>Fgdn-Fafs6%FgdnFdzFgan Fjdm>FhvFcfrF_in@$FearFefrFjdm%&breakG@$FdcrC%>FjdnF[o?(F_yF^crF[oF`[lF_s@$F`cr >FjdnFbal@$FadrC%>Fber-F[er6%F^cnFganF]er>FgdnFjdr>FhvFcfr?(F_yF^crF[oF`[lF_s@$ F`crC%>Fber-Fdgr6&F^cnFganF_yF\gr>FgdnFcgr>FhvFcfr@$FahrC%>FberF^ir>FgdnFbir>Fh vFcfr>FialF]ar?(FganF]jmF[oF[jrF_s>FialF^jr>Fd\sFial>F'Fg]s-Fjfm6#%NThe~LU~deco mposition~of~the~given~matrix~is~:GF\^sF/6&FafmFd\sF'F][sF/%*matrixmulGRF/6'F_h n%"BGF^hmF_hmFehqFgdmF/C+-Fjfm6#%XThe~purpose~of~this~procedure~is~to~show~the~ process~ofG-Fjfm6#%enmultiplying~two~matrices~A~and~B~and~obtaining~the~entries G-Fjfm6#%9of~the~product~matrix~ABGFjdm@)F[jmC$>FboFbjm>F[uF][nFc[nC(>FboFbjm-F jfm6#/%F [uF^fm?(F/F[oF[oF/Fa]nC$F_jn>F[uF^fm-Fjfm6#/%FboF^fm?(F/F[oF[oF/F[jnC$F_jn>FboF^ fmFcjn-F^em6#%BPlease~enter~the~second~matrix~B|+G>F[uF^fm?(F/F[oF[oF/Fa]nC$F_j n>F[uF^fmFfco-Fj]n6#%(Error!!G@%/Fd[oF__nC'>Fgan-Fhjm6$Fb[oFa_n-Fjfm6#/%DThe~pr oduct~of~the~two~matrices~AB~G*&FgjnF[oFicoF[o-Fjfm6#%7is~obtained~as~followsG? (Fh`nF[oF[o-F`_nFg\oF_s?(FcvF[oF[o-Fb_nFg\oF_s>&Fgan6$Fh`nFcv%"*G?(Fh`nF[oF[oFb [oF_s?(FcvF[oF[oFa_nF_sC+F_in@$FbinFcin-F^em6%%inMultiply~row~%d~of~the~matrix~ A~and~column~%d~of~the~matrix~B|+GFh`nFcv-F^em6%%Pto~get~the~(%d,%d)-th~entry~o f~the~product~AB~|+GFh`nFcv-Fjfm6#/*&-Fhjn6#-Ff_t6$FboFh`nF[o-Fhjn6#-F\[o6$-Fcb n6$F[uFcvFhjmF[o-%*innerprodG6$FfjuF\[vFjdm>FciuF^[v-Fjfm6#%Land~write~the~entr y~into~the~product~matrixG-Fjfm6#/%#ABG-FhjnFg\o-Fjfm6#%ZThe~matrix~dimensions~ are~incompatible~for~multiplicationGFjdm-Fjfm6#%HEnd~of~matrix~multiplication~p rocedure.G-Fjfm6#%KTry~your~own~examples~to~learn~the~processGF/FagmF/%*trprodu ctGRF/62F`hnF_hnF^euF^hq%#B1GFahnF`boFbhnFabo%(mult_ABG%)trans_ABGF^bo%(trans_B G%&tA_tBGFghn%&tB_tAGFgdmF/C3>F[u.F[u>Fh`n.Fh`n-Fjfm6#%YThe~purpose~of~this~pro gram~is~to~check~the~conjecture~:G-Fjfm6#%Yif~the~transpose~of~the~product~of~t wo~matrices~is~equalG-Fjfm6#%Lto~the~product~of~their~transpose;~that~is,G-Fjfm 6#/)Fh[vFjgm*&FjboF[o)Fh`nFjgmF[oF_in@$FbinFcin@&F]^nC*-F^em6#%aoPlease~Enter~t he~first~matrix.~For~example,~A:=matrix([[1,2],[2,3]]).|+G>FcvF^fm?(F/F[oF[oF/4 -F:6$FcvFhjmC$F_jn>FcvF^fm-Fjfm6$Fejn/F[uF\eo-F^em6#%BPlease~Enter~the~second~m atrix~B|+G>FganF^fm?(F/F[oF[oF/4-F:6$FganFhjmC$F_jn>FganF^fm-Fjfm6$Fejn/Fh`nFi[ vF[jmC'>FcvF[[o>Fgan-F\[oFa[n-Fjfm6$%6The~first~matrix~is~:GF__vFjdm-Fjfm6$%=Th e~second~given~matrix~is:~GF\`vF_in@$FbinFcin>F`[lFceo>F_yFeeo>F`gnF_iu>FdzFaiu @%3/F`gnF_y/F`[lFdzC=>Facn-&F_\o6#Fian6$FcvFgan>Fcdn-F^\oFd[s>Ffcn-F^\oFix>Fgdn -F^\oFg\o>Fjdn-Fcav6$FfcnFgdn>Fet-Fcav6$FgdnFfcn-Fjfm6$%OThe~transpose~of~the~p roduct~transpose(AB)~is~G/F]^v-FhjnFa\rF_in@$FbinFcin-Fjfm6#%ZThe~product~of~th e~transpose~transpose(A)transpose(B)~is~G-Fjfm6#-Fhjn6#FjdnF_in@$FbinFcin-Fjfm6 #%ZThe~product~of~the~transpose~transpose(B)transpose(A)~is~G-Fjfm6#-FhjnFchpF_ in@$FbinFcin-F^em6#%enWhich~one~of~the~following~results~will~then~hold~for~any |+G-F^em6#%fnmatrices~A~and~B?~Enter~your~answer~by~selecting:~1;~or~2;|+G-F^em 6#%Q~~~1.~transpose(AB)~=~transpose(A)*transpose(B)|+G-F^em6#%Q~~~2.~transpose( AB)~=~transpose(B)*transpose(A)|+G>FhvF^fm?(F/F[oF[oF//FhvF[oC$-Fjfm6#%JThis~is ~not~correct.Try~the~other~choice.G>FhvF^fm-Fjfm6#%LIndeed,~for~the~matrices~A~ &~B~you~entered,G-Fjfm6#%Jtranspose(AB)~=~transpose(B)*transpose(A)GFjdmFeao-Fj fm6#%_oThe~two~matrices~are~not~compatible.~We~cannot~verify~this~statementGFjd mF/FagmF/Ff\oRF/6PFghnF_hnF^hqF^hmF_hmFbgo%#i1G%#j1GF\jqF\hq%&cofacG%#IDGF`hqFi hqF]jqFfhqFdgo%"CG%$AdjG%"dG%%AUG1GFfdmF_hqF`hnFhhqFdiqFaiqFciqFjhqF[iqF\iqF`iq Fbiq%$eqsGF^iqFbhqF_iqFeiqF^eu%#i2G%#j2G%&temp1GFhiqFiiqFjiqF[jqFgdmF/C3Fjdm-Fj fm6#%ipThe~purpose~of~this~function~is~to~demonstrate~the~steps~to~find~the~inv erse~of~a~matrix~usingG-Fjfm6#%jpeither~the~Gauss-Jordan~algorithm~or~the~Adjoi nt~method.~In~selecting~the~interactive~mode,~youG-Fjfm6#%ipcan~immediately~che ck~if~you~have~learned~this~algorithm.~The~nostep~mode~dispalys~the~inverseG-Fj fm6#%^pwith~no~intermediate~steps.~For~more~information~type~?inverse;~at~the~M aple~promptGFjdm@%F]^nC%-Fjfm6#%gnEnter~a~matrix.~For~example~type~:~A:=matrix( [[0,1],[3,3]]);G-F^em6#%7Please~enter~a~Matrix|+G>Fh`nF^fm>Fh`nFbjm?(F/F[oF[oF/ 4-F:6$Fh`nFhjmC&-F^em6#%3A~matrix~Expected|+G>Fh`nF^fm>FafmFh`n@$FcfmFcin@&0F_e oFaeoC%-Fjfm6$%8The~matrix~you~entered~G/F[uFgdo-Fjfm6#%8~is~not~a~square~matri xGFcin/-Fj[oFbdoFbalC%Fghv-Fjfm6#%gnhas~a~zero~determinant.~Therefore~the~inver se~does~not~existGFcin-Fjfm6$Fg_oFjhvFjdmFe]rFh]rF[^rF^^r>FboF^fm@(/FboF[oC(>Fa cnF_eo>F`gnFaeo@%/F`gnFacnC*-F^em6#%=Which~method~do~you~prefer?|+G-F^em6#%>~~~ ~~~1.~Gauss-Jordan~method|+G-F^em6#%9~~~~~~2.~Adjoint~method|+G-F^em6#%8