Maple 16 Questions and Posts

These are Posts and Questions associated with the product, Maple 16

I am getting this error for almost everything that i write in maple today, and i simply have no idea what causes it or what it means

 


 

"?SetOfCommonDivisors:=(X,Y)->{[[1,X intersect (map(numtheory:-divisors, Y))<>{???}],[0,otherwise]]??"

Error, unable to parse 'mverbatim'

"?SetOfCommonDivisors:=(X,Y)->{[[1,X intersect (map(numtheory:-divisors, Y))<>{???}],[0,otherwise]]??"

 

``


 

Download WTF_ERROR.mw

Hi, i will post the executed code so you can see what i am saying, essentially i want to know what i am doing wrong here to have simplify not work as a command line function but  it does when i right click the output and select it and the equation label of that output is inserted as the oprand.

I feel like maple is not wanting to be entirely forthcoming with me today or something, but in a more deeper contemplation, i see that refering to the maple interface as if it is a sentient entity is a true indication that i need a social life.

 

But as you will see, the same failure occurs for the ListTools partial sums feature when implemented in commandline code, but works perfectly well when it is selected by right clicking on the output intended 

Download MAPLE_PLEASE_HELP_aGAIN.mw

 

Download MAPLE_PLEASE_HELP_aGAIN.mw

Hi

I am trying to solve an inequality for the real parts of the solution to be less than 0. How do I do that? When trying to use solve, and specifying Re() Maple warns about lost solutions. I can see there are complex solutions to the equation, but i cannot make Maple calculate them. Maple gives me a range for the real solutions (6.1.11) and (6.1.12), but if I use a number out of the range the inequality is still met, the solutions is just complex, which does not matter. The variable a seems to be able to be between -8 and 3 for the real part of the solution to be less than 0.

Kind regards

Simon

The problem and the error in the attached worksheet. 

https://www.maplesoft.com/support/help/errors/view.aspx?path=Error,%20(in%20DocumentTools:-GetProperty)%20input%20is%20ambiguous

 


 

with(DocumentTools):

Do(convert(%CONTAINER1, string))

Error, (in DocumentTools:-GetProperty) input is ambiguous

 

``


 

Download MAPLE_PLEASE_HELP.mw

hey guys does anybody know if i can define a vector from its degree and lenght. instead of having to use coordinates?

the only way i know of defining a vector so far is

Vector1:=<x,y>

sorry my english is'nt the best

 

- Morten Lund

I'm just unable to see how this could be correct, if someone can take a look it would be much appreciated.

 


 

sum((piecewise(6 = k, 1, 6 <> k, 0)-3*frac((1/3)*N)*piecewise(6 = k+1, 1, 6 <> k+1, 0))*floor((1/3)*N*3^(k-floor(ln((1/3)*N)/ln(3))-1)), k = 1 .. floor(ln((1/3)*N)/ln(3))+1)

sum((piecewise(6 = k, 1, 6 <> k, 0)-3*frac((1/3)*N)*piecewise(6 = k+1, 1, 6 <> k+1, 0))*floor((1/3)*N*3^(k-floor(ln((1/3)*N)/ln(3))-1)), k = 1 .. floor(ln((1/3)*N)/ln(3))+1)

(1)

simplify(sum((piecewise(6 = k, 1, 6 <> k, 0)-3*frac((1/3)*N)*piecewise(6 = k+1, 1, 6 <> k+1, 0))*floor((1/3)*N*3^(k-floor(ln((1/3)*N)/ln(3))-1)), k = 1 .. floor(ln((1/3)*N)/ln(3))+1))

piecewise(k = 5, -3*(floor((-ln(3)+ln(N))/ln(3))+1)*floor(27*3^(-floor((-ln(3)+ln(N))/ln(3)))*N)*frac((1/3)*N), k = 6, (floor((-ln(3)+ln(N))/ln(3))+1)*floor(81*3^(-floor((-ln(3)+ln(N))/ln(3)))*N), 0)

(2)

``


 

Download mapleHELP.mw

So I've got a function and try to find an extrema (and there is one on the plot), but Maple gives me empty brackets.

First, earlier it gave me 2 x-coordinates with extrema (both empty), but now (after reloading) it gives one and empty.

Second, how do I set an interval, if I want to look for extrema from x=0 to x=1, for example? I tried extrema (V, {0,1}, x) and (V, {x=0, x=1}, x), but nothing seems to work.

2.mw

 I am trying to solve 2 equations in maple:

 1/  solve({1<x or x<3 or x>5});

 {x=x}    solution is correct

 2/  solve({1<x or x<3 or x<5});

 {x<5}    solution is wrong

 How do I have solution correct is {x=x} in Maple?

 Please teach me about this.

 Thank you very much!

