# Problems with plotting a function in Maple

• Maple

## Main Question or Discussion Point

Hey so I'm working on a simulation to compute the multiplicity of two Einstein solids.. long story short I'm having a tough time plotting a function. To start, I defined the following:  Which, when simplified yields: I named this simplified result K: Plotting this... What I get is However if I don't define my axis, Maple yields the following: This is fine, except I would like x to go from 0 to 100 and y to go from 0 to 2E96 (which when computed by hand yields actual results close to the boundaries of that range). However if I manually go into the axes definition of the image above, and change it to the desired values, I get: So the plot is not defined at any value outside of whatever Maple decided it should be: I can only change the axes values but not the range and domain of the actual function.. any ideas?

Related MATLAB, Maple, Mathematica, LaTeX News on Phys.org
jedishrfu
Mentor
You could try plotting it using smaller constants just to see if its the function itself somehow.

It may be that even a small increment in x is either 0 or skyrockets way beyond the range limits hence you see no plot line. Can you change the plot line color that way you would see the line drawn over the x-axis until it takes off toward the moon.

Or can you zoom in to the plot that is made until you've reached the domain and range you want. You''ll probably find the same result and that the software is working as designed.

Also have you tried it in MATLAB? Its pretty good about plotting things.

Last edited:
I ended up plotting in Mathematica after starting from MATLAB (which didn't work because it approximates infinity at around 7E96 I think, and even when I divided it by 1E96 it would first calculate the factorial, approximate it to infinity, then say infinity divided by a large-ish number is "NaN"). Then I tried to plot it with Maple.. didn't work because of it's approximation of infinity. Tried to do it in Python .. same reason. Ended with Mathematica.. it works wonders :D