Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I am adding 'specificheat' as a property to the Element database in Maple.

In my .mapleinit I have added the property so it is permanent

I have a Package that loads the values in from a table using

  ScientificConstants:-ModifyElement(parse(elemt),specificheat=[value=data[i,4]*1000,units='J/kg/K']);

which runs in a loop for all elements I have values for. This all works.

My issue: GetUnit() returns a unit of m^2/(s^2*K). While this is not wrong, I want it to stay J/(kg*K), which is much more suitable for my work (and, besides, is the SI unit for specific heat). I can use convert to fix it on a case-by-case basis, but that is decidedly clumsy.

Is there a way to do that?

This is in Maple 2015. I have access to Maple 2023 as well, but not where I am right now. I really need this to work on all of them.

TIA,

M.D.

Hi Maple community, and all,
an arbitrary arithmetic progression, with starting value , s, 

and increasing by "a", where "a" is the value to add, every time,
so
{Arithmetic Progression} is found by calculating
s+a*index

where index is a running index 
see attached
arithmetic_progression_with_1_and_8.mw

arithmetic_progression_with_1_and_8.mw

hopefully, that is useful, as an example, of an arithmetic progression.

Regards,
Matt

In the following example, the result of PDETools:-dchange()  is unexpected.  This may be due to my misunderstanding of the documentation, or (hopefully not) a bug.  Any comments?

restart;

with(PDETools):

Differential equation over 0 < x and x < 5:

de := diff(u(x),x) + x*u(x) = 0;

diff(u(x), x)+x*u(x) = 0

Transform the domain from 0 < x and x < 5 to 0 < xi and xi < 1:

tr := x = 5*xi,  u(x) = v(xi);

x = 5*xi, u(x) = v(xi)

dchange({tr}, de, {xi, v(xi)});

(1/5)*(diff(v(xi), xi))+5*xi*v(xi) = 0

That's good.  Now do the same thing to a generic first order ODE:

DE := F(x,u(x),diff(u(x),x));

F(x, u(x), diff(u(x), x))

dchange({tr}, DE, {xi, v(xi)});

F(xi, v(xi), (1/5)*(diff(v(xi), xi)))

That's not good.  The first argument of "F," which was x, should have changed to 5*xi.

 

Download dchange-problem.mw

 

The two uploads are my attempt to solve Problem 177 in the book "200 More Puzzling Physics Problems" by authors Peter Gnadig, Gyula Honyek and Mate Vigh.

The first upload of a conducting rod moving with initial velocity along two arms of a triangle in a perpendicular constant magnitic field successfully produces an animation.

The second upload of the rod moving on the arms of a parabola produces a puzzling error message when executing the ODE

What actual error in the ODE results in this error message?

What changes to the worksheet will result in successful execution of the ODE and a successful animation?

Rod_triangle.mw

Rod_parabola.mw

Are there any demonstration help videos on creating an eBook? Currently I am struggling with the pages Having a laid out example would really help.  

I would like to do an eBook version of my help pages to send to some people. Hopefully I can use the current help worksheets. The are formatted based on the Maple help structure.

My currrent structure in the help section is:

Rational Trigonometry

      (about 40 help topics)

       RTProjective

       (about 20 help topics)

       UHG

       (about 20 help topics)

     Edit:- I have made a small step of progress using the " Assistant eBook template" but I am getting this error on build. I don't know how to find the cause of the error.

I would like to solve an equation in the attached file as an exercise. I am looking for all solutions - including the complex ones. This is easily done using "derive". There are six solutions:

restart

solve(2^x*(2+sqrt(3))^x-2*(1+sqrt(3))^x = 2, x)

RootOf(2^_Z*(2+3^(1/2))^_Z-2*(1+3^(1/2))^_Z-2)

(1)

NULL

edited "test":

test.mw

Five are complex, and the single real solution can be guessed simply by taking a close look. I am unable to obtain the complete solution in Maple; I cannot find my mistake and would appreciate some advice.

Every four years, the world comes together to watch one of the most anticipated sporting events in history: the FIFA World Cup.

Behind all the anticipation, venue planning, and media fanfare, there are many artists and researchers who devote themselves to designing a new FIFA World Cup ball to be rolled out for the public eye (pun intended).

This post presents an overview of the geometric ideas behind the design of the FIFA 2026 "Trionda" ball, using Maple to visualize and explore these concepts in depth. The ideas presented here were inspired by this Scientific American Article. For more information and facts about the 2026 Trionda ball, as well how the shape of the ball impacts play on the pitch, I suggest you check it out!

FIFA ball designs are often inspired by one of the 5 Platonic solids. A Platonic solid is a convex polyhedron with each face being the same regular polygon with the same number of faces meeting at each corner.

