logoalt Hacker News

hahajk • today at 1:43 AM • 3 replies • view on HN

i know everyone plays with their own rules, but from my perspective, a square root spends a 2 - it's not an operator like + or ! . there's an implicit "2" since you could also take the cube root or fourth root


Replies

jjmarr • today at 4:17 AM

You can use `sin(arctan())` as the repeatable operator instead of sqrt(). Then "unwrap" by applying ^-2 - (2^-2)

3=(sin(arctan(sin(arctan(sin(arctan(2))))))^−2 − (2)^−2

JumpCrisscross • today at 2:12 AM

> it's not an operator like + or !

Squaring is to multiplication as is the latter to addition. If roots are invalid then so should be multiplications.

➕ show 4 replies
SideQuark • today at 2:15 AM

Alternatively, one can claim sqrt is a single symbol, and there are extensions requiring a digit. Log, ln, also have hidden bases, but they’re also valid symbols. Cos/sin may be in radians or degrees, both in common use, and no real place to denote it.

One could even claim division is raising to the -1 power, thereby disqualifying it in exactly the same manner you disqualify sqrt. I’ve never seen sqrt with a 2 index; power -1 is seen quite often for division.

Go figure….