Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
-- Constant: %pi %pi represents the ratio of the perimeter of a circle to its diameter. The numeric value of %pi is the double-precision floating-point value 3.141592653589793d0.
There are also some inexact matches for pi. Try ?? pi to see them.
![Pi Example fpprintprec:5;
u0:0;
u1:15;
u2:5;
u3:3;
u4:2;
T:2;
j:makelist(j,j,[15,5,3,2]);
k:4;
xn:0;
xk:%pi;
N:11;
dx:(xk-xn)/(N-1),numer;
Uvx(x):=u0+s:sum(j*cos((2*%pi*j)/T),j,1,k), numer;
for x:xn thru xk step dx do display(Uvx(x)),numer;](http://maxima-online.org//plot.html?g=i-1251197736.png&t=img&db=r-1016085370)
(%o1) true (%i2)