suivant: Usual prefixed functions on monter: Real numbers précédent: Eval a real at   Table des matières   Index

Usual infixed functions on reals : +,-,*,/,^

+,-,*,/,^ are the usual operators to do additions, substractions, multiplications, divisions and for raising to a power.
Input :
3+2
Output :
5
Input :
3-2
Output :
1
Input :
3*2
Output :
6
Input :
3/2
Output :
3/2
Input :
3.2/2.1
Output :
1.52380952381
Input :
3^2
Output :
9
Input :
3.2^2.1
Output :
11.5031015682

Remark
You may use the square key or the cube key if your keyboard has one, for example : returns 9.

Remark on non integral powers

• If x is not an integer, then ax = exp(x&sstarf#star;ln(a)), hence ax is well-defined only for a > 0 if x is not rational. If x is rational and a < 0, the principal determination of the logarithm is used, leading to a complex number.
• Hence be aware of the difference between and a when n is an odd integer.
For example, to draw the graph of y = , input :
plotfunc(ifte(x>0,(x^3-x^2)^(1/3),
-(x^2-x^3)^(1/3)),x,xstep=0.01)
You might also input :
plotimplicit(y^3=x^3-x^2)
but this is much slower and much less accurate.

suivant: Usual prefixed functions on monter: Real numbers précédent: Eval a real at   Table des matières   Index
giac documentation written by Renée De Graeve and Bernard Parisse