## 2210 Reputation

4 years, 267 days

## 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

## Typesetting: What happened to the whites...

Maple

To label axes, names with Maple typesetting tags can be used. This is convenient because the typesetting package does not have to be loaded and code is shorter. However, when used together with plot white spaces (mo(“ “)) sometimes do render. Below is an example where a white space after the character N is not rendered.

 > with(Typesetting):
 > ta:=Typesetting:-Typeset(`#mrow(mo("N "),mo("* "),msup(mo("mm"),mo("-2")))`)
 (1)
 > tb:=`#mrow(mo("N ",color="red"),mo("* "),msup(mo("mm"),mo("-2")))`
 (2)
 > tc:=Typesetting:-Typeset(mrow(mo("N "),mo("* "),msup(mo("mm"),mo("-2"))))
 (3)
 > plot(x,x=1..10,labels=[ta,tb],title=tc)

A workarround is adding an addtional tag mspace() or an invisible html character. Are there any others?

Since typesetting of normal Maple output shows the whitespace I am wondering if this way of plotting axis labels is intended.

## Convert,unit_free: How to make it work w...

Maple

For plotting with a plot function that has not been upgraded to units I want to remove units from the following

 (1)

 (2)

 (3)

Anything else I could try with convert or something better than this

`subs(Unit(1/'`&mu;m`'^2) = 1, %)`

I cannot conclude form the help page ?convert,unitfree if it should have worked on the expression.

Is the expression (1) non-scalar?

The term unit-free describes a scalar quantity with no (multiplicative) unit attached to it. Conversion to unit-free does not apply directly to any non-scalar Maple object or data structure, which may still have units embedded within it.