[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Fun math puzzle: cin(X)
- From: Albert Chan <albertmcchan@...>
- Date: Thu, 4 Apr 2019 18:43:56 -0400
> On Apr 4, 2019, at 5:25 PM, Egor Skriptunoff <firstname.lastname@example.org> wrote:
> This implementation works only if x is in the range from (-0.7) to (+0.7)
> That's because of floating point arithmetic is approximate.
> Exact arithmetic of fractions (with arbitrary long numerator and denominator) must be used instead.
Building Taylor coefficents on the fly ! Amazing !
How do you figure the valid range of -0.7 to 0.7
However, this only solve 1/2 of the puzzle, unable to do cin(2.019)
Here is a hint for the second half of the puzzle:
sin(cin(X)) = cin(sin(X))