Thomas Dean

312 Reputation

10 Badges

18 years, 309 days

MaplePrimes Activity


These are replies submitted by Thomas Dean

@acer 

I want to use Maple Input for Options->Display->Input display. i.e. use * for multplication.

I want the output to look like the input. So, I set Options->Display->Output display to Maple Notation. This gives the typesetting message for most input lines.

Options->Display->Output display set to 2D Math Notation uses spaces to indicate multplication. I have problems with that for complicated expressions.

@acer 

I want maple notation for output. I want the output to look like the maple notation input.

I have problems with spaces being used for multiplication, etc.

@vv 

This is a new install of Maple 2022 on Ubuntu 20.04. I did not copy the settings from Maple 2021.

I had the same problem with Maple 2021.

I have options->Display->Input Display and Output Display both set to Maple Notation.

That is the only change I made from the installation values.

I tried prettyprint and typesetting. did not change the messages.

@Kitonum 

Thank you, I am beginning to understand this.

How do I rotate about a line other than one of the axis, say y = -3*x+8?

@Kitonum 

This is a great answer. Much more than I wanted.

How do I just plot the final figure, no animation?

@acer 

I posted my OS version earlier. Ubunti 20.04 is in the supported list.

Plot3d works correctly with plotsetup(maplet), or inline, or window.

I believe this is a problem with Student[Calculus1]):-VolumeOfRevolution.

@Rouben Rostamian  

I have been using maplev and plotsetup(maplet).

Student[Calculus1]):-VolumeOfRevolution(f(x), g(x), x = a .. b, output = plot) produces a blank plot with this setting.

Changing to plotsetup(inline) or plotsetup(window)  produces a correct plot.

> plotsetup(help);
Usage plotsetup(device,options).
The following device types are known:
 PostScript, X11, bmp, char, cps, default, dumb, dxf, eps, gdi, gif, hpgl, hplj, inline, jpeg, laserjet, maplet, pcx, png, postscript, pov, ps, svg, tek, tektronix, window, wmf, x11, xwindow
Please see ?plotsetup for more information

> plotsetup(maplet)
> plot(sin(x))
> plot3d(sin(x) + cos(y))

all produce a popup maplet and a correct plot.

But, Student[Calculus1]):-VolumeOfRevolution(f(x), g(x), x = a .. b, output = plot) produces a blank plot.

@Rouben Rostamian  

I restarted xmaple. Now, I can plot both inline and window.

Earlier, when I set options->display->plot display inline, I got a popup maplet. Now, with plot display set to inline, I get the inline plot.

I can select either inline and get an inline plot or select window and get a popup maplet. In either case, I get the plot.

Strange...

@Rouben Rostamian  

> uname -a
Linux aorus 5.15.0-56-generic #62~20.04.1-Ubuntu SMP Tue Nov 22 21:24:20 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
 

> kernelopts(version);
   Maple 2021.2, X86 64 LINUX, Nov 23 2021, Build ID 1576349

In options, display, I had plot display set to inline. Changing it to window fixed the problem.

How do I find the extrema of eq1?

eq1 := x = (((72*5^(3/2) + 270)*a^2 - 1344*5^(3/2)*a)*w + (9*5^(5/2) - 1485)*a^2 - 2016*5^(3/2)*a - 12544*5^(5/2))/(((288*sqrt(5) + 216)*a^2 - 5376*sqrt(5)*a)*w + (36*5^(3/2) - 1188)*a^2 - 8064*sqrt(5)*a + 6272*5^(3/2))

extrema(rhs(eq1), {a, w}) returns {-10}

plot3d(evalf(rhs(eq1)), grid = [200, 200]) shows several local local maxima and local minima of eq1.

How do I get these values?

@Carl Love 

allroots(cos(x)=x^2/1000,x=-40..40)

works great, returns all 22 roots in 31msec and does it all the time. No need to scroll through a listing of roots.

Thanks Robert Israel.

@Carl Love 

Am I doing something wrong? If  not, why do the results not return all soltions?

interface(version);
Maple 2022, X86 64 LINUX, Mar 8 2022, Build ID 1599809

restart:
with(DirectSearch):
eq:=cos(x)-x^2/1000:

f:=proc(eq)
local A;
    A:=SolveEquations(eq,[x=-32..32], AllSolutions):
    numelems(select(has,convert(fnormal(A[..,1]),list),0.));
end proc;
    
seq(f(eq),idx=1..10);
seq(f(eq),idx=1..10);
seq(f(eq),idx=1..10);
                    22, 21, 21, 22, 22, 21, 21, 22, 22, 22
                    22, 22, 21, 21, 20, 22, 22, 22, 21, 22
                    22, 22, 22, 22, 21, 21, 21, 22, 22, 22
seq(numelems(Student:-Calculus1:-Roots(cos(x) - x^2/1000)),idx=1..10);
                   20, 20, 20, 20, 20, 20, 20, 20, 20, 20

@Joe Riel

Am I the only one using this? If so, I can use maplet...

If you are going to fix it, I think it should do the same as command line maple in an xterm. Pop open a plot window with the displayed plot.

@Joe Riel 

Maplev output buffer:

(**) reset;
                                     reset
(**) plotsetup(maplet);
(**) plotsetup();
  preplot = [], postplot = [], plotdevice = maplet, plotoutput = terminal,

        plotoptions =
(**) plot(sin(x));
(**) plotsetup(x11);
(**) plotsetup();
  preplot = [], postplot = [], plotdevice = x11, plotoutput = terminal,

        plotoptions =
(**) plot(sin(x));
Error, plot driver not found

@Thomas Richard 

This happens with Emacs/maplev-mode but not with command line in an xterm

1 2 3 4 5 6 7 Page 3 of 9