## 2340 Reputation

4 years, 302 days

## How to expand Unit expressions of combin...

Maple

Example: Exanding the left hand side below to the right hand side

`Unit('kg'*'m'/'s'^2) = Unit('kg')*Unit('m')/Unit('s')^2;`

Such functionality would be useful for manipulating rational functions whose coefficients have units that can otherwise only be simplified by substituting new dimensionless independent variables as dicussed here.

Is there statement that can be mapped over an expression that identifies all subsexpressions with units and expands them to a products of units?

Probably not possible but also desireable: A variant that expands derived physical quantities to a product of base units as for example Newton to base units: Unit('N') = Unit('kg')*Unit('m')/Unit('s')^2;

`Unit('N') = Unit('kg')*Unit('m')/Unit('s')^2;`

Edit: Example from the link above on Unit expressions with compound units

Example that cannot be simplified

 (1)

 (2)

After expansion of Unit expression (here done by hand) simplifcationis possible with other Maple commands

 (3)

 (4)

 (5)

Normalization to a dimensionless equation expression (that still has units) by a scaling factor with units

 (6)

 (7)

Rewriting the left hand side

 (8)

 (9)

 (10)

Magnitude plot

 (11)

 (12)

 (13)

## How to speed up Maximize and fsolve on t...

Maple 2023

The attached integral is plotted quite quickly, but the search for the maximum and for the inverses of function values takes time. Can the search be accelerated or is the integrand simply too complicated?

 (1)

 (2)

 (3)

 (4)

## Is it possible to supress the parenthesi...

Maple

Here is the layout challenge: Whenever the value of a physical quantity is one as in

`mass = 1* Unit('kg')`

automatic simplification removes the one and the output displays

Desired would be which reads better (in particular when used inline in text passages).

Using the Empty Symbol

`mass = ``(1)*Unit('kg')`

an expression with parenthesis is obtained (that can be removed in subsequent calculations with the expand command) which looks worse than my current workaround of using floats

(Introducing floats in expressions is not always acceptable)
So the idea would be to use the empty symbol for initial parameter definition in textbook style layout and remove it with expand in subsequent calculations.

Any other symbol that prints as "1" that can be removed in later calculations by Maple commands is welcome as well. It should be better than

```mass=`#mrow(mo("1"));`*Unit('kg');
subs(`#mrow(mo("1"));` = 1, %);```

## Why can't Maple evaluate this integral t...

Maple

Any smarter assumptions or substitutions I could try out on the left handside of the below

If this does not work I would be greatefull for fast numerical evaluation methods. Plotting for example takes to long.

Attached you will find some background on what I want to achieve.

Gaussian_integration.mw

## Maple help: Why do I get so many results...

Maple

With the following steps

S1: Open Help pressing F1

S2: enter `if in the search field

S3: click a topic in the result list

S4: search within the topic with find/replace (Crtl f) the term `if

I get plenty of results where I cannot find the search term in the help topic. Why is that?

Is help ignoring the left single quotes ` ?

I don't think so: I get usefull results for `` and `i, which in the later case also lists the topic "ifelse" that contains `if in the textbody.

So, why does advanced searching with the exact phrase "`if" not list the "ifelse" topic?

Realted question:

Why does the search term "(* " not list the relevant help topic help(comment)?

Somehow related in the context of getting more specific results:

https://www.mapleprimes.com/questions/234462-Searching-The-Help-System-Why-Are-There-No-Hits-For-Solve

 First 6 7 8 9 10 11 12 Last Page 8 of 29
﻿