Re: New user: Abs[] problem
- To: mathgroup at smc.vnet.net
- Subject: [mg50097] Re: [mg50079] New user: Abs[] problem
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Sun, 15 Aug 2004 03:14:23 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
eqn=x+1-Abs[2x-4]+Abs[5-x]==0;
FindRoot[eqn,{x,2}]
{x -> 5.}
eqn /. %
True
Bob Hanlon
>
> From: Edson.Brusque at smc.vnet.net
To: mathgroup at smc.vnet.net
> Date: 2004/08/14 Sat AM 01:50:33 EDT
> To: mathgroup at smc.vnet.net
> Subject: [mg50097] [mg50079] New user: Abs[] problem
>
> Hello,
>
> I'm starting Electrical Engineering and using Mathematica for
> helping me in Calculus e Algebra studies.
>
> I'm trying to solve this equation on Mathematica:
> x + 1 - |2x - 4| + |5 - x| = 0
>
> on the Math* notebook I'm typing:
> Solve[x + 1 - Abs[2x - 4] + Abs[5 - x] == 0,x]
>
> but only got an empty output: {{}}
>
> Someone please can help me get Math* to solve this?
>
> Thank you very much,
>
> Edson Brusque
>
>
-----------------------------------------------------------------
----
> Edson Brusque C.I.Tronics Lighting Designers Ltda
> Research and Development Blumenau - SC - Brazil
> http://www.suporte.ind.br/ryan/netiqueta.htm www.citronics.com.br
>
-----------------------------------------------------------------
----
>
>
>
>