講解:Python、Python、Python、LATEX

You must show all steps and rst solve for L and U using pen and paper or LATEX.2. (10 points) Now repeat the process of nding an inverse of the matrix in 1) using partioning of matrices.3. (10 points) When a deep space probe is launched, corrections may be necessary to place the probeon a precisely calculated trajectory. Radio telemetry provides a stream of vectors, x1;:::;xk , givinginformation at di erent times about how the probe’s position compares with its planned trajectory. LetXk be the matrix [x1;:::;xk]. The matrix Gk = XkXTk is computed as the radar data are analyzed.When xk+1 arrives, a new Gk+1 must be computed. Since the data vectors arrive at high speed,the computational burden could be severe. But partitioned matrix multiplication helps tremendously.Compute the column{row expansions of Gk and Gk+1 and describe what must be computed in orderto update Gk to form. Gk+1.4. Find formulas for X;Y, and Z in terms of A;B; and C and justify your calculations. In some cases,you may need to make assumptions about the size of a matrix in order to produce a formula. [Hint:Compute the product on the left, and set it equal to the right side.]5. (10 points) Let A be a lower triangular nXn matrix with nonzero entries on the diagonal. Show thatA is invertible and A 1 is lower triangular. [Hint: Explain why A can be changed into I using only rowreplacements and scaling. (Where are the pivots?) Also, explain why the row operations that reduce Ato I change I into a lower triangular matrix.]6. Solve the equation Ax = b by using the LU factorization given for A.All matrices are in capital letters and bold. All vectors are in lower case and bold. All scalars are lower case and notbolded.yif you are not familiar with gsubmit, come to my o ce hours and I am happy to show you how it works.代做Python程序、Python課程設計代做、幫做Python編程作業(yè)、LATEX編程代寫 No emailsubmissions will be accepted7. Create a Python le called question7.py and write the following functions:(a) (5 points) def matrixMul(A, B):’’’Returns the multiplication of matrix A and B.If the Matrix A and B cannot be multiplied, return back suitable error message’’’(b) (5 points) def matrixT(A):’’’Returns the Transpose of the Matrix A’’’(c) (5 points) def matrixAdd(A, B):’’’Returns the addition of Matrix A and B.If the Matrix A and B cannot be added, return back suitable error message’’’You can test your code out as follows:A = [[1, 3, 5], [2, 4, 7], [1, 1, 0]]B = [[1, 2, 6], [2, 4, 7], [1, 1, 8]]print matrixT(A) #This prints back the transpose of Aprint matrixMul(A,B) #This prints back the multiplication of A and Bprint matrixAdd(A,B) #This prints back the addition of A and BYou can visualize, the Python code i.e. list of listA = [[1, 3, 5], [2, 4, 7], [1, 1, 0]]as the following matrix: A=A = [[1, 3, 5], [2, 4, 7], [1, 1, 0]]B = [[1, 2, 6], [2, 4, 7], [1, 1, 8]]print matrixMul(A,B) #This prints back the multiplication of A and BFor the above test case, your code will print out the following:[[12, 19, 67], [17, 27, 96], [3, 6, 13]]Page 2A = [[1, 3, 5], [2, 4, 7], [1, 1, 0]]B=[[1], [1], [1]] #This is a column vectorprint matrixMul(A,B)For the above test case, your code will print out the following:[[9], [13], [2]]Make sure to use Python 2.7.x when writing your code.NoteThere is 10% bonus, if you submit your assignment using LATEX. We expect to see a .tex le and a .pdf leas part of your submission. You must show all the steps in detail and decent formatting.轉自:http://ass.3daixie.com/2018052158549172.html

?著作權歸作者所有,轉載或內容合作請聯(lián)系作者
【社區(qū)內容提示】社區(qū)部分內容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發(fā)布,文章內容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內容

  • 大師兄之今日零食:老媽牌薯條!一碗綠豆湯下肚,再來一盤炸薯條,某哥們的下午茶簡直是頂級配置。如果時間允許,我會洗手...
    聰聰和茵茵閱讀 178評論 0 0
  • 我的豁然開朗來自于一段序,這本書叫《幸福,從接納開始》,只看了這段序,便解開了我許久的心結。 人活著,有很多轉折點...
    三腳貓WW閱讀 804評論 0 0
  • 同學楊一造訪。嘆茶,在漫談中我們聊起了猜想和有關速度質量上的話題。今,將那日談話稍加整理做一筆記。回記不全...
    段靖閱讀 844評論 0 1
  • 說到韓信,有一個人是永遠抹不開的,他便是漢初三杰之一——蕭何。當年,韓信不被劉邦賞識,曾憤而出走。而蕭何了解韓信的...
    文史知識閱讀 304評論 1 1

友情鏈接更多精彩內容