Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

Subject: power vs exp
From: mwforum@xxxxxxxxxxxxxxxxxx (Daniel Ajoy)
Date: Fri, 22 Apr 2005 20:58:39 -0500

On 22 Apr 2005 at 20:47, Wendy Petti wrote:

> http://www.ndt-ed.org/EducationResources/Math/Math-e.htm
> 
> The constant e figures into bell-shaped curves, among other things, just as
> the constant pi figures into circles.


to bellcurve :x :mu :sigma
output 1 / (:sigma * sqrt 2 * pi) * exp -0.5 * power ((:x - :mu) / :sigma) 2
end

to plot
cg pu
dotimes [i 400] [
 let [x 3 * (:i - 200) / 200] 
 let [y bellcurve :x 0 1]
 setpos list 100 * :x 400 * :y
 pd
]
end


Daniel





*****************************
OpenWorld Learning
http://www.openworldlearning.org




  • Previous by thread: power vs exp
  • Next by thread: power vs exp

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008