2019-01-27 17:51:23 +0100 | received badge | ● Student (source) |

2019-01-27 17:46:45 +0100 | commented question | Can you please help me with this task in sage? A matrix=(4,1,6)(1,3,9)(2,7,25) |

2019-01-27 17:46:45 +0100 | asked a question | Can you please help me with this task in sage? 1) Enter the program function sum_quadrate() with matrix A.The function returns the sum of those matrix elements that are complete squares. The x is complete square if the command is_square (x) returns the True value. I wrote this but from last row i dont know what goes next PLEASE HELP |

2019-01-27 17:46:45 +0100 | asked a question | Can you please help me with this task in sage? 1) Enter the program function sum_quadrate() with matrix A.The function returns the sum of those matrix elements that are complete squares. The x is complete square if the command is_square (x) returns the True value. matrix A=[1 3 9 ] [2 7 25] ... def sum_quadrate (A): m=A.nrows() n=A.ncols() True=0 for i in range (m): for j in range(n): if....??? I wrote this but from last row i dont know what goes next |

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.