Maple 2021 Questions and Posts

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

We know that the  showstat()  function can provide some available source codes, but it also provides line numbers.  I need to delete one by one to use it, which is not efficient when I want to copy and modify codes. Is there any way to directly remove those line numbers.

for exampe:

showstat(PlaneDual);

I have a procedure where M:=[m2,m3,m4...] and I  assign the m's values from list L:=[0.1,2....]
The procedure will only run once. Rerunning will not reassign the m's.

What is the correct way to do this?

Assign_in_proc.mw

 

Latest updates of Physics package (problem start with version cca 1020) is not announced at Maple cloud user window (see attacehd snapshot). The same problem occur on Windows and Linux platform!

 

Hi,

I have had trouble with a  .mw worksheet..which I will attach.(I am using Maple 2021)..This is second time it got corrupted..I used the

"CompleteMiniCourseComputerAlgebraPhysics" and copy parts to worksheets so I can work the problems and I do 

Alot of markups and highlighting as well as add coments a copy as Text from help on certain commands..

I read some other posts that discuss corrupt file thats use XML I think in the worksheet....I checked this in the area I was working and did not find anything (I completed about half of the course saving as I went and had no problems)....so any guidance would be appreciated..

ThanksMyMinitCourseComputerAlgebraForPhysicsPart2_-_Copy_-_Copy.zipMyMinitCourseComputerAlgebraForPhysicsPart2_-_Copy_-_Copy.zip

Frank McFee

I have attached some screenshots of the display in Maple 2021 which seem to appear after Maple has been up for an extended period of time (seemingly 3+ hours). The odd characters are not present when the tabs are initially opened, and the problem disappears for awhile after a restart.  Generally, I have not noticed a similar problem in Maple 2020.  However, the corruption of the output affects not only user created worksheets, but also help pages and examples opened from help as can be seen in the image below.

FYI I am using M2021 on an HP Omen gaming laptop that is several years old, but has been updated (drivers and windows)  as they become available.

How I have used maple 2018, 2019 and 2020. I am now trying to switch to 2021, however the resolution is irritating. The resoluion in the palettes tab is bad and is especially bad for the "popup suggestion window" when you press escape on like "sum" or "e". I have tried searching on google to fix it but have not been able to find any help. Using windows 10

The pictures attached shows the resolution problem.

I know it is a small issue, but it annoys me a lot. So any suggestions to what I could do?

Maybe I am missing something here. Maybe it's just a new feature?

I have just installed Maple 2021 on Mac.

A simple sheet, using simplify-simplify to get units right.

Sometimes Maple doesn't update result when pressing Enter.

Sometimes Maple doesn't give any result when pressing Enter.

First everything ok:

Then I change a to 5 m. Pressing Enter on all three lines gives:

The value of A is not updated.

If I then delete the 'simplify 9 m^2' and presses Enter on the line with A:=a*b, there is no output?

Pressing Enter on blue line, no output.

 

Reviewing the help Physics Examples worksheet Section 1, subsection 5 a transformation between cartesion and spherical coordinates is defined using the command ChangeCoordinates from the Physics[Vectors] package. This command is described briefly as follows in the Updates, Maple 2015, Physics page:

"New command: ChangeCoordinates, to rewrite an algebraic expression, using Cartesian, cylindrical, and spherical coordinates, an expression that involves these coordinates, either a scalar expression, or vectorial one but then not changing the orthonormal basis."

However, when I use the link to the ChangeCoordinates help page, the link simply loops back to the Updates, Maple 2015, Physics page.  Is there a specific help page for the ChangeCoordinates command?

I have a polynomial in c & d.  I wish to extract the coefficients of lets say 3rd order i.e c^3+c^2d+c d^2+d^3. 

The polynomials can be of 2,3,4.. variables.  

coeffs(14*c^4 + 84*c^3*d + 180*c^2*d^2 + 165*c*d^3 + 55*d^4 + 5*c^3 + 21*c^2*d + 28*c*d^2 + 12*d^3 + 2*c^2 + 5*c*d + 3*d^2 + c + d + 1, [c, d], 'l');
     14, 84, 180, 165, 55, 5, 21, 28, 12, 2, 5, 3, 1, 1, 1

l[1];
                                4
                               c 

l[2];
                               3  
                              c  d

l;
 4   3     2  2     3   4   3     2     2   3   2        2        
c , c  d, c  d , c d , d , c , d c , c d , d , c , d c, d , c, d, 

  1

 

Quantum Mechanics for Chemistry

