0

Please help me: generate a matrix of a size nx2n and set the values according to: Mij=i·j²-i²·(j-2), where i=row, j=column

How do I solve this in Python 3.7?

25th Nov 2018, 6:11 PM
Riga Chu
Riga Chu - avatar
3 ответов
+ 4
25th Nov 2018, 8:02 PM
Шащи Ранжан
Шащи Ранжан - avatar
+ 2
What's your approach so far? You need a 2-dim array and nested for loops
25th Nov 2018, 6:35 PM
Matthias
Matthias - avatar
0
I literally have no idea how to even start, I'm very new at this
25th Nov 2018, 7:13 PM
Riga Chu
Riga Chu - avatar