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:

Float

Function: float (<expr>) Converts integers, rational numbers and bigfloats in <expr> to floating point numbers. It is also an evflag, float causes non-integral rational numbers and bigfloat numbers to be converted to floating point.

a:7;
b:8;
float(sqrt(a^2+b^2));
f(x):=x^2-x+1;
f(3);
f(a);
f(b);
log10(x):=log(x)/log(10);
float(log10(3));
(30!);

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

(%o1)                                true
(%i2) 

Related Examples

float-log

float(log(13)/log(3));

Calculate

float-solve

eq1:0.302=0.698*qn^0....

float(solve(eq1));

Calculate

float-invert-matrix

A:matrix([0,1,-1,1,0,...

B:matrix([0],[0.01],[...

A:invert(A);

Calculate

float-solve

eq1:x*x+x*x+x*x=30;

eq2:x+y=17;

eq3:z+y=14;

Calculate

float-solve-sqrt

f(x,m):=x^2-6*(m-4)*x...

solve(f(x,3)=0,x);

a:float((-sqrt(6) -3)...

Calculate

float-linsolve

eq1:6*c1-c3=50;

eq2:-3*c1+3*c2=0;

eq3:-c2+9*c3=160;

Calculate

float

float((9/7+5/14)*1000...

float((9/7+5/14)/1000...

Calculate

float-fpprintprec-product

n: 2^15;

d: 500;

fpprintprec: 7;

Calculate

float

f(x):= x*x-2;

float (f( 1.36));

Calculate

float-integrate-log

integrate(log(x)/x,x,...

float(%);

Calculate