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:

Return

Function: return (<value>) May be used to exit explicitly from a block, bringing its argument. See block for more information.

f(x):=cos(%pi*x)-4^x+1;
y[1]:0;
y[2]:1/2;
y[3]:1;
x[1]:f(y[1]);
x[2]:f(y[2]);
x[3]:f(y[3]);
l[i](x)=block(t1:1,t2:2,for j:1 thru 3 do if not i=j then (t1:t1*(x-x[j]),t2:t2*(x[i]-x[j])),return (t1));
l(0);
float(%o10);
float(find_root(f(x),x,0,1));
kill(all);

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

(%o1)                                true
(%i2) 

Related Examples