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.
Function: first (<expr>) Returns the first part of <expr> which may result in the first element of a list, the first row of a matrix, the first term of a sum, etc. Note that first and its related functions, rest and last, work on the form of <expr> which is displayed not the form which is typed on input. If the variable inflag is set to true however, these functions will look at the internal form of <expr>. Note that the simplifier re-orders expressions. Thus first(x+y) will be x if inflag is true and y if inflag is false (first(y+x) gives the same results). The functions second .. tenth yield the second through the tenth part of their input argument.
![First Example solve(first(eliminate([60*x=40*y,(60*x+40*y)/(x + y)=n],[x])),n);](http://maxima-online.org//plot.html?g=i1404156915.png&t=img&db=r-1343144501)
There are also some inexact matches for first. Try ?? first to see them.
(%o1) true (%i2)
'integrate (sinh(a*x)...
laplace (%, t, s);
linsolve ([%], ['lap...
'integrate (sinh(a*x)...
laplace (%, t, s);
linsolve ([%], ['lap...