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;
lSignedAmplitude_num: (aFinalValue_num - aInitialValue_num) / 2;
plot2d(aInitialValue_num + sin(aCurrentTime_num / aDuration_num * %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-plot2d
plot2d(-(aCurrentTime_num * aDuration_num/2) ^ 2 + lSignedAmplitude_num,[aCurrentTime_num,0,aDuration_num]);

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

aDuration_num: 4.0;

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-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 + sin(aCurrentTime_num / aDuration_num * %pi - %pi/2),[aCurrentTime_num,0,aDuration_num]);

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

aDuration_num: 4.0;

Calculate

num-rhs-solve-subst

eqa: (x-xa)^2+(y-ya)^...

eqb: (x-xb)^2+(y-yb)^...

eqc: (x-xc)^2+(y-yc)^...

Calculate

num-rat-rhs-solve

eqa: (x-xa)^2+(y-ya)^...

eqb: (x-xb)^2+(y-yb)^...

eqc: (x-xc)^2+(y-yc)^...

Calculate

num-plot2d-sin
plot2d(aInitialValue_num + 0.5 + 1 + 0.4 * 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-plot2d-sin
plot2d(aInitialValue_num + sin(aCurrentTime_num * aDuration_num - %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 + 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