Ask Your Question
0

Solve in bulk

asked 2016-08-29 02:48:15 +0100

this post is marked as community wiki

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

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-08-29 10:22:51 +0100

B r u n o gravatar image

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)]]
edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2016-08-29 02:48:15 +0100

Seen: 535 times

Last updated: Aug 29 '16