> plot([(12-2x)^(0.5)], x=-10..10);
Error, missing operator or `;`
this line looks right to me but i keep getting that error in maple. i have also tried:
> plot((12-2x)^(0.5), x=-10..10);
does anyone have any ideas how i can fix this?
any help would be great thanks

On Maple 11 Modern Version:
If I have two parametric curves, say y = 4t + t^4 and x = 5t - 7t^2 how can I plot an equation such as (y'') * (x') + (3x'') with ' being differential and '' being second differential.
I have tried it in numerous ways but get the following error message - "Warning, unable to evaluate the functions to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct". I have been trying to plot for t=-1..1.
Thanks

Several weeks ago I submitted a request titled "Plot This! - Elliptic Integrals", which Dr. Robert Israel responded to with the following code which successfully plots the relationship of two variables, beta and k, over the range of interest.
> with(plots); Digits := 15;
> implicitplot(2*EllipticE(sin(beta), k)-EllipticF(sin(beta), k) = tan(beta)*sqrt(1-k^2*sin(beta)^2), k = 0 .. .99, beta = 3.5 .. 5.5, view = [0 .. 1, 3.5 .. 5.5]);
However, the plot indicates that for the range of k=0..0.99, beta is approximately equal to 4.77 radians (273 degrees), whereas the paper that I am researching indicates a value of beta equal to 257 degrees 28 minutes. I have attached worksheet that includes the commands provided by Dr. Israel for information.

I'm looking for some examples of how Maple is being used by others to solve good, old-fashioned freshman physics homework problems. I have been getting the job done but my command of the program is so limited that I wind up using it like just an old graphing calculator.
I'd really like to see how other, more advanced users are using it.
Any suggestions?

Hello everybody,
I hope some of you have experience with multivariate Ore polynomials in Maple and will be able to answer the title question.
So far I've needed only univariate Ore polynomials, used the OreTools package for them and have been very satisfied with it. However, now I've come across a problem that needs to employ multivariate ones - therefore I am forced to try the Ore_algebra package, which should make computations with multivariate Ore polynomials possible (as far as I know, OreTools cannot handle multivariate Ore polynomials - or am I wrong? I wish I was)
And here comes my trouble! Not only that I am not able to solve my multivariate problem with Ore_algebra, I don't even know how to do simple calculations (which can be so easily performed with OreTools) using Ore_algebra.

Hi everyone,
I m a beginner with maple, so please, be patient with me! I m trying to use some complex algebra in maple. In particular, I want to define a function f(r,z) and I want to impose it to be REAL.
So I thought, let's first impose the variables to be real(I'm using Maple 10, so I write everything as if I was in a document, ok?):
assume(r,real)
assume(z,real)
after I have done this, I define the function, using the appropriate f(x,y) button in the toolbar:
F:=f(r,z)
and I impose it to be real:
assume(F, real)
but for some reason this does not work. Anyone knows why? The reason why I need to impose the function to be real is that F will be later multiplied by exp(Iz) to form a complex number.

Here is a technique which I need to do over and over and over
in Maple. I am currently writing a research paper for the International Journal of Mathematics and Mathematical Sciences.
I need to get this example out as soon as possible.
Suppose I want to create a matrix where the (i,j) entry
is the polynomial x^i + (x+1)^j
whatever the entry is.. it doesn't matter.
Point is that the entry depends upon the row i and column j
How can I create and fill such a matrix?
My matrices a slightly more complicated, involving entries
such as diff(x^i + (x+1)^j,x) where it is actually easier

Hello,
I am just learning how to use Maple and only have Maple 9.5.
I am attempting to read in a single column of data from a pre-made txt file into Maple but I am having difficulty. For some reason Maple states that it cannot find the file that I am pointing it to.
This was what I wrote...
>restart;
>RD:=readdata("c:\temp\test.txt");
I tried using " instead of ' and it gave me an error message as well.
Any ideas what the problem might be? Thanks.

I've got two procedures set up that work, but I know there have to be better ways to accomplish the same goals.
First, I've got a procedure that finds to how many digits two floats (*a*

and *b*

) agree. I had tried a few methods of examining the `SFloatMantissa`

and `SFloatExponent`

of the difference, but those methods would fail in unpredictable ways. My current method explodes the floats into lists and compares every entry in a *for*

loop. The example below is basically the heart of my procedure (I do take into consideration things like the location of the decimal and trailing zeros):

In order to get better acquainted with the plotting facilities of Maple I thought I would try to plot the Möbius strip. In the proces I generalized the task so that I would be able to plot a ribbon twisted an arbitrary number of times. From these efforts the following code resulted:

with(plots):
radiusVector := (phi) -> Vector([cos(phi),sin(phi),0]):
ribbonVector := (phi) -> Vector([-sin(phi)*cos(phi),-sin(phi)*sin(phi),cos(phi)]):
p := (twist,theTitle,theOrientation) -> plot3d(
radiusVector(phi) + t*ribbonVector(twist*phi),phi=0..2*Pi,t=-0.3..0.3,
title=theTitle,orientation=theOrientation,grid=[100,10],scaling=constrained
):

Below follow two examples: 1. Ribbon with 1/2 twist: The Möbius strip:

display(p(1/2,"Ribbon with 1/2 twist: The Möbius strip",[200,70]));

2. Ribbon with 1/1 twist:

display(p(1/1,"Ribbon with 1/1 twist",[40,60]));

I am trying to produce a 2-D plot of the function (sin(x))^2 using the context menu in document mode but Maple returns this error:
sin(x)^2 -> Error, invalid input: smartplot uses a 1st argument, f (of type {algebraic, algebraic = algebraic, {set({algebraic, algebraic = algebraic}), list({algebraic, algebraic = algebraic})}}), which is missing
It does the same when I change the function. What's wrong?
Thanks
Stéphane

All:
I am trying to find the critical points for f(x):=((x-1)^2)^(1/3)-.5*x^2 over [-2, 2]
It has two stationary points
solve(diff(((x-1)^2)^(1/3)-.5*x^2,x)=0,x);
-.5732093133, 1.180229770
and one singular point.
1
But CriticalPoints(((x-1)^2)^(1/3)-.5*x^2, x); only finds
-.5732093133, 1
Can anyone explain why?
Thanks

Hi -- I am trying to plot a (fairly basic) procedure, Q_plot, which defines a piecewise function (three pieces).
Q_plot evaluates no problem at the command prompt for all three regions -- but only plots for two of the three regions. Resulting in a big hole in the middle of my graph!
Hmm?
I've uploaded a copy of the worksheet, with the plot (and the aformentioned hole in the middle). Thanks
Here's the link to the worksheet:
http://www.mapleprimes.com/files/5475_Diagnostic-proc-Q.mw

Hello all,
I have a function, a(r,zeta). For a particular range of values of zeta and r, I'd like to find out which value of zeta will give me the smallest maximum point on the function. I've used the Optimization:-Maximum function to give me the maximum point at a specific value of zeta, but after that I was changing zeta using trial an error to find the smallest maximum, and was wondering if I could get Maple to compute that for me.
Thanks
--Amr

Hello everyone!
My question is a stated above...
I am trying to find a solution to the wave equation for a standing wave in a rope, with damping.
my trial function is : exp(-I*(omega*t+k*x)) * exp(-tau*x)
I am still working on my expression for tau, but besides that I have no idea how to plot this.
I started to plot exp(-I*(omega*t+k*x)) with omega = 2 and k = 4.
I simply can't figure it out, its probebly because it is complex....
Somebody experience with this?
already thanks.