Can You Plot Functions in Excel?

Click For Summary

Discussion Overview

The discussion revolves around the possibility of plotting functions in Excel, specifically whether users can directly input a mathematical function like 1/(x^2+4) and generate a graph. Participants explore methods for graphing functions, including tabular calculations and the use of Excel's features.

Discussion Character

  • Exploratory
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant questions if Excel can directly graph a function without tabular calculations.
  • Another participant states that they only manage to graph functions by calculating points in a table and then plotting them as line or scatter graphs.
  • A different participant suggests using Visual Basic programming tools in Excel, although they have not used that feature.
  • This participant describes a method for generating values of x in a column and using a formula in another column to calculate corresponding y values, which can then be plotted.
  • A later reply expresses appreciation for the explanation provided, indicating it was helpful.

Areas of Agreement / Disagreement

Participants do not reach a consensus on whether Excel can directly plot functions. There are multiple approaches discussed, with some participants focusing on tabular methods while others mention potential programming tools.

Contextual Notes

The discussion does not resolve whether Excel has a direct function plotting capability, and participants' methods depend on their familiarity with Excel's features and functions.

Who May Find This Useful

Users interested in graphing mathematical functions in Excel, particularly those looking for practical methods to visualize data or functions without advanced programming knowledge.

Fritz
Messages
65
Reaction score
0
Is it possible to input a function into Excel e.g. 1/(x^2+4) and get a graph?

How do you draw graphs of functions on Excel?
 
Computer science news on Phys.org
The only way I get it to graph anything is to calculate the points tabularly to columns and then plot them e.g. as linegraph or scattergraph. I think it does not have a property to directly plot a function.
 
I believe as PerennialII.

Although I do think that it has some kind of Visual Basic programming tools available, but I've never used that feature.

The quickest way to get your graph is to write your equation in a cell in column B like so,...=1/(A1^2+4) Where A1 points to the cell A1.

Then in cell A1 put in an initial value for x, say zero maybe.

In cell A2 put in the next increment of x, say 0.05 maybe.

Then select cells A1 and A2 together. Then put your mouse pointer on the little black cross at the lower right-hand side of cell A2 and drag it down to fill down the series in the A column. That will produce values of x that are incremented by 0.05.

Then select the formula in cell B1 and fill it down so that it automatically calculates the results for each x value. Then you can plot those columns in a graph.

If you understood how to do the above. Then you can get carried away with the values of x by simply experimenting with various formulae to define the values of x in the A column. In other words. define an initial value of x in cell A1. Then in cell A2 define a function that refers to cell A1 (the cell immediately above it). Then just fill down that formula. It will generate a new x based on the value of the previous x.

It's actually pretty slick once you get the hang of it. The original equation in column B will automatically update based on the new values in column A.

Hope this wasn't too confusing.
 
^ That was great! Thank you.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
10
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K