Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I have a Dataframe of data, although I assume this question applies to any type of rTable-like structure.

What is a simple/elegant way to export the image of the data to a JPG file?  I would be happy to see it in the format when I ask it to print the Dataframe, or when I use DocumentTools:-Tabulate.

I have created two graphs*, each is a combination of multiple plots. From this, I use "plots:-display" to create an array of the two graphs.  I wish to export this array of graphs to a jpg file. Is this possible?  (Yes, I can export each graph, but I would like it combined in the array image that Maple displays.)

* Why the asterisk: I make two plots. When I combine them through the plots:-display procedure, what type of output is produced? I've called it a graph. The help implies the output is a plot array. However, that is different from displaying an array of graphs through plots: display (Array([plot1, plot2])). Correct?

 

The Proceedings of the Maple Conference 2023 is now out, at

mapletransactions.org

The presentations these are based on (and more) can be found at https://www.maplesoft.com/mapleconference/2023/full-program.aspx#schedule .

There are several math research papers using Maple, an application paper by an undergraduate student, an engineering application paper, and an interesting geometry teaching paper.

Please have a look, and don't forget to register for the Maple Conference 2024.

i have made a full working code for differential quadrature method now i am  changing examples and it is not working although i have properly defined new parameters i am attaching my code kindly help me out
one more thing one example include summation n=0..ininity it is not even evaluating taking alot of time i am attaching both codes kindly help me out
A+B_example.mw
chelishkov_comparison.mw

Is there a way to install 2024.1 and keep 2024 there also? i.e. install 2024.1 along side 2024? This way if I find a problem and want to check 2024 I still have it? 

i.e. install Maple 2024.1 in its own folder, separate from Maple 2024, and have its own icon on desktop. 

If I install 2024.1 using Tools->Check for update,  it will overwrite 2024 and not ask me if I want to keep it. At least this is what happened in Maple 2023 and earlier versions. So wanted to ask before I try to do this again, else it will be too late.

If I do not use Tools->Check for updates, and instead download 2024.1 manually from the product web page, will one then be able to install 2024.1 and keep 2024? Or will it also overwrite 2024? I have not tried because I do not know if it will ask me or not.

Maple 2024.

Dear all, in Maple Help exists the documentation of how to use the OpenMaple API Library. But I didn't found a link where to download the necessary libraries. I found e.g. the library maple-0.17.4.jar but it doesn't contain com.maplesoft.openmaple.*

http://www.java2s.com/example/jar/m/maple-index.html

Tahnks for help

A simple visual way to show that the parametric equation of a circle is a helix in our three-dimensional space.
Parametric equation of a circle f1 and f2.
The helix is ​​defined by the intersection of two mutually perpendicular cylindrical surfaces f1 and f2.

 

restart; with(plots): 
R := 1.;
f1 := x1-R*cos(x3); 
f2 := x2-R*sin(x3); 
PT := implicitplot3d([f1, f2], x1 = -6 .. 6, x2 = -6 .. 6, x3 = -2 .. 12, numpoints = 10000, style = surface, color = [blue, green], transparency = .5):
IT := intersectplot(f1, f2, x1 = -1 .. 1, x2 = -1 .. 1, x3 = -2 .. 12, thickness = 3, axes = normal, grid = [10, 10, 30]): 
display(PT, view = [-6 .. 6, -6 .. 6, -2 .. 12]);
display(PT, IT, view = [-6 .. 6, -6 .. 6, -2 .. 12]); 
display(IT, view = [-R .. R, -R .. R, -2 .. 12], scaling = constrained)

We have just released an update to Maple. Maple 2024.1 includes improvements to the math engine, PDF export, the Physics package, command completion, and more. As always, we recommend that all Maple 2024 users install this update. In particular, please note that this update includes fixes to ODESteps and simplifying integrals, as reported on Maple Primes. Thanks for helping us, and other users, by letting us know!

At the same time, we have also released an update to MapleSim. MapleSim 2024.1.1 includes improvements to FMU import/export, plotting, co-simulation, and more, as well as enhancements to the Web Handling Library.

These updates are available through Tools>Check for Updates in Maple or MapleSim, and are also available from the Download Product Updates section of our web site, where you can find more details.

Circular_gears_meshing_blunt_teeth_shape_from_involute_of_circle.mw

My worksheet has suddenly begun producing the following error message when executing legitimate commands:

Error, (in cos) type `SymbolicInfinity` does not exist

Why has this worksheet suddenly begun issuing these mysterious error messages and how can it be restored to working order?

What is the command to stopat and showstat the proc  DEtools:-odeadvisor ?

I tried

ode:=y(x)*(2*x^2*y(x)^3+3)+x*(x^2*y(x)^3-1)*diff(y(x),x)=0;
DEtools:-odeadvisor(ode);

showstat(`DEtools/odeadvisor`);

showstat(`ODEtools/odeadvisor`);

And few other variations. It works on other proc's  such as

stopat(`ODEtools/symtest`); 
stopat(`ODEtools/test`); 
stopat(`ODEtools/normal/expanded`); 
stopat(`ODEtools/odepde`); 

But I was never able to figure the name for `DEtools:-odeadvisor`

