# Solve in bulk

Does anyone know how to solve tons of equations in a row like: 1+1 2+2 and it returns: 2 4 and I want to do it on algebra equations.

add a comment

Solve in bulk

asked
**
2016-08-28 19:48:15 -0500
**

This post is a wiki. Anyone with karma >750 is welcome to improve it.

add a comment

1

Does something like the following satisfies your need?

```
sage: eqs = [x^2 == 1, x+1 == 0, 3*x == 2]
sage: [eq.solve(x) for eq in eqs]
[[x == -1, x == 1], [x == -1], [x == (2/3)]]
```

Asked: **
2016-08-28 19:48:15 -0500
**

Seen: **36 times**

Last updated: **Aug 29 '16**

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.