I have done many random math programs to help me with my homework (synthetic separation is the funniest), and now I want to reverse the radical expression.
For example, in my handy TI calculator, I get
.2360679775
Well, I want to convert this number to an equivalent irrational expression, which
sqrt(5)-2
I understand that I can go too far with this ... but it is fun and not so easy when you are considering a significant floating-point rounding error.
So how would you do that? Is there a trivial algorithm?
language-agnostic math algorithm
Earlz
source share