Sorting a series of parametric numbers...

how can i sort [x,x/3] to [x/3,x]

sort([x, x/3]) ?

Looking to create a GUI...

I looking to create a GUI may be from outside say script language or any given language may be

The main intention is I have my

maple code

And

A python code

In the same folder say

I create a GUI with two buttons

When I click one button it runs my maple file in that folder and generates the output

Second button runs the python file that folder generates the output

Is such a coding  creatable

One more import is can we call a maple code to run from python like how we call exe files

And

Can we call python compiler attached and file from maple and run it

How do I solve this ODE?...

I need help to solve this ODE,

I didn't get series values F(k+3),Theta(k+2),phi(k+2),error comes in summation values.and

How to find the unknown parameters A,B,C.

Roots of polynomial is returning empty...

roots(x^5 - C__1*x^4 -C__2*x^3 -C__3*x^2 -C__4*x +C__5, x);

returns  [ ]?

how to animate the revolution......

How can I animate the revolution surface around the red line?

RevolSurfaceQ.mw

How collect a list of homogeneous polynomials w.r....

Hi every one

Let F=[f1,...,f10] be a  list of homogeneous polynomials with different degrees. I want to create a list of lists s.t. any list satisfies the following conditions:

1. all elements of a list have the same degree.

2. the lists contained in the main list sort increasingly.

For example if F=[x-y, y+z, x^3-xyz+z^3, y^3-xz^2, y^6-x^4y^2, x^5y-z^6+x^2y^2z^2] then

L=[[x-y, y+z],[x^3-xyz+z^3, y^3-xz^2],[y^6-x^4y^2, x^5y-z^6+x^2y^2z^2]] is the output.

Point probes for images...

It would be nice to have a point probe for images ie.pixel location.

I need help to solve ODE using forward-backward sw...

Maple code for solving system of ODE using forward-backward sweep method.

Maple 2023 workbook error...

While working a test workbook in Maple 2023 - added a file went away for a while and came back and started adding code to the workbook when I suppose it did an autosave and this error came up 4x in a row.

LogNormal distribution represented by mean and sta...

Dears,
How can I work with a LogNormal distribution represented by a mean and standard deviation?
I see that is with exp(Normal(mu,sigma)), but I dont sure. Would you please help me with a example using LN(mean=20,standard deviation=5)?
I will use in PDF, CDF and RandomVariable.

Default value for sparse rtables...

For a table

`T := table(sparse = {}, [1 = {a}, 2 = {b}])`

T[3] returns {}.

Is there an equivalent for an rtable?

 >
 >

 >

Get the default value here

 >

But (as documented), the sparseness of the table is not inherited - all elements are filled

 >

fill = {} should fill in all unspecified values. but this is incompatible with storage = sparse (as documented).

 >

And the default fill is still zero for datatype=set; I expected {} here.

 >

 >

How to plot this relud surface and generatrix...

Hi,

I am stuck on how to graphically represent my two G and S shapes. Any suggestions to help me illustrate this concept of a ruled surface?

Thank you

SurfaceMP.mw

How to generate these combinations?...

I expect that there must exist a Maple proc that does the equivalent of the following but I couldn't find it.  Can it be in the combinat package?

And if there isn't one, can the following be improved?  It seems to be horribly inefficient to me, although efficiency is not a major concern for me right now since I need it only for small values of n.

 > restart;

Proc produces all lists of length  consisting of the

two distinct symbols  and .

 > doit := proc(a, b, n::posint)         local p := 1, L := [ [a], [b] ];         for p from 1 to n-1 do                  L := [ map( x -> [a,op(x)], L)[], map( x -> [b,op(x)], L)[] ];         end do:         return L; end proc:
 > doit(a,b,1);

 > doit(p,q,3);

 > doit(5,7,3);

Maple's New Maple Learn Scripting Gallery

by: Maple 2023 Maple Learn

The recent Maple 2023 release comes with a multitude of new features, including a new Canvas Scripting Gallery full of templates for creating interactive Maple Learn documents.

The Maple Learn Scripting Gallery can be accessed through Maple, by searching “BuildInteractiveContent Maple2023” in the search bar at the top of the application and clicking on the only result that appears. This will bring you to the help page titled “Build and Share Interactive Content”, which can also be found by searching “scripting gallery” in the search bar of a Maple help page window. The link to the Maple Learn Scripting Gallery is found under the “Canvas Scripting” section on this help page and clicking on it will open a Maple workbook full of examples and templates for you to explore.

The interactive content in the Scripting Gallery is organized into five main categories – Graphing, Visualization, Quiz, Add-ons and Options, and Applications Optimized for Maple Learn – each with its own sub-categories, templates, and examples.

One of the example scripts that I find particularly interesting is the “Normal Distribution” script, under the Visualizations category.

All of the code for each of the examples and templates in the gallery is provided, so we can see exactly how the Normal Distribution script creates a Maple Learn canvas. It displays a list of grades, a plot for the grade distribution to later appear on, math groups for the data’s mean and variance, and finally a “Calculate” button that runs a function called UpdateStats.

The initial grades loaded into the document result in the below plot, created using Maple’s DensityPlot and Histogram functions, from the Statistics package.

The UpdateStats function takes the data provided in the list of grades and uses a helper function, getDist, to generate the new plot to display the data, the distribution, the mean, and the variance. Then, the function uses a Script object to update the Maple Learn canvas with the new plot and information.

The rest of the code is contained in the getDist function, which uses a variety of functions from Maple’s Statistics package. The Normal Distribution script takes advantage of Maple’s ability to easily calculate mean and variance for data sets, and to use that information to create different types of random variable distributions.

Using the “Interactive Visualization” template, provided in the gallery, many more interactive documents can be created, like this Polyhedra Visualization and this Damped Harmonic Oscillator – both from the Scripted Gallery or like my own Linear Regression: Method of Least Squares document.

Another new feature of Maple 2023 is the Quiz Builder, also featured in the Scripting Gallery. Quizzes created using Quiz Builder can be displayed in Maple or launched as Maple Learn quizzes, and the process for creating such a quiz is short.

The QuizBuilder template also provides access to many structured examples, available from a dropdown list:

As an example, check out this Maple Learn quiz on Expected Value: Continuous Practice. Here is what the quiz looks like when generated in Maple: