@@ -935,8 +935,7 @@ def solve(f, *args, **kwds):
935
935
936
936
sage: f = (sin(x) - 8*cos(x)*sin(x))*(sin(x)^2 + cos(x)) - (2*cos(x)*sin(x) - sin(x))*(-2*sin(x)^2 + 2*cos(x)^2 - cos(x))
937
937
sage: solve(f, x, algorithm='giac')
938
- ...
939
- [-2*arctan(sqrt(2)), 0, 2*arctan(sqrt(2)), pi]
938
+ ...[-2*arctan(sqrt(2)), 0, 2*arctan(sqrt(2)), pi]
940
939
941
940
sage: x, y = SR.var('x,y')
942
941
sage: solve([x+y-4,x*y-3],[x,y],algorithm='giac')
@@ -1440,19 +1439,15 @@ def _giac_solver(f, x, solution_dict=False):
1440
1439
EXAMPLES::
1441
1440
1442
1441
sage: solve([(2/3)^x-2], [x], algorithm='giac')
1443
- ...
1444
- [[-log(2)/(log(3) - log(2))]]
1442
+ ...[[-log(2)/(log(3) - log(2))]]
1445
1443
sage: solve([(2/3)^x-2], [x], algorithm='giac', solution_dict=True)
1446
- ...
1447
- [{x: -log(2)/(log(3) - log(2))}]
1444
+ ...[{x: -log(2)/(log(3) - log(2))}]
1448
1445
1449
1446
sage: f = (sin(x) - 8*cos(x)*sin(x))*(sin(x)^2 + cos(x)) - (2*cos(x)*sin(x) - sin(x))*(-2*sin(x)^2 + 2*cos(x)^2 - cos(x))
1450
1447
sage: solve(f, x, algorithm='giac')
1451
- ...
1452
- [-2*arctan(sqrt(2)), 0, 2*arctan(sqrt(2)), pi]
1448
+ ...[-2*arctan(sqrt(2)), 0, 2*arctan(sqrt(2)), pi]
1453
1449
sage: solve(f, x, algorithm='giac', solution_dict=True)
1454
- ...
1455
- [{x: -2*arctan(sqrt(2))}, {x: 0}, {x: 2*arctan(sqrt(2))}, {x: pi}]
1450
+ ...[{x: -2*arctan(sqrt(2))}, {x: 0}, {x: 2*arctan(sqrt(2))}, {x: pi}]
1456
1451
1457
1452
sage: x, y = SR.var('x,y')
1458
1453
sage: solve([x+y-7,x*y-10],[x,y],algorithm='giac')
0 commit comments