Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.5K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

Solving Equation with symbol-coefficients

Posted 10 years ago

Hello, i have a simple example, which doesnt work in my mathematica student version: I try to solve:

Solve[ax^2+bx+c==0,x]

but i just get the results {} What do i have to do?

Thanks and kind regards

POSTED BY: Sven Hohmann
2 Replies
Posted 10 years ago

Hi Sven, try separating the ax to a x and bx to b x (put a space between them).

In[238]:= Solve[a x^2 + b x + c == 0, x]

Out[238]= {{x -> (-b - Sqrt[b^2 - 4 a c])/(
   2 a)}, {x -> (-b + Sqrt[b^2 - 4 a c])/(2 a)}}

Paul

POSTED BY: Paul Cleary
Posted 10 years ago

thx a lot, it works now.

kind regards

POSTED BY: Sven Hohmann
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard