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:

Abs

Function: abs (<expr>) Returns the absolute value <expr>. If <expr> is complex, returns the complex modulus of <expr>.

f(x):=sin(x);
Net:[discrete,[[0.0752162634545286,0.0751453610174568],[0.654505552595912,0.608767048392938],[1.69834878264733,0.991876208724528],[3,0.141120008059867],[4.30165121735267,-0.916826494025076],[5.34549444740409,-0.806194045362036]]];
P(x):=0.0156480144679461-0.0966610145130695*(x)-0.0149753007773615*(2*x*(x)-(1))-0.00160050898233812*(2*x*(2*x*(x)-(1))-(x))-0.000156714296609025*(2*x*(2*x*(2*x*(x)-(1))-(x))-(2*x*(x)-(1)))-1.48071820956143E-05*(2*x*(2*x*(2*x*(2*x*(x)-(1))-(x))-(2*x*(x)-(1)))-(2*x*(2*x*(x)-(1))-(x)));
plot2d([f(x),P(x),Net],[x,-1,1],[style,lines,lines,points],[legend,"f(x)","P(x)",""]);
plot2d([abs(f(x)-P(x))],[x,-1,1],[legend,"|f(x)-P(x)|"]);

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

(%o1)                                true
(%i2) 

Related Examples

abs-integrate

integrate(integrate(a...

Calculate

abs-linsolve-log-plot2d-rhs
plot2d([20*log(abs(rhs(eq7[5])))/log(10)],[f,1,100000],[logx]);

I(i):=-i/(s*R*C);

eq1: Vhp=Vin+Vlp-d*(V...

eq2: Vbp1=I(Vhp);

Calculate

abs-exp-plot2d
plot2d([abs(H1(f,1600))],[f,0,1000]);

h(a1,a2,b0,b1,b2,z):=...

H1(f,F0):=h(-1.988892...

plot2d([abs(H1(f,1600...

Calculate

abs-diff-log-plot2d
plot2d(f(x),[x,1,3]);

f(x) := log(1 + abs(x...

plot2d(f(x),[x,1,3]);

diff(f(x),x);

Calculate

abs-define-diff-find_root-plot2d
plot2d(g(x), [x, -10, 10]);

define(f(x), (x^4 + 3...

define(g(x), abs(4*x/...

plot2d(g(x), [x, -10,...

Calculate

abs-float-polarform

serie(a,b):=a+b;

parallel(a,b):=1/(1/a...

ZC(wC):=1/(%i*wC);

Calculate

abs-sqrt

sqrt(2*(abs(-0.102 - ...

sqrt(100);

abs(-0.102 - (-0.0565...

Calculate

abs-define-float-realroots

define(f(x), (x^4+3*x...

define(g(x), abs(4*x/...

float(f(3.2));

Calculate

abs-exp-float-imagpart-plot2d-realpart
plot2d([abs(H2(f,16000))],[f,0,1000]);

H(a1,a2,b0,b1,b2,z):=...

H2(f,Fs):=H(-1.978882...

plot2d([abs(H2(f,1600...

Calculate