Plotting Graphs with Domain & Range as Integers

  • Thread starter Thread starter Dustinsfl
  • Start date Start date
  • Tags Tags
    Maple
Dustinsfl
Messages
2,217
Reaction score
5
I am trying to plot a graph with the domain and range as integers. So instead of a continuous function, I will have points only plotted on the integers.

Does anyone know how to do this?
 
Physics news on Phys.org
Graphs
The plot command may be used to plot simple graphs,
plot( x^3, x=-3..3); ......

Read http://www.rose-hulman.edu/~rickert/Classes/ma111/maple1.html"
 
Last edited by a moderator:
Those will yield all continuous graphs. The domain and range of the function I am using are integers not real numbers so I need a calling method that will only plot at the integers.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Back
Top