Product Tips & Techniques

Tips and Tricks on how to get the most about Maple and MapleSim

When inserting standard math into a text region, Maple insists on converting even simple decimals like 0.01 into scientific notation.  Can I suppress that?

Allan

Here's a first working shot at an external, programmatic mechanism for opening .mw worksheets/Documents as new tabs in an already running Maple Standard GUI session.

This involves a `sh` shell script, runnable in Unix/Linux/OSX/cygwin. Maybe someone could post a MS-Windows .bat batch file equivalent.

The basic idea is this: you have a GUI session open. But you want to be able to open other .mw files in that session without having to go through the GUI's File->Open menu every time ...

Maple's Standard GUI has context-sensitive menus. Those are the menus that appear when one right-clicks on a output (or input, in a Dcoument).

Those context-menus can be customized.

Below is an example which adds a new submenu. The new submenu is populated automatically according to the types of thing found within the object itself.

It's an alternative to a menu-item that already exists, which shows up as "Help on Command". But that existing item only...

One way to enhance a package is to add to Maple's context-sensitive menus  some new menu entries which utilize that package's features.

In Maple's Standard GUI, context-sensitive menus (a.k.a. context-menus) appear when the mouse is right-clicked over (input or output) 2D Math expressions.

For a package implemented as a module, new and relevant context-menu entries can be created inside the module's ModuleLoad export. That will cause the new menu entries to be created (automatically...

Large or involved projects may involve Maple modules which rely upon each other. Routines in one module may call routines in another module. Interdependence of modules can have a direct bearing on the available means of successfully utilizing the `use` functionality. In certain situations, some of the ways to utilize the `use` statement can be problematic.

Some such situations, and workarounds, are illustrated below.

The basic description of the `use` statement functionality is,

If x -1 is regarded as the difference of two cubes, can Maple factor it?

Alla

Can Maple graph the Dirichlet function?

f(x) =   {0,   if x is rational
            {1,   if x is irrational

Alla

 

Hello

i have a question regarding the Compiler:-Compile Command in Maple12
under linux i got this error message when trying to compile the example:
> y := proc( x :: float ) 2.3 * x end proc:
> cy := Compiler:-Compile( y):
Error, (in Compiler:-Compile) possible installation problem:
GNU C compiler (gcc) not found in your command search
path (PATH). You will need to restart Maple after ensuring that gcc
is installed and adjusting your PATH environment variable.
>
> cy( 1.1 );
cy(1.1)
but the compiler is installed in /usr/bin and maple knows the path:
> getenv(PATH);

Hi, how we can get the min of two real-valued piecewise continuous functions as another piecewise function. To me Maple responded with min(fn1,fn2), which I dont need. Plz hep.

Hi, I want to carry out set-theoretic operations on real-line intervals.  For example

> [2,5] intersect [3,7];
 

Is there any package available for this and interval arithmetics?

Thanks.

Hi, I have a table of tables like the following one.

fss:= [{a, b, c}, table([e4 = table([a = .4, b = .7, c = 1]), e1 = table([a = .2, b = 0, c = .1]), e2 = table([a = .1, b = 1, c = .4])]), {e1, e2, e3, e4}];
 

Now I want to compute fss[2][e4][b]/2.0 but Maple does not recognize table entry as a number. What I should do? What is the reason for this behaviour?

 

Maple says that the limit of sqrt(x), as x goes to 0, is 0, but Edwards of Larson et al. says that it isn't because "f(x) = sqrt(x) is not defined on an open interval containing 0 because the domain of f is x > = 0." 

 Comments?
 

Alla

The help page ?type/protected states:

The set of protected names in Maple can be computed with select(type, {unames(), anames(anything)}, protected).

However, the result of this computation is "time dependent". I.e. repeated execution of this command produce different sets. E.g. executed in a fresh session:

In this previous post, an example is shown that demonstrates the potential problems that can arise following symbolic conversions such as from sqrt(x^2)  to x^(1/2).

Here x is an unknown symbol. The difficulties include the fact that, while `sqrt` can be smart about simplifying numeric values (eg. integers, rationals) the `^` operator has no such opportunity. Once the conversion from `sqrt`...

This provides a Maple solution to compute the bivariate normal distribution by recursions for numerical inputs. It works even for extreme cases and handles situations, where usual integration with Maple has serious problems (even after reducing to dimension 1), it seems to be reliable and fast and works in 'arbitrary' precision.

To use it call N2_as_sum(1.0, 2.0, 0.8,  200) to compute the BVN for x = 1.0, y = 2.0 and correlation rho = 0.8 with at most 200 recursion steps (it will stop earlier, if no more improvements can be seen).

First 41 42 43 44 45 46 47 Last Page 43 of 65