How to print out line equations? (such as y=x^2)

  • Thread starter Thread starter Gary King
  • Start date Start date
  • Tags Tags
    Line
AI Thread Summary
To print out line equations like y = x^2 on a graph, various programs such as Excel and gnuplot can be used. In Excel, users should input a range of x-values in one column and apply formulas for each equation in adjacent columns. After filling down the formulas, selecting all columns allows for chart creation, specifically using an x-y scatter chart for better visualization. A sub-type of scatter chart that connects data points with smoothed lines is recommended for a cleaner presentation. This method effectively displays the equations graphically.
Gary King
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! :)
 
Mathematics news on Phys.org
You can use Excel, or gnuplot, or any of the other ten million graphing utilities available on the web. Use google.

- Warren
 
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
 
Last edited by a moderator:
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
 
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
 
chroot said:
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".
 

Similar threads

Replies
3
Views
2K
Replies
5
Views
2K
Replies
8
Views
2K
Replies
2
Views
1K
Replies
18
Views
4K
Replies
5
Views
2K
Replies
4
Views
1K
Back
Top