This year, the Trionda ball was constructed from the simplest of these shapes, the tetrahedron, consisting of 4 triangles, with 3 faces meeting at each corner. Of the five Platonic solids, this shape has the fewest faces, making it the least sphere-like. Turning such a simple polyhedron into a smooth ball is therefore a surprisingly challenging geometric problem.

  

 

So how can we turn our pointy tetrahedron into something that rolls? Rather than trying to transform the entire tetrahedron at once, we can start by redesigning a single triangular face. The goal is to create a curved triangle that will fit perfectly with three identical copies of itself while covering the surface of a sphere.

 

 
 
Notice that in the above diagrams, the transformed triangle has the same area as the original triangle. Although the edges have been reshaped, no area is added or removed, only redistributed. Preserving the area ensures that four identical curved panels can still cover the sphere completely without leaving gaps or overlapping.
 
Now that we know how to change one face of the tetrahedron, we need to perform the same sort of transformation (from a triangle to a curved tile), on the surface of a sphere. To start, we can inscribe the tetrahedron inside the sphere, like this:
From here, we can project the edges of the tetrahedron onto the sphere, creating six great-circle-arcs (also known as geodesics) as shown in the diagram below.
Each region enclosed by these geodesics corresponds to one triangular face of the tetrahedron within the sphere. By transforming each geodesic triangle into a smooth curved tile (using a bit of AI help), we create a tiling of the surface similar to that of the 2026 FIFA World Cup ball!
Because each curved tile maintains the area of the geodesic-generated region, the four panels form a complete tiling of the sphere. 
 
I would have liked to find a better function between the points on the sphere that resemble the actual Trionda ball more accurately but didn't get the chance to dive into that. If you want to take on the challenge and are successful, please reply in the comments.
 
To see the Maple Worksheet used to generate these diagrams, check out: Trionda Ball Worksheet

I tried to evaluate the function

convert(BesselJ(nu, x), FormalPowerSeries)

only to obtain the Error message

Error, (in convert/FormalPowerSeries) input contains no or more than one variable.

Seems a rather strange error. I thought it would treat x as a single variable

@aroche 

Is there a Maple Support Update package for Maple 2025 ? If so, how do I download it?

Thanks, Roy

Hi Maple community, and all,

Have a small ask, regarding prime numbers.

see attached

vertical_list_of_prime_numbers.mw

vertical_list_of_prime_numbers.pdf

Thanks in advance.

Regards,

Matt

I cannot find a description of the use of the form of dsolve and the following evaluation of its constants which are found in the downloaded worksheet.

Gnadig_2_problem_177_Rod_moving_on_a_wire_in_B_field.mw

Dear sir how to plots the graphs in three region BC from -1 to 0 and 0 to 1 and 1 to 2 
3_region_work.mw

Dear Maple users

I am testing Maple 2026, which will be used at our school after the summer holiday. I see that AI have now found its way to Maple on a new level. AI can be used internally via the AI Assistant, but as I understand it will also be possible to let ChatGPT use Maple in order to provide an answer, instead of using it's own way to do math. I just cannot figure out how it is done. Having a school license for Maple means we take part in the Maplesoft Elite Maintenance Program (EMP). In Maple 2026 i have found Maple MCP on the "My Maple" båndet. When I click it I am however just referred to the main page of Maplesoft. My question: How can I make Maple MCP work for me?

Kind regards,

Erik V.

Why doesn't a piecewise function plot correctly?

(1)   plot(sin((2*Pi)*100*t), t = 0 .. 1);        Plots correctly

(2)   s1 := t -> sin(200*t*Pi);
       plot(s1(t), t = 0 .. 1);                           Plots correctly

(3)   s2 := t -> piecewise(0 < t, 0, t < 10, sin(200*t*Pi), 0);
       s2 := proc (t) options operator, arrow; piecewise(0 < t, 0, t < 10, sin(200*t*Pi), 0) end proc

       plot(s2(t), t = 0 .. 1);                            Does not plot correctly. Only a blank plot is displayed.

Hi Maple community and others,

I'm very proud to present my code.

Sequences are fun,
for those who know, about them

consider Fermat numbers, of the form,
F(n) = (2^(2^n)) + 1.
goes like

3, 5, 17, 257, 65537, 4294967297, 18446744073709551617, 
340282366920938463463374607431768211457, ...

in oeis.org database at
https://oeis.org/A000215 .


Similarly we can have base 3,

B(a) = (3^(3^a)) + 1.
goes like, this,
4,28,19684, ...
online, in database, with Universal Resource Location (URL)
https://oeis.org/A129290

There could also be base 4, that grows even faster
 

double_exponential_2_and_3_and_4.mw

That is all that I have, for now.

Thank you for this free forum.
regards,
Matt

 

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