Can Excel Create Plots Using Equations?

  • Thread starter Thread starter Benny
  • Start date Start date
  • Tags Tags
    Excel Plots
Click For Summary

Discussion Overview

The discussion revolves around how to create plots in Excel using a specific recursive equation involving a parameter, lambda. Participants explore methods for calculating and plotting values derived from the equation, as well as sharing tips on using Excel features for this purpose.

Discussion Character

  • Technical explanation
  • Homework-related
  • Exploratory

Main Points Raised

  • One participant seeks assistance on how to plot the equation x_{n + 1} = \frac{{11.5x_n}}{{1 + x_n^2}} - \lambda in Excel, mentioning specific values for lambda.
  • Another participant explains that Excel does not allow direct input of equations for plotting and suggests calculating x and y values in separate columns for each lambda value.
  • A participant confirms the need to calculate successive values of x based on the previous value, expressing a desire for a shortcut to generate multiple values efficiently.
  • There is a suggestion to use Excel's quick fill feature to simplify the process of generating values based on the recursive formula.
  • A participant provides an example of how to set up the formula in Excel, emphasizing the ease of copying formulas down a column.
  • Another participant expresses gratitude for the assistance and admits to being inexperienced with computers.
  • One participant shares a method for toggling between formulas and values in Excel, which could aid in checking analyses.

Areas of Agreement / Disagreement

Participants generally agree on the necessity of calculating values for plotting in Excel, but there is no consensus on the best method or whether there are shortcuts available. The discussion remains exploratory with various suggestions and techniques presented.

Contextual Notes

Some participants mention specific values for lambda and starting points, but the discussion does not resolve how to efficiently generate a large number of values or whether there are alternative methods for plotting in Excel.

Benny
Messages
577
Reaction score
0
Hi I'm currently working on an assignment and one of the questions requires me make a plot of the following. I am told that Excel can produce the plot but I don't know how to enter the equation.

[tex] x_{n + 1} = \frac{{11.5x_n }}{{1 + x_n ^2 }} - \lambda ,x_0 > 0[/tex]

A few values of lambda are specified. If there is a way to plot this on Excel? Any help would be great thanks.

Note: I hope this isn't the wrong forum for this question.
 
Computer science news on Phys.org
I use Excel for plotting all the time, but there is no capability I know of to just give it an equation. What you have to do is calculate the x,y values, highlight them, and click the plot button.

Unless I don't understand correctly, this is just a set of parametric equations in lambda. What I'd do is have several columns, one corresponding to each value of lambda. Each row will be successive calculations of [itex]x_{n+1}[/itex]. If you know lambda, all you need is a starting value for [itex]x_n[/itex].

Did I miss something?
 
Yeah I've been given some specific values for lamda lie 0, 3, 6 etc. So if I wanted to plot this would need to calculate each value? As in for example I start with x_0 = 2. Then x_1 = some value. For the next point I would need to calculate x_2 = f(x_1) and so on? I just thought that there was some kind of shortcut to generating the values because I think that we're supposed to generate a whole bunch of values.
 
Do you know how to use the quick fill corner?
 
Benny said:
Yeah I've been given some specific values for lamda lie 0, 3, 6 etc. So if I wanted to plot this would need to calculate each value? As in for example I start with x_0 = 2. Then x_1 = some value. For the next point I would need to calculate x_2 = f(x_1) and so on? I just thought that there was some kind of shortcut to generating the values because I think that we're supposed to generate a whole bunch of values.

Oh, but it is sooooo easy. Let me give you an example. Let's say x_0 is 2. Put that in cell A1. In cell A2, you want to calculate x_1, but I'll make up the formula just to make it simplier. Let's say x_n+1 = x_n^2 + 3*x^n + 5/3. In cell A2 you type (literally): =A1^2+3*A1 +5/3 and hit enter. Highlight cell A2, click copy, and highlight cells, A3 through A100 and click paste. That's all there is to it!
 
Last edited:
Oh ok, I didn't know that it could be done so easily. I'm pretty clueless when it comes to computers, apart from things related to fps.:biggrin: Thank you very much for your help.
 
Check out the edit in my previous post. I gave an example of the very thing you are trying to do. Notice the formula has A$1. That means as you paste the formula down, the 1 remains fixed, meaning in this case, it is lambda.

Excel is one of the most amazing applications I have ever seen.

Check this out.

http://www.usd.edu/trio/tut/excel/
 
Last edited:
hotvette,

how'd you get the formulas to show up in your attached picture?

That is something I've been wanting to do at work to help check my analysis...

dt
 
`Toggle formula's or values with <ctrl>+ ` that's the upper left key on my keybord, left of the "1", the graph accent underneath the ~.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
Replies
7
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
9K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
6
Views
3K
  • · Replies 13 ·
Replies
13
Views
2K