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编程作业、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
讲解:Python、Python、Python、LATEX
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
推荐阅读更多精彩内容
- 说到韩信,有一个人是永远抹不开的,他便是汉初三杰之一——萧何。当年,韩信不被刘邦赏识,曾愤而出走。而萧何了解韩信的...