Modulus of complex

 

A.comabs(), calculate the modulus of a complex sequence.

Modulus of a complex number (also called the modulus) is the length of a vector plotted in the complex plane. The vector is the distance value between the origin and the complex number. For a complex number, we define its value a+bi as ..


A

1

=[[1,2],[3,4],[5,6],[7,8],[5,0],[-5,0],[-8,-9],[-0.3,5],[3,-4],[0,0],[0,3],[0,-2]]

2

=A1.comstr()

A2 Calculate the modulus of each complex number in A1

..