摘要: One of the tasks students routinely carry out in their mathematics classes is to solve a polynomial equation. It is, given a polynomial, sayX2- 4X+ 1,... 阅读全文
posted @ 2015-03-14 11:17 Commence 阅读(278) 评论(0) 推荐(0) 编辑
摘要: Consider ann-by-nmatrixA. We defineAk=A*A* ... *A(ktimes). Here, * denotes the usual matrix multiplication.You are to write a program that computes th... 阅读全文
posted @ 2015-03-14 11:06 Commence 阅读(149) 评论(0) 推荐(0) 编辑
摘要: Given the value ofa+bandabyou will have to find the value ofan+bnInputThe input file contains several lines of inputs. Each line except the last line ... 阅读全文
posted @ 2015-03-14 11:01 Commence 阅读(154) 评论(0) 推荐(0) 编辑