Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 May, 2013, 08:13:28 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Normal Distribution Curve -  (Read 705 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
pianoman
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 20 October, 2011, 04:23:28
Date Registered: 21 May, 2011, 19:13:57
Location: You can know that my current velocity is about 0 m/s.
Posts: 427


Topic starter
Total Post Ratings: +24

View Profile
« on: 26 May, 2011, 00:20:18 »
0

Hi everyone!
We were just learning about bell curves in class, and it just brought up a question to my mind.
Is there any specific equation that can be used to describe/graph a bell curve?
I'm not sure if I'm wording that very well.
Thanks! Tongue
Logged

leafy
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: 17 May, 2013, 00:26:27
Date Registered: 26 December, 2010, 05:27:03
Location: the ninth circle of hell
Posts: 1545


Total Post Ratings: +371

View Profile WWW
« Reply #1 on: 26 May, 2011, 00:23:59 »
0

It's a Gaussian distribution of the form f(x)=ae^something. I forget.
Logged

In-progress: Blastlabs, TMJO, qb?, VVVVVV?
Finished: Tag, Tap, MFQT, Nyan
Dead: Graviter
pianoman
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 20 October, 2011, 04:23:28
Date Registered: 21 May, 2011, 19:13:57
Location: You can know that my current velocity is about 0 m/s.
Posts: 427


Topic starter
Total Post Ratings: +24

View Profile
« Reply #2 on: 26 May, 2011, 00:29:32 »
0

I found it here:
http://en.wikipedia.org/wiki/Normal_distribution
So would this be a rational function?
Logged

leafy
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: 17 May, 2013, 00:26:27
Date Registered: 26 December, 2010, 05:27:03
Location: the ninth circle of hell
Posts: 1545


Total Post Ratings: +371

View Profile WWW
« Reply #3 on: 26 May, 2011, 00:32:53 »
0

I do believe so.
Logged

In-progress: Blastlabs, TMJO, qb?, VVVVVV?
Finished: Tag, Tap, MFQT, Nyan
Dead: Graviter
pianoman
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 20 October, 2011, 04:23:28
Date Registered: 21 May, 2011, 19:13:57
Location: You can know that my current velocity is about 0 m/s.
Posts: 427


Topic starter
Total Post Ratings: +24

View Profile
« Reply #4 on: 26 May, 2011, 00:48:02 »
0

Got it.
Thank you!
Logged

AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 00:41:29
Date Registered: 15 August, 2010, 09:18:54
Posts: 3187


Total Post Ratings: +218

View Profile
« Reply #5 on: 26 May, 2011, 00:56:40 »
0

f(x)=(1/sqrt(2*pi))*e^((-x^2)/2) is the standard normal Gaussian distribution. The general form for any normalized Gaussian is f(x)=(1/sqrt(2*pi*StdDev^2))*e^(-(x-mean)^2/(2*StdDev^2))

As it happens the 3d analogue of the Standrd normal Gaussian is f(x,y)=(1/sqrt(2*pi))*e^(-(x)^2-(y)^2/(2))

And yes, I have those memorized... Tongue
Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
ruler501
Crazy Freshman
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Today at 07:33:05
Date Registered: 08 November, 2010, 02:32:33
Location: In a cave with two spots of light and lots of meat
Posts: 2381


Total Post Ratings: +49

View Profile
« Reply #6 on: 26 May, 2011, 00:59:50 »
0

how would you make one that goes up to one at 100 then goes down to .01 at 140 and 60?
Logged


Spoiler for "Projects":
My current games I am working on our:
  I might have an improved C version of this somewhere...
pSDL too lazy too make a userbar so I'll just link to the topic i update routinely http://www.omnimaga.org/index.php?board=146.0
Spoiler for "Misc images of test things":
NerdTests.com says I'm a Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!My computer geek score is greater than 100% of all people in the world! How do you compare? Click here to find out!"<br />[url=http://www.nerdtests.com/ft_personality.php?ref=42769
[/url]
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

------END GEEK CODE BLOCK------
"KnifeOn!  Apply directly to the forehead!  KnifeOn is available without a prescription at retailers nationwide."
pianoman
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 20 October, 2011, 04:23:28
Date Registered: 21 May, 2011, 19:13:57
Location: You can know that my current velocity is about 0 m/s.
Posts: 427


Topic starter
Total Post Ratings: +24

View Profile
« Reply #7 on: 26 May, 2011, 01:01:09 »
0

How exactly do you find the area under the curve?
PS-Please dumb it down a bit if its really complicated.
Logged

ruler501
Crazy Freshman
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Today at 07:33:05
Date Registered: 08 November, 2010, 02:32:33
Location: In a cave with two spots of light and lots of meat
Posts: 2381


Total Post Ratings: +49

View Profile
« Reply #8 on: 26 May, 2011, 01:03:09 »
0

thats calculus...
you have to take the integral of it.(not an easy task) I learning how to do this. If I figure it out I'll write it out for you

EDIT: what are the rules for substitution and multiplication again in integrals. I never did manage to fully understand that.

EDIT2: I just found this while brosing the wikipedia article
Quote from: wikipedia
The factor 1/sqrt{2*pi} in this expression ensures that the total area under the curve ϕ(x) is equal to one
« Last Edit: 26 May, 2011, 01:15:32 by ruler501 » Logged


Spoiler for "Projects":
My current games I am working on our:
  I might have an improved C version of this somewhere...
pSDL too lazy too make a userbar so I'll just link to the topic i update routinely http://www.omnimaga.org/index.php?board=146.0
Spoiler for "Misc images of test things":
NerdTests.com says I'm a Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!My computer geek score is greater than 100% of all people in the world! How do you compare? Click here to find out!"<br />[url=http://www.nerdtests.com/ft_personality.php?ref=42769
[/url]
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

------END GEEK CODE BLOCK------
"KnifeOn!  Apply directly to the forehead!  KnifeOn is available without a prescription at retailers nationwide."
pianoman
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 20 October, 2011, 04:23:28
Date Registered: 21 May, 2011, 19:13:57
Location: You can know that my current velocity is about 0 m/s.
Posts: 427


Topic starter
Total Post Ratings: +24

View Profile
« Reply #9 on: 26 May, 2011, 01:16:35 »
0

But to find the area under parts of the curve, you would need calc?
Logged

ruler501
Crazy Freshman
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Today at 07:33:05
Date Registered: 08 November, 2010, 02:32:33
Location: In a cave with two spots of light and lots of meat
Posts: 2381


Total Post Ratings: +49

View Profile
« Reply #10 on: 26 May, 2011, 01:19:25 »
0

yeah. It confuses me so I will try this again later when i understand integrals more.
Logged


Spoiler for "Projects":
My current games I am working on our:
  I might have an improved C version of this somewhere...
pSDL too lazy too make a userbar so I'll just link to the topic i update routinely http://www.omnimaga.org/index.php?board=146.0
Spoiler for "Misc images of test things":
NerdTests.com says I'm a Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!My computer geek score is greater than 100% of all people in the world! How do you compare? Click here to find out!"<br />[url=http://www.nerdtests.com/ft_personality.php?ref=42769
[/url]
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

------END GEEK CODE BLOCK------
"KnifeOn!  Apply directly to the forehead!  KnifeOn is available without a prescription at retailers nationwide."
AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 00:41:29
Date Registered: 15 August, 2010, 09:18:54
Posts: 3187


Total Post Ratings: +218

View Profile
« Reply #11 on: 26 May, 2011, 01:48:35 »
0

thats calculus...
you have to take the integral of it.(not an easy task) I learning how to do this. If I figure it out I'll write it out for you

EDIT: what are the rules for substitution and multiplication again in integrals. I never did manage to fully understand that.

EDIT2: I just found this while brosing the wikipedia article
Quote from: wikipedia
The factor 1/sqrt{2*pi} in this expression ensures that the total area under the curve ϕ(x) is equal to one

I wouldn't even bother with that type of integration. The e^(-x^2) factor means that the integral is non-elementary (IE, you can't write the answer down in terms of elementary functions). The area under the curve has to be found with more sophisticated methods (or using software Tongue).
Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
ruler501
Crazy Freshman
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Today at 07:33:05
Date Registered: 08 November, 2010, 02:32:33
Location: In a cave with two spots of light and lots of meat
Posts: 2381


