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-plot2d
plot2d(-(aCurrentTime_num * aDuration_num/2) ^ 2,[aCurrentTime_num,0,aDuration_num]);

aInitialValue_num: 1.0;

aFinalValue_num: 1.0;

aDuration_num: 4.0;

Calculate

num

r12: 1/(1/r1 + 1/r2);

r12brojno: r12, r1 = ...

r12brojno, num;

Calculate

num-sum

sum((k*23/3 -77/3), k...

Calculate

num-rhs-solve

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

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

eq1: y-ya=-1/mbc*(x-xa);

Calculate

num

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

Calculate

num-print

num: 100;

print(num);

Calculate

num-print

num: 100;

num : num+10;

print(num);

Calculate

num-rat-sum

N: 2;

xx: num(rat(sum(a[2*i...

yy: sum(a[2*ii]/2^(2*...

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-rat-rhs-solve-subst

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

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

eq1: y-ya=-1/mbc*(x-xa);

Calculate