Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Num

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

aInitialValue_num: 1.0;
aFinalValue_num: 1.0;
aDuration_num: 4.0;
slow: 0.4;
plot2d(aInitialValue_num + 0.2 * 0.5 * (1 + sin(aCurrentTime_num^slow / aDuration_num^(slow) * %pi*2 - %pi/2)),[aCurrentTime_num,0,aDuration_num]);

num evaluates its argument.

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

(%o1)                                true
(%i2) 

Related Examples

num

num(2/3);

Calculate

num-plot2d-sin
plot2d(aInitialValue_num + 0.2 * 0.5 * (1 + sin(aCurrentTime_num^2 / aDuration_num * %pi*2 - %pi/2)),[aCurrentTime_num,0,aDuration_num]);

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

aDuration_num: 4.0;

Calculate

num-plot2d-sin
plot2d(aInitialValue_num + 0.2 * 0.5 * (1 + sin(aCurrentTime_num^slow / aDuration_num^(slow) * %pi*2 - %pi/2)),[aCurrentTime_num,0,aDuration_num]);

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

aDuration_num: 4.0;

Calculate

num-rat-rhs-solve-subst

mbc: (yc-yb)/(xc-xb);

mca: (ya-yc)/(xa-xc);

eq1: x+mbc*y-xa-mbc*ya;

Calculate

num-ratsimp

num : 12^3 * 6^(-3) *...

den : 2^(-5) * 3^5 * ...

num/den;

Calculate

num-plot2d-sin
plot2d(aInitialValue_num + 0.4 * 0.5 * (1 + sin(aCurrentTime_num / aDuration_num * %pi*2 - %pi/2)),[aCurrentTime_num,0,aDuration_num]);

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

aDuration_num: 4.0;

Calculate

num-sqrt

expr:1/[1+sqrt(10)+sq...

num(expr);

Calculate

num-rat-sqrt-subst

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

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

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

Calculate

num-ratsimp

num : 12^3 * 6^(-3) *...

den : 2^(-5) * 3^5 * ...

num/den;

Calculate

num-solve

re:1000;

r2:16000;

eq1:re=1/(1/r1+1/r2);

Calculate