## solve with units...

Hello,

how can I tell Maple that "u" has the dimension of volts?

## Can i get maple to show me the calculation steps, ...

Not to long ago i found a post showing that maple was able to show the steps behind math.

example:

twostep:=proc(expr::uneval)
(convert(expr,name) =
subsindets(expr,And(name,satisfies(t->type(eval(t),constant))),
z->convert(eval(z),name)))
= eval(expr):
end proc:

a:=1:
b:=3:
c:=5:

h:=twostep(a+b*c);

(a+b*c = 1 + 3*5) = 16

However if I assign a unit to any of these numbers (a,b or c), the twostep code won't work.

Is there any way that maple can show the steps, while having it both show and convert the units?

example:

a:=70V:

b:=40Ohm:   (I can't insert the Omega sign)

c:= twostep(a/b);

(a/b=70V/40Ohm) = 1,75A

## How to use the geometrized units in General Relati...

Hello,

I was wondering if it is possible to use units in Maple so I can always check if the result I have at the end of calculation is the meter.  For example:

>c:=3e8m/s
>Ec:=1J
>Ec*c

The answer is of course 3.10^8 m^3*kg/s^3

I try to do something with the units but I am unable to crreate something that will simplify the m/s ffactor to 1.

Any idea?

## Table of units ...

Funny, I can't seem to find a list of all available units in the help file.

Is there not a listed table of units somewhere?

**edit add**  conversion of units I mean.  ie.  meters, miles, gallons, litres, Pa, etc...

## Variable with Unit to power (e.g. 2) without alter...

Im attempting some very basic calculations where numbers are stored in variables with correct units. However i wish to take a variable to the power 2 without altering it's unit. This is a really easy but strange calculation to make which is why i guess Maple is having trouble with it.

e.g. I have a variable A with a number 4 stored inside with unit in Meters. I want to take A2 = 16 meters and and not A2 = 16 meters2

Is there a function or way to select the base number without having to write an entire line about it?

convert(A,'unit_free')^(2)*Unit('m')

can do the trick but i believe there has to be an easier, less complicated, way to achieve this?

## Maple Formula Input...

Hallo,

im currently using Mathcad 15 and i want to change to a newer and better software with more possibilities.

But up to now i have not found a better software for calculating. One big advantage with mathcad is the possibilitie of symbolic formula input and calculation with units.

Now my question: Is it possible with Maple to write symbolic formulas (2D Structure of big formulas)

I dont write a formula in one row. Its nearly impossible ...

And can i calculate with units?

Thx Stefan

## Specify SI-Unit of unknown functions...

Hi there,

I was wondering how to define the unit of an unspecified function. Here is what I want to do:

Say I have the coordinates of a Point in 1D-Space denoted by an unknown function x(t). While this function depends on time t the value of this function is supposed to be of SI Unit meter.

When calculating diff(x(t),t) I would like to get something like (absolut derivative of x(t)) * Unit(m/s).

So how do i tell maple that x(t) is something like f: time -> meter?
Also: How to specify that t has unit second without breaking the diff() command?

Any help would be greatly appreciated.

Regards

Zorg

## How are units used in plots?...

I tried to generate a simple plot based on an expression using units. Please see the screenshot of the worksheet below

The y-axis should be scaled in m3 not m2 because a, b and the variable r are in m. I know that it is possible to enforce the axis scaling in units using useunits but since the mathematical definition of the expression is clear this should not be necessary.

The other question is why is the y-axis missing the variable name? On this page on the Online Help http://www.maplesoft.com/support/help/Maple/view.aspx?path=MaplePortal/UnitsInPlots it is mentioned "When you plot an expression, the axes labeling shows the variable names and units." I think what I am plotting is an expression.

## Handling of scientific sonstants...

I understand that if I want to use a scientific constant in a Maple worksheet or document, I first have to declare it. Here is an example for the speed of light:

However if this worksheet is re-executed (e.g. using !!!) this happens:

Obviously there is a kind of recursion for c which is listed in the Variable Palette as a name for a variable but which is also the scientific constant. The problem can be solved e.g. by associating another name to the constant and unassigning the old definition in the Variable Palette:

This works but it makes the document harder to read since everybody is used to lowercase c for the speed of light. The same is of course true for other scientific constants.

Is there a way to use scientific constants in their "usual" notation in Maple, including using the unit of the constant?

## How to show values with unit that includes the num...

When using units, then e.g. "2 m" is show as expected below, but "1 m" shown as only "m".  Even through correct, it is a non-standard way to write physical values.

How to get the physical values in a format of "{numerical} {unit}" even when the numerical part is 1?

## How to write equations with unknown arguments, whe...

In a simple example below I try to write an equation with an unknown value present among other values that have unit, but I get an error since the unknown value d does not have a unit yet.

How to write such expressions, e.g. for use in solve later?

## Problems with Units...

Below I try to use units for a simple expression, where "m" and "mm" is added on Windows using Ctrl-Shift-U.

Why does the value with unit "1 [[m]]" not show as "1 m" in (1), but simply as "m" ?

Why does the addition not result in "2 m" ?

## Multiplying lists with units...

Dear Maple users

I wanted to use the zip-command to muliply two lists with units. It works without units, but not with units:

If I add units to each entrance it works too, but not very convenient. How is it done with units in the best way?

Regards,

Erik

## Error when using Units...

I have a problem using variables values that were read form Maple library file (*.mla) with units.

For example:

In the first file called "calculations.mw" I calculate a variable with units and save value to "lib1.mla" file

 (1)

 (2)

In the second file called "document.mw" I can read the value of a variable, but can't use it in expressions:

 (1)

 (2)

 (3)

 (4)

 (5)