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: 2.0;
aDuration_num: 4.0;
slow: 1.5;
plot2d((aCurrentTime_num * atan2(aFinalValue_num - aInitialValue_num, aDuration_num) + aInitialValue_num) + 0.2 * 0.5 * (1 + sin((aCurrentTime_num / 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-solve

eq1: 0=x^4+2*x^3-34*x...

y: solve([eq1],[x]);

num(y);

Calculate

num-part

num:part(a+b+c+d+e+f+...

Calculate

num-sqrt

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

Calculate

num

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

Calculate

num

num : 1-1/z-4/z^2+4/z^3;

den : 1-11/(4*z)+13/(...

num/den;

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-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-part

num:part(a+b+c+d+e+f+...

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-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