# Parabola Plotting Web Pages

Graphics have become more available on web pages. A web page that can design parabolas can show what is now available.
Remove these ads by Signing Up

## Step 1:

Different applications require parabolas having different focal points. A parabola follows the following equation.

Y = X^2/(4*focal)

The old camera flash bulbs appeared to use a short focal length when compared to its radius. When the focal is 0.25, then Y will be unity when X is unity.

The web page to do this is only a text file. Feel free to save it as source on you computer.

## Step 2:

Solar application may need a long focal length. If the focal is 1, then Y will be 0.25 when X is one. The radius of the parabola can be thought of as being X. The depth of the parabola can be thought of as being Y.

## Step 3:

Some applications may require the focal point to be close to one half the depth. Using a focal which is at sqrt(1/8) will do the job.

## Step 4:

The new graphing feature can be extended such that a web page can print out the segments of a parabola. The web page that does this is only a text file. Select a focal and whether to plot segments or the sides. Feel free to save  this page on your computer. Look at the page's text.

## Step 5:

The parabola is design to step X from 0 to 1 in 0.1 units. The side view plots both the X steps and the corresponding Y steps as lines. This web page should be printable on a single sheet of page. Or it can be saved as a pdf file to be printed later.

## Step 6:

Half of a parabola can be constructed by printing out  six segments and a left and right side.
joen says: 2 years ago
I tried the web page and nothing happened. Did I miss somethihg
nutsandbolts_64 says: 3 years ago
The unit of measurement in the focal point thing is?
dsauer (author) in reply to nutsandbolts_643 years ago
The focal length corresponds to the radius along the x direction being unity. The web page that plots the segments does do an auto-scale to fill a 700x700 canvas.

Another write up on what things do can be found here...
www.idea2ic.com/OtherStuff/Web_parabola/Design_A_parabola.html
nutsandbolts_64 in reply to dsauer3 years ago
Ok, thanks.
kelseymh says: 3 years ago
On Step 5, you say that you only generate 11 X points, and (implicitly) do a linear interpolation between them.  For focal depths far from 1, this is not optimal.  I played with the script, putting in 0.05 and 0.005 respectively.  In both cases, the straight lines and corners in Y are quite apparent (the latter has just two lines!).

To get a smother curve, you may want to consider evaluating the inverse problem to get Xmax (positive) for Ymax at the boundary of the plot, then generate a fixed number of steps from X=0 to X=Xmax.

Otherwise, this is a very clever bit of JavaScript.  Nicely done!
dsauer (author) in reply to kelseymh3 years ago
Well good. Someone did not treat the web page as a black box. The idea is to show what graphic on a web page can do.
kelseymh in reply to dsauer3 years ago
:-)  When you said it was a "plain text" file, I got curious.  Nice to see simple scripting, rather than some overwritten applet that gets downloaded to do who knows what.
dsauer (author) in reply to kelseymh3 years ago
I think the people who write instructables could get really turned on with what they could do with web pages. This stuff could be fun if presented right. My best attempt at doing this can be found here.