]> www.ginac.de Git - ginac.git/blobdiff - ginsh/ginsh.1.in
* Added example about series expansion.
[ginac.git] / ginsh / ginsh.1.in
index d933c33556907f59d1f9e380726b26b82b211226..d5a135ff71cd4d2987e0638bc815faff89d944e3 100644 (file)
@@ -401,11 +401,11 @@ from within ginsh without having to quit.
 .SH EXAMPLES
 .nf
 > a = x^2\-x\-2;
-\-x+x^2\-2
+\-2\-x+x^2
 > b = (x+1)^2;
 (x+1)^2
 > s = a/b;
-(x+1)^(\-2)*(\-x+x^2\-2)
+(x+1)^(\-2)*(\-2\-x+x^2)
 > diff(s, x);
 (2*x\-1)*(x+1)^(\-2)\-2*(x+1)^(\-3)*(\-x+x^2\-2)
 > normal(s);
@@ -422,6 +422,8 @@ from within ginsh without having to quit.
 x
 > s;
 (x+1)^(\-2)*(\-x+x^2\-2)
+> series(sin(x),x==0,6);
+1*x+(\-1/6)*x^3+1/120*x^5+Order(x^6)
 > lsolve([3*x+5*y == 7], [x, y]);
 [x==\-5/3*y+7/3,y==y]
 > lsolve([3*x+5*y == 7, \-2*x+10*y == \-5], [x, y]);