Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Converting a Number into a Radical

by Anonymous Monk
on Dec 18, 2013 at 04:49 UTC ( #1067587=note: print w/ replies, xml ) Need Help??


in reply to Converting a Number into a Radical

I don't know of a Perl solution, but SymPy (see www.sympy.org) can do this kind of thing.

>>> sqrt(49) 7 >>> sqrt(27) 3*sqrt(3) >>> simplify(sqrt(4+sqrt(448))) 2*sqrt(1 + 2*sqrt(7))


Comment on Re: Converting a Number into a Radical
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067587]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2015-07-01 23:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls