# [Maxima] Solving equation numerically

S. Newhouse sen1 at math.msu.edu
Thu Jan 24 22:58:29 CST 2008

```Justin Harford wrote:
> (question), numer ;
> Justin Harford
>
> the chancellor’s job has come to be defined as "providing parking for
> faculty, sex for the students, and athletics for the alumni."
>         Klark Kerr… 1957
>
> On Jan 24, 2008, at 7:35 AM, Dan Soendergaard wrote:
>
>
>> Hi,
>>
>> I'm completely new to Maxima. I use it as a Mathcad replacement in
>> Linux which I am truly happy about. Today, I was in class given the
>> task to solve the given equation for x,
>>
>> sin(x) + x = 2.5*x + 1.5
>>
>> In Maxima I entered,
>>
>>
>>> solve(sin(x) + x = 2.5*x + 1.5, x);
>>>
>> which gives me,
>>
>> x = 5 * sin(x) + 7.5
>>
>> Isn't it possible to solve this equation numerically? I know that I
>> should get three results for x since there are three intersection
>> points. How do I solve this kind of calculation using Maxima?
>>
>>
%i12) find_root(sin(x)+x-2.5*x - 1.5,x,-3,3);
(%o12)                        - 1.663786360949127

HTH,
-sen
```