I think that I am probably making this more complicated than it needs to be, but I'm fairly certain that the way that I am doing this is possible within Maple. 

 

Currently I have this line of code

>implicitplot3d({2*sqrt(2)*x-2*z+sqrt(2) = 0, 2*sqrt(2)*x+2*z-sqrt(2) = 0, 2*sqrt(2)*y-2*z-sqrt(2) = 0, 2*sqrt(2)*y+2*z+sqrt(2) = 0}, x = -2 .. 2, y = -2 .. 2, z = -2 .. 2)

 

So these equations create planes that intersect creating a tetrahedron. The problem I'm running into is that I need to "trim" the extra bits of the planes outside of the tetrahedron. The idea I have right now is constraining each plane by 3 equations which would turn the planes into triangles. I think this will work but I'm not sure how to constrain each individual plane with different equations AND plot them on the same graph. Any direction here would be greatly appreciated. I would prefer to stick with using implicitplot3d and avoid any special plotting tools. 

 

Thanks for any help!

hello everyone!!

I need to plot the function x^3-x^2-x-1, and in the plot I need to calculate de point X that make the function equals to cero (the cutting point with the x axis).

Thanks you!!

I just found that Maple 17 and Maple 16 do not have the option "output=string" in the latex command.

And I need a way to convert the Latex generated to the screen to a string and save it to a variable like I can do with Maple 2017

Here is an example. In current Maple 2017 this works

result_of_int:=int((-5+3*x)^2/(2*x-1)^(7/2),x):
my_latex:= latex(result_of_int,output=string);

But in Maple 16, it gives an error

If I remove the output, then the result is not string.

How to capture the above output which is on the screen and save it as string in a variable?

I do not want to send the output to a file as is. I need to first convert it to a string, and save
it to variable first.

 

 

I have a system of equations that can't be solved analytically, but can be solved using fsolve. I would like to plot the solution for one of the unknowns as a function of a parameter "DV" that is in a few of the equations. There are two issues at hand. First, even if I give DV a numerical value, the solutions are of the form { x = 0.23, y = 4.56 }, a form that plot( ) obviously can't handle directly. Generally I have dealt with this by using the op( ) command to pick out the solution I want; is there a better way?

But even after I have the solution I want, fsolve( ) won't work until I give it a value for DV. Thus a plot( ) command like

   plot(op(2, op(2, fsolve({e1, e2}, {x, y})), DV = -1 .. 1)

fails with an "Error, (in fsolve) DV is in the equation, and is not solved for" error.

There's got to be an esy way to do this!

I found from this forum that to plot a 2D array of points use can be made of the Maple procedure surfdata.
 

Does anyone have suggestions on how to plot contours in (preferrably) Maple 16 or Maple 17?

I tried the following

Output := Array(-10 .. 10, -10 .. 10, proc (i, j) options operator, arrow; i^2+j^2 end proc):
F := proc (x, y) -> x^2+y^2 end proc:
surfdata(Output, color = F, dimension = 2);

but "the option dimension = 2" is a Maple 18 addition.

Ideally, I would like also to be able to plot contours with options found in the procedure
contourplot

Hi, i encountered this, error, and the link to the help page was broken.

Error, (in RootOf) expression independent of _S000100
 

I don't recall ever changing any settings in my copy of Maple 16. But for some reason, I tried to make a plot and it spit out line-printed output rather than a regular plot.

How do I change this back? I have no use for line-printed output.

lineprinted_fail.mw
 

plot([E1(x), E2(x), E3(x)], x = 0 .. 5, title = "Nitrogen Nucleus Second-Order Energy Shifts")


                                                                              
                  Nitrogen Nucleus Second-Order Energy Shifts                 
  |                                                                           
  +                                                                     HHHHH
6e-08                                                               HHHHH     
  +                                                            HHHHHH         
4e-08                                                     HHHHHH              
  +                                                  HHHHHH                   
  +                                           HHHHHHH                         
2e-08                                  HHHHHHHH                               
  +                           HHHHHHHHHH                                      
  +             HHHHHHHHHHHHHHH                                               
  ***************************************************************************
0 +              1    HHHHHHHHHH2HH           3              4              5
  +                               HHHHHHHHH                                   
-2e-08                                    HHHHHHHH                            
  +                                              HHHHHHH                      
-4e-08                                                 HHHHHH                 
  +                                                         HHHHHH            
  +                                                              HHHHH        
-6e-08                                                                HHHHH   
  +                                                                       HHH
                                                                              

 

NULL

``


 

Download lineprinted_fail.mw

 

1 2 3 4 5 6 7 Last Page 2 of 38