There's more than one way to do things PerlMonks

### Re^2: List all different equations for a given one

by LanX (Bishop)
 on Sep 24, 2013 at 21:02 UTC ( #1055543=note: print w/replies, xml ) Need Help??

How many random numbers do you need to proof that abs(\$x**10000001) and abs(\$x**10000000) are identical? :)

Please if you consider replying that you limit the range as soon that one function returns inf think about functions with multiple separated intervals not being inf.

I'd rather avoid numerical approaches as long as possible. (IIRC for instance some differential equations can only be solved numerically)

Cheers Rolf

( addicted to the Perl Programming Language)

Replies are listed 'Best First'.
Re^3: List all different equations for a given one
by BrowserUk (Pope) on Sep 25, 2013 at 02:15 UTC
How many random numbers do you need {drivel} {drone}

Not many. My first guess:

```\$x = 1.000000001; say abs(\$x**1e8);;
1.10517092716461

\$x = 1.000000001; say abs(\$x**(1e8+1));;
1.10517092826979

You seem to have missed: "semi-random range" & "well-chosen set of inputs". Inspecting a string for exponentiation by big constants is trivial.

if you consider replying that you limit the range as soon that one function returns inf think about functions with multiple separated intervals ...

Vary them one at a time...

I'd rather avoid ...

You are quite welcome to do things the hard way; it seems to suite.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Create A New User
Node Status?
node history
Node Type: note [id://1055543]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2017-11-22 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
In order to be able to say "I know Perl", you must have:

Results (323 votes). Check out past polls.

Notices?