View Full Version : How to print out line equations? (such as y=x^2)
Gary King
Dec15-04, 03:08 PM
If I have several graph equations like the following:
y = x
y = |x|
y = x^2
y = x^3
y = 2^x
How can I print these out when they are laid out on a graph? What program should I use?
Thanks in advance! :)
You can use Excel, or gnuplot, or any of the other ten million graphing utilities available on the web. Use google.
- Warren
Gary King
Dec15-04, 03:16 PM
Could you show me a screenshot of how it would look (the values and the graph) completed for y = x in Excel?
the attached is what I have so far: http://img139.exs.cx/img139/9320/excel7rr.jpg
Put a range of x-values in column A, say rows 1 through 20. Insert x-values ranging from say -10 to 10.
Type "=ABS($A1)" into cell B1. Drag a box around cells B1 through B20, and hit Edit->Fill->Down.
Type "=$A1^2" into cell C1. Drag a box around cells C1 through C20, and hit Edit->Fill->Down.
...Continue adding all the columns you need.
Select all the columns, and hit the Chart button. Create the chart as usual.
- Warren
Hint: Use an x-y scatter chart, not a plain line chart.
- Warren
Gary King
Dec15-04, 03:31 PM
here we go: http://img155.exs.cx/img155/1012/excel4ke.jpg looks good so far :) thanks!
P.S.
ah thanks, the scatter is much better; I don't have to set the A column to be X for every chart
Hint: Use an x-y scatter chart, not a plain line chart.
And if you're plotting points generated from an equation, not experimental data points, choose the sub-type of scatter chart that gives you "data points connected by smoothed lines without markers".
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.