Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How many colors does a rainbow have?

by massa (Hermit)
on Jan 26, 2009 at 15:36 UTC ( #738960=note: print w/replies, xml ) Need Help??


in reply to How many colors does a rainbow have?

2.3125 1028:
#!/usr/bin/perl use strict; use warnings; my $red = 750e-9; # meters my $violet = 380e-9; my $distance = $red - $violet; my $planck_length = 1.6e-35; my $distinct_colors = $distance / $planck_length; print "There are $distinct_colors distinct colors\n";
[]s, HTH, Massa (κς,πμ,πλ)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://738960]
help
Chatterbox?
[LanX]: Official YAPC Africa 2013 Announcement
erix always game to pull legs from sleeping cells
[erix]: hm nice might do a spot of diving - Red Sea is said to be beautiful
[LanX]: well too many terrorist tourists
[erix]: I guess I can pass for a native
[LanX]: talking about destruction of diving spots
[LanX]: Nodes to consider
[erix]: oops - got to run, see you later
[robby_dobby]: erix: 'appy day'ving

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (12)
As of 2017-04-24 16:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (442 votes). Check out past polls.