### The Maxima on-line user's manual

Algebra Calculator

#### Num

Function: num (<expr>) Returns the numerator of <expr> if it is a ratio. If <expr> is not a ratio, <expr> is returned.

`num` evaluates its argument.

There are also some inexact matches for `num`. Try `?? num` to see them.

```(%o1)                                true
(%i2) ```

### Related Examples

##### num-rat-resultant-sqrt-subst

eq1: (x-x1)^2+(y-y1)^...

eq2: (x-x2)^2+(y-y2)^...

eq3: rat(eq1-eq2,y,x);

Calculate

##### num-plot2d-sin

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

Calculate

num(26/120);

Calculate

##### num-sqrt

sqrt(2^2+2^2), num;

Calculate

##### num-print-sconcat

num: 100;

num : sconcat(num, 10);

print(num);

Calculate

##### num-plot2d

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

Calculate

num : (x^4)^(1/3)*sqr...

den : x^(1/6);

Calculate

##### num-plot2d-sin

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

Calculate

##### num-plot2d-sin

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

Calculate

##### num-solve-sqrt

num:x*sqrt(784+(30-x)...

den:sqrt(1684*144-60*...

solve(num);

Calculate