Cody

Problem 2769. Find out magnitude of vector

Find out magnitude of vector.

Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2)

Please don't use sum function. If you like this proble, please like it.. (Request)

Solution Stats

68.8% Correct | 31.2% Incorrect
Last solution submitted on Oct 16, 2019