0

Possible Duplicate:
Assign the results from a Solve to variable(s)

I want to assign the results of a Solve command in a list. For example Solve[-((287 s^3)/50) == 0, s] returns {{s -> 0}, {s -> 0}, {s -> 0}} I want it to return {0,0,0}. Can this be done automatically and not manually? Thank you very much

1 Answers1

1

You can use

s = Solve[-((287 s^3)/50) == 0, s][[All,1,2]]

To get

s = {0,0,0}
Murta
  • 26,275
  • 6
  • 76
  • 166