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;
lMaxNormalizedDeviation_num: 0.14;
slow: 1.5;
plot2d(aInitialValue_num + aCurrentTime_num * atan2(aFinalValue_num - aInitialValue_num, aDuration_num) + lMaxNormalizedDeviation_num * 0.5 * (1 - cos((aCurrentTime_num / aDuration_num)^slow * 2 * %pi)),[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-sqrt

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

Calculate

num-solve

f(x):=0.015*(x^4)-3;

solve(0.015*(x^4)-3=0...

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

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

aDuration_num: 4.0;

Calculate

num-tan

tan(pi/4),num;

Calculate

num-plot2d-sin
plot2d(aInitialValue_num + 1.0 * sin(%PI / aDuration_num * aCurrentTime_num),[aCurrentTime_num,0,aDuration_num]);

aInitialValue_num: 1.0;

aFinalValue_num: 1.4;

aDuration_num: 4.0;

Calculate

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

(7^14+49^16+343^4)/17...

Calculate

num-optimize

num:35+7*p+6*v-13*f*p...

optimize(%);

Calculate

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

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

aDuration_num: 4.0;

Calculate