Is there a general method to determine the correct name to use for printing or stopping at Maple command code to see it?

For me, it seems like trial and error process. For example DEtools:-command   becmes ODEtools:-command to stop at. Notice the extra O needed for tracing or printing. Do not know why extra O is needed. But showstat(`DEtools/symtest`); gives error, and showstat(`ODEtools/symtest`); works even though the command itself has no O.

So my question is, what would be the command to stop at DEtools:-odeadvisor? Is there a place to read more about how to find the correct path to give so do not have to guess?

Maple 2024

Context of My Code:

I want to determine the SU(2) field strength tensor for a specific field configuration(later the equations of motion). I have managed to implement the covariant derivative and the gauge field, but now I am encountering problems with the field strength tensor. When substituting the definitions of my gauge field (7) and my covariant derivative (13) into my field strength tensor (14), the following problems occur:

  1. The derivatives do not act on f(r) or r (r should be the radial component of my coordinate system).
  2. The unit vectors are not explicitly multiplied together. Mixed terms should vanish and quadratic terms should result in one.

I am not even sure if I can properly form F[]^2 due to my definition in (4). I have seen in the setup that there are SU(2) indices, but I couldn't find anything helpful on how to handle this. Is it better to use SU(2) indexing?

It would be nice if someone could tell me why my terms are not simplifying or direct me to where I need to look to understand it.

Here is my code: 

SU(2)_Field_Strength.mw

Maple gives type of this first order ode as _homogeneous, `class C`, but it is also dAlembert ode.

When asking it to solve as  dAlembert using the method option, it solves it.

But it returns singular solution which is wrong as it does not satisfy the IC. Singular solution should also satisfy IC like particular solutions do.

Is this a bug or Am I overlooking something?

Should not the solution returned satisfy the IC even though method used is not listed from odeadvisor?
 

29028

interface(version);

`Standard Worksheet Interface, Maple 2024.0, Windows 10, March 01 2024 Build ID 1794891`

Physics:-Version();

`The "Physics Updates" version in the MapleCloud is 1764 and is the same as the version installed in this computer, created 2024, June 28, 12:19 hours Pacific Time.`

restart;

29028

ode:=diff(y(x), x) = (3*x - y(x) + 1)/(3*y(x) - x + 5);
ic:=y(0)=0;

diff(y(x), x) = (3*x-y(x)+1)/(3*y(x)-x+5)

y(0) = 0

sol:=dsolve([ode,ic],[dAlembert]); #this solution is singular solution.

y(x) = x-1

odetest(sol,[ode,ic]); #notice, solution do not satisfy IC

[0, 1]

sol2:=dsolve([ode,ic]):
odetest(sol2,[ode,ic]); #this is OK since used default method, not dAlembert

[0, 0]

DEtools:-odeadvisor(ode)

[[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]

 


 

Download dsolve_dalembert_july_2_2024.mw

 

Dear All,

I have a polynomial in terms of time. I know that based on the nature of the problem, the real function that governs this problem is the sum of exponential functions with a negative power, for example, in the form of alpha[0]+add(alpha[i]*exp(-beta[i]*t), i=1.. 5).

Can you help me if there is a method that can be used to obtain these exponential functions using following polynomial?

The polynomial function is as follow:

f:=0.020399949322360296902872908942 + 0.0261353198432118595103693714851*t^3 + 0.0240968505875842806805439681431*t^4 + 0.0148456155621193706595799212802*t^5 + 0.0239969764160351203722354728376*t^2 + 0.0204278458408370651586217048716*t - 0.00450853634927256388740864146173*t^6 - 0.0355389767483113696513996149731*t^7 - 0.0766669789661906882315038416910*t^8 - 0.120843030849135239578151569663*t^9 - 0.153280689906711146639066606024*t^10 - 0.150288711858517536713273977277*t^11 - 0.0808171080937786380164380347445*t^12 + 0.0872390654213369913348407061899*t^13 + 0.373992140377042586618283139889*t^14 + 0.766807288928470485618700282187*t^15 + 1.19339994493571167326973251788*t^16 + 1.49476369302534328383069681700*t^17 + 1.41015598591182237492637420929*t^18 + 0.593451797299651247527539427688*t^19 - 1.31434443870999971750661332301*t^20;

Best wishes

I have the following problem, I want to define my own covariant derivative. This mixes my gauge fields with the Pauli matrices. My Setup() looks like this:   

restart;
with(Physics);
Setup(spacetimeindices = greek, spaceindices = lowercaselatin_ah);
Setup(signature = `-++ +`);
Setup(coordinates = spherical);

 

And this is my covariant derivative: 

Define(D[mu] = d_[mu] + 1/2*ig*Psigma[a]*A[mu, a])

If I output the tensor, MAPLE should automatically perform a summation over the spatial indices a, right? It looks like this in my case: 

I find the indexing a bit strange. When I look at the first entry, for example. Why does a in A[mu,a] go from 1-3 and the a of Psigma[a] from 2-4? They should both be spatial indices, right? Can I change the indexing in Setup() or am I doing something wrong here?  

What maple command returns the condition number of a matrix?

First 93 94 95 96 97 98 99 Last Page 95 of 2216