Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Spooky math problem

by hdb (Monsignor)
on Jan 09, 2014 at 20:47 UTC ( [id://1070027]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        if ( $envelope==min($a,$b) and $answer eq 'low' ) or ( $envelope==
    +max($a,$b) and $answer eq 'high' );
    }
    printf"Correct ones: %20.17f%%, theoretical odds: %20.17f%%\n", 100*$c
    +orrect/$n, 50+50*(chose(max($a,$b))-chose(min($a,$b)));
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found