Topic: Function for Graph (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=29235" title="Pages that link to Topic: Function for Graph (Page 1 of 1)" rel="nofollow" >Topic: Function for Graph <span class="small">(Page 1 of 1)</span>\

 
bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

IP logged posted posted 05-24-2007 23:00 Edit Quote

Hey All,

So I'm trying to figure out the function (or equation) to graph this type of curve



What I need is to be able to put in a time and get back a place on that line. Does anyone know the formula that will graph a curve like that? It seems to be like half a bell curve and while I can find some formulas for that I'm having a hard time working this out in my head.

I also will need to be able to adjust that curve so an explanation of the formula would look great.



.:[ Never resist a perfect moment ]:.

wrayal
Bipolar (III) Inmate

From: Cranleigh, Surrey, England
Insane since: May 2003

IP logged posted posted 05-25-2007 22:34 Edit Quote

Yeah, it looks like e^-(x^2) for x>0
I don't know what you mean by you want by a place on the line. For the y-val, do the function. For the distance along the line, you'll have to use an integral (integral( sqrt(1+(dy/dx)^2)) dx) should do the trick)...or maybe I've just spent too much time doing vector calc tonight and I'm thinking too hard

For scaling, sub in, for example, (2x) for x to make it 'half as wide', or multiply the thing by two to make it twice as high.

wrayal



Post Reply
 
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
 
Your Text:
Loading...
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu