# 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-29 02:48:15 +0200 **

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)]]
```

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2016-08-29 02:48:15 +0200 **

Seen: **79 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.