J. F. Ogilvie

 

            This interactive electronic textbook, freely available from the Maple Application Centre [https://www.maplesoft.com/applications/view.aspx?SID=154768] in the form of three Maple worksheets comprises three extensive chapters, on model systems, atoms and molecules in turn.  As quantum mechanics is neither a chemical theory nor even a physical theory but a collection of methods, numbering at least thirteen, or algorithms, for calculations on systems of an atomic scale, it is appropriate that computer software combining both strong arithmetical and symbolic capabilities, i.e. Maple, be applied to implement this material.  The book includes calculations involving five of the known methods, and provides many examples and exercises for a reader to enhance understanding of the principles and practice. For the first and third chapters, a readable text as .pdf is also provided but the extent of the second chapter precludes this possibility.

            The objective of this textbook is to demonstrate how the principles of the varied methods become implemented in practical calculations. The chapter on model systems includes treatments of several oscillators that might serve as prototypical of features of diatomic molecules.  The chapter on atoms includes the most extensive treatment available on solutions of Schroedinger's equation for the hydrogen atom, in all four systems of coordinates in which the variables are separable, and also in momentum space.  The chapter on molecules includes an introduction to transparent quantum-chemical calculations, which enables a reader to understand each stage of a calculation on a simple atomic or molecular system leading to a self-consistent field and even to Moeller-Plesset perturbation theory of second order and application of density functionals, which can provide an excellent basis for a subsequent use of opaque numerical programs for calculation of molecular structures and properties.

            This textbook contains, with permission, contributions from several eminent chemists, mathematicians and physicists, acknowledged in the particular locations, that complement the explanatory descriptive text as a profound introduction to quantum mechanics in a context of chemical education.

PlaneDual returns the plane dual of a planar graph G, that is, a graph with faces of G as its vertices in which two vertices are adjacent if and only if they share an edge as faces of G. Of course, this is a little different from the standard definition of plane dual. (Interlude: I estimate that the two definitions are equivalent in the case that the planar graph is 3-connected simple graph)

It's not hard to find a plane dual of a planar graph in Maple. 

g:=Graph({{1,2},{2,4},{3,4},{2,3},{1,3},{1,4},{4,5},{2,5},{1,5}});
DrawPlanar(g);

dual_g:=PlaneDual(g);
DrawPlanar(
dual_g)

Since all labels of the dual graph are used numbers 1..n in maple, I cannot see how its vertices correspond to the face of the original graph.  And further, I want to know one edge of the dual graph corresponds to which edge (should be the boundary on two faces) of the original planar graph.

Maybe input {1,4} of the dual graph and output {2,4} of the original graph.

For example, Input {1} that is a vertex of  dual graph  to get the original face {2,3,4} and if we input {1,4} of the dual graph, we will output edge {2,4} of the original graph.

I don't know if there's a good way to do that.

 

 

Hi,

    here a problem when i solve equations.i guess solve lost a root.how can i do.


An_unexpected_solve_bug_.pdf
Download An_unexpected_solve_bug_.mw

I'm having an issue with MacOS Big Sur 11.4 recognizing a package from saved documents. The package works great from new documents! 

Specifically: 
I've followed the instructions on 
https://www.maplesoft.com/support/help/Maple/view.aspx?path=worksheet/reference/initialization
to add  a .mapleinit
file to my user home directory under MacOS Big Sur 11.4

The .mapleinit file has code as follows to run the VLA package: 
VLAlibpath := "/VLA/library/":
libname := `VLAlibpath`, libname:
and I have the VLA package files with the library inside of it in my home directory too. 

When I open a new Maple document and run and use the package, it works just fine! 

The problem though is that if I save the Maple file and reopen it, it will no longer recognizes the package. I get: 
Error, invalid input: with expects its 1st argument, pname, to be of type {`module`, package}, but received VLA

It is very odd since the file still recognizes the libname just fine:
libname;   "VLA/library/", "/Library/Frameworks/Maple.framework/Versions/2021/lib"

The workaround is to copy and paste into a new document and start a fresh but that is obviously not ideal. 

Any ideas? It is a really really old package, but great for visualization.

Thanks,
Sarah

Hi,

I am using Maple in Document mode and I want to print my worksheet. Is there a possibility to show the page margins as an overlay so that I can adjust the lines of my worksheet in order to avoid automatic breaks making the print difficult to read?

Hi,

I have a function of 3 variables (PiM) which I can use in plot3d given the first argument while the other two arguments are functions of the two variables I use in plot3d.

In the code I attached below, I am plotting 2 planes using plot3d, but I cannot implicitplot where these two planes intersect. COuld you please take a look at my code?

Thanks.

maple_primes_question.mw

 

 

First 24 25 26 27 28 29 30 Last Page 26 of 35