Robert Shaw wrote:
>
>When you switch the calculator on you get a zero, but after that
>you never touch another number key. These were scientific
>calculators so we had ^2,^3,^-1,cos, sin, tan, cosh, sinh, tanh,
>ln, log and their inverses plus factorial.
>
You don't have log in the base two, do you? I think that without
log2 there's no way to get (x + 1) from (x).

<pause to write, debug, compile and run a program>

Well, I think it's not possible to get x++ using just those
keys. I tried to generate 10000 numbers using those
functions [except  arc-hyperbolic stuff, that are not
functions in M$ Visual C] and I didn't even get number _3_.

>
>Pi is ln(square(square(exp(arctan(exp(0))))))
>though there may be quicker ways to get it.
>
Pi = arccos(-1) too, so 
Pi = arccos(ln(1/(exp(exp(0)))))

Alberto Monteiro



Reply via email to