I wonder if this is the right way to plot following function.
> restart:
> huur:=t->400*(1.01)^ceil(t);
floor(t)
huur := t -> 400 1.01
> plot(huur(t),t=0..50,discont=true);
As you can see I have a the function huur(t) with t a positive integer.
I can't find another way to plot this function except by making use of the floor function.
Isn't there a better way?
Asumming that t is a positive integer didn't worked.

Hello,
in a differential equation (in Maple 10) a variable should be replaced by a constant K so that all differentiations of this variable should evaluate to zero.
This is my code:
```
constants:= constants, K:
myDG1:= u(t) + diff(u(t),t)^2 + v(t)=0:
subs(u(t)=K,myDG1);
```

K+(diff(K, t))^2+v(t) = 0
Although I have already assigned K to be constant, Maple doesn't replace d/dt K by 0. Any help would be appreciated.

Consider a sum:
Sum((-1)^(i+1)*Sum(1/j,j=1..i)*x^i,i=1..infinity);
value(%);
The result given by Maple 11 is:
sum((-1)^(i+1)*(Psi(i+1)+gamma)*x^i, i = 1 .. infinity)
However, from an calculus book I know the answer is:
log(1+x)/(1+x).
How can I get this result from Maple? Whether should I give some assumptions?
Best wishes.

Here I difine a subfunction:

mandelbrot := proc(x, y)

local c, z, m;

c := evalf(x+y*I);

z := c;

for m to 30 while abs(z) < 2 do

z := z^2+c

od;

abs(z);

end:

Then I want to plot this function using densityplot command:

plots[densityplot](mandelbrot, -2 .. 0.7, -1.2 .. 1.2, grid=[50, 50], style=patchnogrid, scaling=constrained);#This command is right.

But...

plots[densityplot](mandelbrot(x,y), x=-2 .. 0.7, y=-1.2 .. 1.2, grid=[50, 50], style=patchnogrid, scaling=constrained);#Error, the proc I defined could not determine whether abs(x+1.*I*y) < 2.

To Maplet enthusiast:
I uploaded a functional shortened code from a 35-page code. See ShortVersion.mw under Recent Files.
Although the file is compiled/interpreted successfully by Maple 11, the maplet plotter did not plot.
I will appreciate it very much if someone can offer an explanation why the element failed and a possible suggestion on how to correct the problem.
Many thanks
Pat Velez

Here is a derivative that I'm trying to take that I get a different answer from Mathcad. This would normally be ok I guess except when trying to figure arclength in Maple I don't get an answer and in Mathcad it works fine.
diff((3+4*y^4)/12*y,y);
The original equation is: 12xy - 4y^4 = 3
Thanks,
glenn

I am trying to convert equations from cartesian to polar and spherical expecting Maple to change the variables from x,y and z to r, theta, etc. I presume I am using the wrong commands.
convert(exp(sqrt(x^2+y^2)),polar)
returns the same expression in x and y. What is the correct command?
thanks

I seem to keep running into things in Maple that I just can't get to plot. I have been using Mathcad and am trying to learn to do everything in Maple, but keep finding myself having to go to Mathcad to do even the simplest things. Could someone please help and explain to me what I'm doing wrong?
I have with(plots) and restart() at the top of my page.
I then do this:
g1 := implicitplot(3x^2,x=0..10,y=0..10);
display( g1 );
This results in it just printing the display line again, no graph is shown.
I can get this to work using the plot command but since its not very easy in Maple to print multiple equations on a single graph I have started trying to do them this way. If there is a better way to do graphs then please tell me this as well as I'm trying to learn Maple as best as I can.

I have a fairly simple integral that I'm trying to complete in Maple and keep having to go to Mathcad to get an answer that I can use. This is just one example of many times this has happened and I'm wondering if maybe I'm entering something wrong or if there is a better way to do it.
int( (x^2 + 1)^3/2, x=0..1);
The answer coming back from Maple is really long, where the answer coming from Mathcad is really short.
Can anyone tell me what I might be doing wrong?
Thanks,
glenn

Hi,
I'm new at Maple, trying to migrate from Mathcad but I'm getting stuck on a basic problem.
I want Maple to find *numeric *solutions to a maximization problem and express the solution as a function of the problem's parameters.
To take a very simple example of the more general thing I want to do, suppose I have a profit function which is a function of inputs T and L and factor prices w and r.
```
F:=(T,L)->T^(1/2)*L^(4/5);
Profit := (T, L, w, r) -> F(T, L)-w*L-r*T;
```

I seem to be able to *almost* isolate the parameterized functions I want as follows:

Can someone help me with the Dagger command in the Physics package ?
I can't seem to get it to work for matrices.
thanks,

I'm just learning to write Maplets for the purpose of using them as a teaching tool.
Two questions:
1. I'd like to have a slider that updates a plot argument AND plays the plot's animation but I can't seem to figure out how to write two controls into the slider's options. (I've tried "Action(Evaluate...,SetOption...) to no avail.
2. Is it possible to have the location of the slider read in 'real-time' i.e. as the user moves the slider back and forth a feature in a plot changes? It seems as if the 'onchange' option is required but I can't seem to get this going either.
Cheers,
Co

I am trying to find a simple way to convert an expression in D notation to the corresponding expression in Diff notation.
In particular I am interested in expressions, such as -D[1](f)(x-y,z-y)-D[2](f)(x-y,z-y), which should become Diff(f(x-y,z-y),y).
Can maple handle this?

I am trying to produce a publication-quality graph. The graph consists of several curves and is a combination (using the *display* command) of some output from *plot* and *odeplot*. I have uploaded the Maple 10 worksheet, plotFig1.mw, that produces the graph so that others can see what I've done. I have also uploaded plotFig1.eps, the encapsulated postscript file that contains the graph exported from the final graphic in this worksheet.
I have tried different possibilities but am still disappointed with the quality of the curves produced, especially the "aliasing" (zigzagging horizontal and vertical line segments that poorly simulate smoothness) near the maxima of these curves.

I would like to plot in 3D a solenoid toric in cylindrical coordinates.
here is the system equation.

Download 4968_Solenoid toric.docView file details