Skip to main content
Commonmark migration
Source Link

#MATLAB, 10 bytes#

MATLAB, 10 bytes

@(a)a^2^.5

Pretty straight forward. We are allowed sqauare and square root, so the absolute value of a number (assuming it is not complex!) is simply square it then square root it.

#MATLAB, 10 bytes#

@(a)a^2^.5

Pretty straight forward. We are allowed sqauare and square root, so the absolute value of a number (assuming it is not complex!) is simply square it then square root it.

MATLAB, 10 bytes

@(a)a^2^.5

Pretty straight forward. We are allowed sqauare and square root, so the absolute value of a number (assuming it is not complex!) is simply square it then square root it.

Source Link
Tom Carpenter
  • 4.3k
  • 13
  • 21

#MATLAB, 10 bytes#

@(a)a^2^.5

Pretty straight forward. We are allowed sqauare and square root, so the absolute value of a number (assuming it is not complex!) is simply square it then square root it.