* Added example about series expansion.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Sun, 15 Apr 2001 00:28:38 +0000 (00:28 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Sun, 15 Apr 2001 00:28:38 +0000 (00:28 +0000)
ginsh/ginsh.1.in

index d933c33..d5a135f 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]);