Total Post Ratings: +49

View Profile
« Reply #12 on: 26 May, 2011, 01:52:17 »
0

I like the idea of softtware. I don't even understand elementary much less sophisticated methods
Logged


Spoiler for "Projects":
My current games I am working on our:
  I might have an improved C version of this somewhere...
pSDL too lazy too make a userbar so I'll just link to the topic i update routinely http://www.omnimaga.org/index.php?board=146.0
Spoiler for "Misc images of test things":
NerdTests.com says I'm a Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!My computer geek score is greater than 100% of all people in the world! How do you compare? Click here to find out!"<br />[url=http://www.nerdtests.com/ft_personality.php?ref=42769
[/url]
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

------END GEEK CODE BLOCK------
"KnifeOn!  Apply directly to the forehead!  KnifeOn is available without a prescription at retailers nationwide."
leafy
Coder Of Tomorrow
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: 17 May, 2013, 00:26:27
Date Registered: 26 December, 2010, 05:27:03
Location: the ninth circle of hell
Posts: 1545


Total Post Ratings: +371

View Profile WWW
« Reply #13 on: 26 May, 2011, 03:00:38 »
0

There are commands normalcdf() and tcdf() but I think they use calculus.
Logged

In-progress: Blastlabs, TMJO, qb?, VVVVVV?
Finished: Tag, Tap, MFQT, Nyan
Dead: Graviter
AngelFish
This is my custom title
Administrator
LV12 Extreme Poster (Next: 5000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 00:41:29
Date Registered: 15 August, 2010, 09:18:54
Posts: 3187


Total Post Ratings: +218

View Profile
« Reply #14 on: 26 May, 2011, 05:18:08 »
0

I'll try to go through one method of finding the definite integral. No guarantees that I'll do it correctly Tongue

First of all, there's some number representing the area under the curve that we'll call A. The integral is taken from a to b, thus...


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
b
∫1/√(2π)e^(-x²/2)=A
a

        b
=1/√(2π)∫e^(-x²/2)
        a

           b
A²=(1/√(2π)∫e^(-x²/2))²
           a

<skip about half a page of painful to type integrals>
      b          b
(1/2π)∫e^(-x²/2)*∫e^(-y²/2)
      a          a

      b b
(1/2π)∫∫e^(-x²/2-y²/2)
      a a

      b b
(1/2π)∫∫e^(-1/2(x²+y²))
      a a

<convert to polar with x^2+y^2=r^2>

 tan^-1(b/b) √(2b²)
(1/2π)∫dΘ∫e^(-2(r²)) dr
 tan^-1(a/a) √(2a²)

<U substitution>

<blah blah blah>

It was at this point that I realized that the integral only worked for a= -∞ and b=∞, which is still better than the normal methods taught using anti-derivatives.
Logged

∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.23 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.