Packages - Maple Help

New and Enhanced Packages in Maple 6

The LinearAlgebra Package (LinearAlgebra)

 One of the biggest features of Maple 6 is its new LinearAlgebra package which sets new standards in efficiency, robustness, available features, and accuracy for computational linear algebra.  This was achieved by tightly and seamlessly integrating state-of-the-art NAG computational linear algebra routines into Maple 6 via its external calling mechanism.  Furthermore, Waterloo Maple Inc. developed some breakthrough technology to not only allow hardware floating-point versions of these routines to be incorporated, but also arbitrary-precision floating-point versions too.  Now, for the very first time, you can use the powerful NAG algorithms to do linear algebra computations with unrivaled accuracy. See updates,Maple6,LinearAlgebra for highlights.

The Slode Package (Slode)

 The Slode package contains functions to find formal power series solutions of linear ordinary differential equations (linear ODEs), to determine points for some special series solutions (hypergeometric, rational, polynomial, and sparse series).
 Create an LODEstruct structure from a linear ODE
 The procedure DEdetermine checks for a linear ODE and creates the LODEstruct data structure. Relevant information is stored as attributes.
 > Slode[DEdetermine](diff(y(x),x)*(x-1)-y(x) = 0, y(x));
 ${\mathrm{LODEstruct}}{}\left(\left\{\left(\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){}\left({x}{-}{1}\right){-}{y}{}\left({x}\right){=}{0}\right\}{,}\left\{{y}{}\left({x}\right)\right\}\right)$ (1)
 Create formal power/Taylor series solutions
 Create formal power series (FPseries) and Taylor series (FTseries) solutions:
 > ode := (3*x^2-6*x+3)*diff(diff(y(x),x),x) + (12*x-12)*diff(y(x),x)+6*y(x);
 ${\mathrm{ode}}{≔}\left({3}{}{{x}}^{{2}}{-}{6}{}{x}{+}{3}\right){}\left(\frac{{{ⅆ}}^{{2}}}{{ⅆ}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){+}\left({12}{}{x}{-}{12}\right){}\left(\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){+}{6}{}{y}{}\left({x}\right)$ (2)
 > Slode[FPseries](ode,y(x),v(n));
 ${\mathrm{FPSstruct}}{}\left({{\mathrm{_C}}}_{{1}}{}{x}{+}{{\mathrm{_C}}}_{{0}}{+}\left({\sum }_{{n}{=}{2}}^{{\mathrm{\infty }}}{}{v}{}\left({n}\right){}{{x}}^{{n}}\right){,}\left({{n}}^{{2}}{-}{n}\right){}{v}{}\left({n}\right){+}\left({-}{2}{}{{n}}^{{2}}{+}{2}{}{n}\right){}{v}{}\left({n}{-}{1}\right){+}\left({{n}}^{{2}}{-}{n}\right){}{v}{}\left({n}{-}{2}\right)\right)$ (3)
 > Slode[FTseries](ode,y(x),v(n),0,_A,2);
 ${\mathrm{FPSstruct}}{}\left({{\mathrm{_A}}}_{{0}}{+}{{\mathrm{_A}}}_{{1}}{}{x}{+}\frac{\left({-}{2}{}{{\mathrm{_A}}}_{{0}}{+}{4}{}{{\mathrm{_A}}}_{{1}}\right){}{{x}}^{{2}}}{{2}}{+}\left({\sum }_{{n}{=}{3}}^{{\mathrm{\infty }}}{}\frac{{v}{}\left({n}\right){}{{x}}^{{n}}}{{n}{!}}\right){,}{v}{}\left({n}\right){-}{2}{}{n}{}{v}{}\left({n}{-}{1}\right){+}\left({{n}}^{{2}}{-}{n}\right){}{v}{}\left({n}{-}{2}\right)\right)$ (4)
 Determine candidate points for some special series solutions
 Determine the candidate points for hypergeometric, rational, and polynomial power series solutions of homogeneous linear ODEs with polynomial coefficients (candidate_points), and the mpoints for m-sparse power series (candidate_mpoints).  This second procedure can be sped up if the equation is known to be irreducible.
 > ode := (3*x^2-6*x+3)*diff(diff(y(x),x),x) + (12*x-12)*diff(y(x),x)+6*y(x);
 ${\mathrm{ode}}{≔}\left({3}{}{{x}}^{{2}}{-}{6}{}{x}{+}{3}\right){}\left(\frac{{{ⅆ}}^{{2}}}{{ⅆ}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){+}\left({12}{}{x}{-}{12}\right){}\left(\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){+}{6}{}{y}{}\left({x}\right)$ (5)
 > Slode[candidate_points](ode, y(x), 'polynomial');
 $\left\{{0}\right\}$ (6)
 > Slode[candidate_points](ode, y(x), 'rational');
 $\left\{{1}\right\}$ (7)
 > Slode[candidate_points](ode, y(x), 'hypergeom');
 $\left\{{1}{,}{\mathrm{any_ordinary_point}}\right\}$ (8)
 > ode := (2+x^2)*diff(y(x),x,x,x)-2*diff(y(x),x,x)*x+(2+x^2)*diff(y(x),x)-2*x*y(x);
 ${\mathrm{ode}}{≔}\left({{x}}^{{2}}{+}{2}\right){}\left(\frac{{{ⅆ}}^{{3}}}{{ⅆ}{{x}}^{{3}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){-}{2}{}\left(\frac{{{ⅆ}}^{{2}}}{{ⅆ}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){}{x}{+}\left({{x}}^{{2}}{+}{2}\right){}\left(\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){-}{2}{}{x}{}{y}{}\left({x}\right)$ (9)
 > Slode[candidate_mpoints](ode, y(x));
 $\left[\left[{2}{,}{\mathrm{LODEstruct}}{}\left(\left\{{y}{}\left({x}\right){+}\frac{{{ⅆ}}^{{2}}}{{ⅆ}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right\}{,}\left\{{y}{}\left({x}\right)\right\}\right){,}\left\{{0}\right\}\right]\right]$ (10)
 > ode := diff(y(x),x,x)+(x-1)*y(x);
 ${\mathrm{ode}}{≔}\frac{{{ⅆ}}^{{2}}}{{ⅆ}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right){+}\left({x}{-}{1}\right){}{y}{}\left({x}\right)$ (11)
 > Slode[candidate_mpoints](ode, y(x), 'irreducible');
 $\left[\left[{3}{,}{\mathrm{LODEstruct}}{}\left(\left\{{y}{}\left({x}\right)\right\}{,}\left\{{y}{}\left({x}\right)\right\}\right){,}\left\{{1}\right\}\right]\right]$ (12)
 Find formal power series solutions
 Find formal power series solutions with polynomial coefficients (polynomial_series_sol), rational coefficients (rational_series_sol), or hypergeometric coefficients (hypergeom_series_sol.)
 > ode := (3*x^2-6*x+3)*diff(diff(y(x),x),x) + (12*x-12)*diff(y(x),x)+6*y(x);
 ${\mathrm{ode}}{≔}\left({3}{}{{x}}^{{2}}{-}{6}{}{x}{+}{3}\right){}\left(\frac{{{ⅆ}}^{{2}}}{{ⅆ}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){+}\left({12}{}{x}{-}{12}\right){}\left(\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){+}{6}{}{y}{}\left({x}\right)$ (13)
 > Slode[polynomial_series_sol](ode,y(x));
 $\left\{{\sum }_{{\mathrm{_n}}{=}{0}}^{{\mathrm{\infty }}}{}\left({\mathrm{_n}}{}{{\mathrm{_C}}}_{{1}}{+}{{\mathrm{_C}}}_{{0}}\right){}{{x}}^{{\mathrm{_n}}}\right\}$ (14)
 > ode := (3-x)*diff(diff(y(x),x),x)-diff(y(x),x);
 ${\mathrm{ode}}{≔}\left({3}{-}{x}\right){}\left(\frac{{{ⅆ}}^{{2}}}{{ⅆ}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){-}\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)$ (15)
 > Slode[rational_series_sol](ode,y(x));
 $\left\{{{\mathrm{_C}}}_{{1}}{+}{{\mathrm{_C}}}_{{0}}{}\left({\sum }_{{\mathrm{_n}}{=}{1}}^{{\mathrm{\infty }}}{}\frac{{\left({x}{-}{2}\right)}^{{\mathrm{_n}}}}{{\mathrm{_n}}}\right)\right\}$ (16)
 > ode := 2*x*(x-1)*diff(diff(y(x),x),x)+(7*x-3)*diff(y(x),x)+2*y(x) = 0;
 ${\mathrm{ode}}{≔}{2}{}{x}{}\left({x}{-}{1}\right){}\left(\frac{{{ⅆ}}^{{2}}}{{ⅆ}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){+}\left({7}{}{x}{-}{3}\right){}\left(\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){+}{2}{}{y}{}\left({x}\right){=}{0}$ (17)
 > Slode[hypergeom_series_sol](ode,y(x));
 $\left\{{{\mathrm{_C}}}_{{0}}{}\left({\sum }_{{\mathrm{_n}}{=}{0}}^{{\mathrm{\infty }}}{}\frac{\left({\mathrm{_n}}{+}{1}\right){}{{x}}^{{\mathrm{_n}}}}{{2}{}{\mathrm{_n}}{+}{1}}\right){,}{{\mathrm{_C}}}_{{0}}{}\left({\sum }_{{\mathrm{_n}}{=}{0}}^{{\mathrm{\infty }}}{}\frac{{\mathrm{\Gamma }}{}\left(\frac{{1}}{{2}}{+}{\mathrm{_n}}\right){}{\left({x}{+}{1}\right)}^{{\mathrm{_n}}}}{\sqrt{{\mathrm{\pi }}}{}{\mathrm{_n}}{!}}\right){,}\frac{{{\mathrm{_C}}}_{{0}}{}\left({\sum }_{{\mathrm{_n}}{=}{0}}^{{\mathrm{\infty }}}{}\frac{{\mathrm{\Gamma }}{}\left(\frac{{1}}{{2}}{+}{\mathrm{_n}}\right){}{\left({-1}\right)}^{{\mathrm{_n}}}{}{\left({x}{-}{1}\right)}^{{\mathrm{_n}}}}{{\mathrm{\Gamma }}{}\left({\mathrm{_n}}{+}{1}\right)}\right)}{\sqrt{{\mathrm{\pi }}}}\right\}$ (18)
 Find formal m-sparse power series solutions (msparse_series_sol) and m-hypergeometric power series solutions (mhypergeom_series_sol).
 > ode := 2/9*(x^3-2/3*x^2+1/9*x)*diff(y(x),x$3)+2/9*(9*x^2-4*x+1/3)*diff(y(x),x$2)+ 2/9*(18*x-4)*diff(y(x),x)+4/3*y(x);
 ${\mathrm{ode}}{≔}\frac{{2}{}\left({{x}}^{{3}}{-}\frac{{2}}{{3}}{}{{x}}^{{2}}{+}\frac{{1}}{{9}}{}{x}\right){}\left(\frac{{{ⅆ}}^{{3}}}{{ⅆ}{{x}}^{{3}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right)}{{9}}{+}\frac{{2}{}\left({9}{}{{x}}^{{2}}{-}{4}{}{x}{+}\frac{{1}}{{3}}\right){}\left(\frac{{{ⅆ}}^{{2}}}{{ⅆ}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right)}{{9}}{+}\frac{{2}{}\left({18}{}{x}{-}{4}\right){}\left(\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right)}{{9}}{+}\frac{{4}{}{y}{}\left({x}\right)}{{3}}$ (19)
 > Slode[msparse_series_sol](ode,y(x),v(n));
 $\left\{{\mathrm{FPSstruct}}{}\left({{\mathrm{_C}}}_{{0}}{+}\left({\sum }_{{n}{=}{1}}^{{\mathrm{\infty }}}{}{v}{}\left({2}{}{n}\right){}{\left({x}{-}\frac{{1}}{{6}}\right)}^{{2}{}{n}}\right){,}{-}{36}{}{v}{}\left({2}{}{n}{-}{2}\right){+}{v}{}\left({2}{}{n}\right)\right){,}{\mathrm{FPSstruct}}{}\left({{\mathrm{_C}}}_{{1}}{}\left({x}{-}\frac{{1}}{{6}}\right){+}\left({\sum }_{{n}{=}{1}}^{{\mathrm{\infty }}}{}{v}{}\left({2}{}{n}{+}{1}\right){}{\left({x}{-}\frac{{1}}{{6}}\right)}^{{2}{}{n}{+}{1}}\right){,}{-}{36}{}{v}{}\left({2}{}{n}{-}{1}\right){+}{v}{}\left({2}{}{n}{+}{1}\right)\right)\right\}$ (20)
 > ode := diff(y(x),x,x)+(x-1)*y(x);
 ${\mathrm{ode}}{≔}\frac{{{ⅆ}}^{{2}}}{{ⅆ}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right){+}\left({x}{-}{1}\right){}{y}{}\left({x}\right)$ (21)
 > Slode[mhypergeom_series_sol](ode,y(x));
 $\left\{{{\mathrm{_C}}}_{{0}}{}{\mathrm{\Gamma }}{}\left(\frac{{2}}{{3}}\right){}\left({\sum }_{{\mathrm{_n}}{=}{0}}^{{\mathrm{\infty }}}{}\frac{{\left({-}\frac{{1}}{{9}}\right)}^{{\mathrm{_n}}}{}{\left({x}{-}{1}\right)}^{{3}{}{\mathrm{_n}}}}{{\mathrm{\Gamma }}{}\left({\mathrm{_n}}{+}{1}\right){}{\mathrm{\Gamma }}{}\left({\mathrm{_n}}{+}\frac{{2}}{{3}}\right)}\right){,}\frac{{2}{}{{\mathrm{_C}}}_{{0}}{}{\mathrm{\pi }}{}\sqrt{{3}}{}\left({\sum }_{{\mathrm{_n}}{=}{0}}^{{\mathrm{\infty }}}{}\frac{{\left({-}\frac{{1}}{{9}}\right)}^{{\mathrm{_n}}}{}{\left({x}{-}{1}\right)}^{{3}{}{\mathrm{_n}}{+}{1}}}{{\mathrm{\Gamma }}{}\left({\mathrm{_n}}{+}\frac{{4}}{{3}}\right){}{\mathrm{\Gamma }}{}\left({\mathrm{_n}}{+}{1}\right)}\right)}{{9}{}{\mathrm{\Gamma }}{}\left(\frac{{2}}{{3}}\right)}\right\}$ (22)
 Find formal solutions with hypergeometric series (hypergeom_formal_sol).
 > ode := x*y(x)+(2*x+1)*x*diff(y(x),x)+(1/2*x+1)*x^2*diff(y(x),x,x);
 ${\mathrm{ode}}{≔}{x}{}{y}{}\left({x}\right){+}\left({2}{}{x}{+}{1}\right){}{x}{}\left(\frac{{ⅆ}}{{ⅆ}{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right){+}\left(\frac{{x}}{{2}}{+}{1}\right){}{{x}}^{{2}}{}\left(\frac{{{ⅆ}}^{{2}}}{{ⅆ}{{x}}^{{2}}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{y}{}\left({x}\right)\right)$ (23)
 > Slode[hypergeom_formal_sol](ode,y(x),t);
 $\left[\left[{x}{}\left({t}\right){=}{t}{,}{y}{}\left({t}\right){=}{\sum }_{{\mathrm{_n}}{=}{0}}^{{\mathrm{\infty }}}{}{\left({-}\frac{{1}}{{2}}\right)}^{{\mathrm{_n}}}{}\left({\mathrm{_n}}{+}{1}\right){}{{t}}^{{\mathrm{_n}}}\right]{,}\left[{x}{}\left({t}\right){=}{t}{,}{y}{}\left({t}\right){=}{\mathrm{ln}}{}\left({t}\right){}\left({\sum }_{{\mathrm{_n}}{=}{0}}^{{\mathrm{\infty }}}{}{\left({-}\frac{{1}}{{2}}\right)}^{{\mathrm{_n}}}{}\left({\mathrm{_n}}{+}{1}\right){}{{t}}^{{\mathrm{_n}}}\right){+}\left({\sum }_{{\mathrm{_n}}{=}{0}}^{{\mathrm{\infty }}}{}{\left({-}\frac{{1}}{{2}}\right)}^{{\mathrm{_n}}}{}{{t}}^{{\mathrm{_n}}}\right)\right]\right]$ (24)

Tools for Polynomials (polytools)

 A number of polynomial routines used to be located at the top level, and these would be hidden if ever a package was included which had a procedure with a similar name.   To begin, the procedures minpoly, recipoly, split, splits, and translate have been moved to this package and should now be called by using the package name, for example, polytools[minpoly].

Verify Relationships (verify)

 The previous version of verify was a function which attempted to check whether or not two objects were equal.
 The procedure verify has now been replaced by one which allows the user to define a relation through defining a 'verification' in a fashion similar to that done by the current type system.
 For example, two floats can be compared by using verify.
 > verify( 332.2532032, 332.2532037, float(10) );
 ${\mathrm{true}}$ (25)
 Some of the more complicated verifications are equal, greater_than, less_than, greater_equal, and less_equal, all of which use signum to determine the truth of the relation:
 > select( verify, [1,2,3,4,5], Pi, less_than );
 $\left[{1}{,}{2}{,}{3}\right]$ (26)
 The verification polynom checks if two polynomials compare according to a given verification in their coefficients.  This verification does not actually expand the polynomial, but rather works with it as is:
 > verify( (x - 3.0)^2*(x - 4.0), (1.001*x-3.002)*(x-2.998)*(0.9999*x-4.002), polynom(float(2, digits=4), x) );
 ${\mathrm{true}}$ (27)

Enhanced Packages

 Tools for Differential Equations (DEtools,Rif)
 The Rif subpackage of DEtools is a powerful collection of commands for the simplification and analyses of systems of polynomially nonlinear ODE/PDE.
 The default configuration of the Maple context-sensitive menu is a daunting object of approximately 60 kilobytes in its smallest, uncommented form.
 A number of how-to pages have been included.
 The procedure 'display' has been added to the context package and displays a context-sensitive menu data structure in a readable format.
 Algebraic Curves (algcurves)
 Five new functions have been added to the algcurves package: differentials, homology, is_hyperelliptic, monodromy, and periodmatrix.
 differentials
 This procedure computes a basis of the holomorphic differentials of an irreducible algebraic curve f.
 > algcurves[differentials](y^4+x^3*y^3+x^4, x, y);
 $\left[\frac{{x}{}{\mathrm{dx}}}{{3}{}{{x}}^{{3}}{+}{4}{}{y}}{,}\frac{{{x}}^{{2}}{}{\mathrm{dx}}}{{y}{}\left({3}{}{{x}}^{{3}}{+}{4}{}{y}\right)}\right]$ (28)
 homology
 This algorithm computes cycles that form a basis for the homology of a Riemann surface given as a polynomial f in two variables x and y.   The Riemann surface is the covering surface for y as an N-valued function of x, where N = degree(f, y) is the degree of covering.
 > algcurves[homology](y^3-x^2-1, x, y);
 ${table}{}\left(\left[{\mathrm{cycles}}{=}{table}{}\left(\left[{1}{=}\left[{1}{,}\left[{-I}{,}\left[{1}{,}{3}{,}{2}\right]\right]{,}{3}{,}\left[{I}{,}\left[{1}{,}{3}{,}{2}\right]\right]\right]{,}{2}{=}\left[{1}{,}\left[{-I}{,}\left[{1}{,}{3}{,}{2}\right]\right]{,}{2}{,}\left[{I}{,}\left[{1}{,}{3}{,}{2}\right]\right]\right]{,}{3}{=}\left[{1}{,}\left[{-I}{,}\left[{1}{,}{3}{,}{2}\right]\right]{,}{3}{,}\left[{\mathrm{\infty }}{,}\left[{1}{,}{3}{,}{2}\right]\right]\right]{,}{4}{=}\left[{1}{,}\left[{-I}{,}\left[{1}{,}{3}{,}{2}\right]\right]{,}{2}{,}\left[{\mathrm{\infty }}{,}\left[{1}{,}{3}{,}{2}\right]\right]\right]\right]\right){,}{\mathrm{linearcombination}}{=}\left[\begin{array}{cccc}{1}& {0}& {0}& {0}\\ {0}& {1}& {0}& {0}\end{array}\right]{,}{\mathrm{canonicalcycles}}{=}{table}{}\left(\left[{{b}}_{{1}}{=}\left[\left[{1}{,}\left[{-I}{,}{-1}\right]{,}{2}{,}\left[{I}{,}{1}\right]\right]\right]{,}{{a}}_{{1}}{=}\left[\left[{1}{,}\left[{-I}{,}{1}\right]{,}{3}{,}\left[{I}{,}{-1}\right]\right]\right]\right]\right){,}{\mathrm{basepoint}}{=}{-0.899000000000}{,}{\mathrm{sheets}}{=}\left[{-0.609142506531014}{-}{1.05506577036157}{}{I}{,}{-0.609142506531014}{+}{1.05506577036157}{}{I}{,}{1.21828501306203}\right]{,}{\mathrm{genus}}{=}{1}\right]\right)$ (29)
 is_hyperelliptic
 An irreducible algebraic curve f(x, y) is called hyperelliptic if the genus is more than 1 and f(x, y) is birational to a curve F(X, Y) which is of degree 2 in y.
 > algcurves[is_hyperelliptic](y^2+x^5+1, x, y);
 ${\mathrm{true}}$ (30)
 > algcurves[is_hyperelliptic](y^9+2*x^2*y^6+2*x^4*y^3+x^6+y^2, x, y);
 ${\mathrm{false}}$ (31)
 > algcurves[is_hyperelliptic](y^9+3*x^2*y^6+3*x^4*y^3+x^6+y^2, x, y);
 ${\mathrm{true}}$ (32)
 monodromy
 This procedure computes the monodromy of a Riemann surface represented as a plane algebraic curve; that is, as a polynomial f in two variables x and y.
 > algcurves[monodromy](y^3-x, x, y);
 $\left[{-1.}{,}\left[{-1.}{,}{0.500000000000000}{-}{0.866025403784439}{}{I}{,}{0.500000000000000}{+}{0.866025403784439}{}{I}\right]{,}\left[\left[{0.}{,}\left[\left[{1}{,}{2}{,}{3}\right]\right]\right]{,}\left[{\mathrm{\infty }}{,}\left[\left[{1}{,}{3}{,}{2}\right]\right]\right]\right]\right]$ (33)
 periodmatrix
 This procedure computes the periodmatrix of a Riemann surface represented as a plane algebraic curve; that is, as a polynomial f in two variables x and y.
 > algcurves[periodmatrix](y^3+x^4+x^2, x, y);
 $\left[\begin{array}{cccc}{1.927621260}{-}{6.}{×}{{10}}^{{-9}}{}{I}& {0.96381059}{+}{1.66936901}{}{I}& {1.92762134}{+}{0.}{}{I}& {-2.891431930}{+}{1.669369030}{}{I}\\ {-3.}{×}{{10}}^{{-10}}{+}{1.529954055}{}{I}& {1.32497907}{+}{0.764977023}{}{I}& {-2.64995814}{+}{0.}{}{I}& {1.324979070}{+}{0.764977023}{}{I}\end{array}\right]$ (34)
 > algcurves[periodmatrix](y^3+x^4+x^2, x, y, 'Riemann');
 $\left[\begin{array}{cc}{0.999999997144757}{+}{1.15470054211822}{}{I}& {-0.999999995045272}{-}{0.577350247846397}{}{I}\\ {-0.999999991936919}{-}{0.577350277278923}{}{I}& {1.00000001595312}{+}{1.15470053050915}{}{I}\end{array}\right]$ (35)
 Weierstrassform
 The procedure Weierstrassform has been updated to accept hyperelliptic curves as well as elliptic curves. An algebraic function field C(x)[y]/(f) for a hyperelliptic curve with genus g is isomorphic to the field C(x0)[y0]/(f0) where f0 is of the form y0^2 + a squarefree polynomial in x0 of degree 2*g+1 or 2*g+2.
 > f := y^8+(x^2-x)^4+(x^2-x)^2*y^3;
 ${f}{≔}{{y}}^{{8}}{+}{\left({{x}}^{{2}}{-}{x}\right)}^{{4}}{+}{\left({{x}}^{{2}}{-}{x}\right)}^{{2}}{}{{y}}^{{3}}$ (36)
 > algcurves[genus](f, x, y);
 ${3}$ (37)
 > algcurves[is_hyperelliptic](f, x, y);
 ${\mathrm{true}}$ (38)
 > Wf := algcurves[Weierstrassform](f, x, y, X, Y);
 ${\mathrm{Wf}}{≔}\left[{-}{4}{}{{X}}^{{7}}{+}{24}{}{{X}}^{{5}}{-}{52}{}{{X}}^{{4}}{+}{52}{}{{X}}^{{3}}{-}{28}{}{{X}}^{{2}}{+}{{Y}}^{{2}}{+}{8}{}{X}{-}{1}{,}\frac{{{y}}^{{2}}}{{{x}}^{{2}}{+}{{y}}^{{2}}{-}{x}}{,}{-}\frac{{8}{}{{x}}^{{7}}{-}{8}{}{{x}}^{{3}}{}{{y}}^{{4}}{+}{12}{}{x}{}{{y}}^{{6}}{-}{28}{}{{x}}^{{6}}{+}{8}{}{{x}}^{{3}}{}{{y}}^{{3}}{+}{12}{}{{x}}^{{2}}{}{{y}}^{{4}}{-}{2}{}{x}{}{{y}}^{{5}}{-}{6}{}{{y}}^{{6}}{+}{36}{}{{x}}^{{5}}{-}{12}{}{{x}}^{{2}}{}{{y}}^{{3}}{-}{4}{}{{y}}^{{4}}{}{x}{+}{{y}}^{{5}}{-}{20}{}{{x}}^{{4}}{+}{4}{}{x}{}{{y}}^{{3}}{+}{4}{}{{x}}^{{3}}}{{{y}}^{{5}}{}\left({4}{}{{y}}^{{2}}{+}{4}{}{y}{+}{1}\right)}{,}\frac{{2}{}{{X}}^{{4}}{-}{4}{}{{X}}^{{3}}{+}{6}{}{{X}}^{{2}}{-}{4}{}{X}{+}{Y}{+}{1}}{{2}{}\left({2}{}{{X}}^{{4}}{-}{4}{}{{X}}^{{3}}{+}{6}{}{{X}}^{{2}}{-}{4}{}{X}{+}{1}\right)}{,}{-}\frac{{{X}}^{{4}}{-}{2}{}{{X}}^{{3}}{+}{{X}}^{{2}}}{{2}{}{{X}}^{{4}}{-}{4}{}{{X}}^{{3}}{+}{6}{}{{X}}^{{2}}{-}{4}{}{X}{+}{1}}\right]$ (39)
 > F := Wf[1];
 ${F}{≔}{-}{4}{}{{X}}^{{7}}{+}{24}{}{{X}}^{{5}}{-}{52}{}{{X}}^{{4}}{+}{52}{}{{X}}^{{3}}{-}{28}{}{{X}}^{{2}}{+}{{Y}}^{{2}}{+}{8}{}{X}{-}{1}$ (40)
 The curve given by h is birational to the curve F. The other entries of Wf give the images of x, y, X, Y under the isomorphism and inverse isomorphism from C(x)[y]/(h) to C(X)[Y]/(F).
 More interesting examples are given in the example worksheet.
 Graphics
 Two-dimensional adaptive graphics have been improved so that areas where a function is undefined are approached more closely.   A plot of sqrt(x) from -1 to 1 shows this well.
 > plot(sqrt(x), x=-3..3);
 > plot(1/ln(x), x=-1..1, -3..0);
 A legend can be added to a 2-D plot by using the option legend set equal to a string.  If a list of plots are being plotted, "Name" can be replaced by a list of strings.
 > plot( sin(x), x=0..10, legend="The Sine Function" );
 > plot( [sin(x), tan(x), sec(x)], x=0..10, legend=["Sine", "Tangent", "Secant"] );
 The direction in which the axes labels in a 2- or 3-D plot are printed can be modified by using the option labeldirections set equal to a list of two entries, either horizontal or vertical, representing the directions of the text on abscissa (x-axis) and ordinate (y-axis) respectively.
 > plot( sin(x), x=0..10, 'labels=["abscissa", "ordinate"]', 'labeldirections=[horizontal, vertical]' );
 > plot3d( sin(x*y), x=-2..2, y=-2..2, 'labels=["x-axis", "y-axis", "z-axis"]', 'axes=BOXED', 'labeldirections=[horizontal, horizontal, vertical]' );
 The size of symbols displayed in plots can now be modified using the option symbolsize. This must be an integer greater than or equal to 1, representing the point size.  The symbol 'point' cannot have its size changed.
 > plot( [sin(x), cos(x)], x=0..10, style=point, symbolsize=[12, 5] );