Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11321 > unrolled thread

Simplify

Started by"news" <news@newsfe03.iad.highwinds-media.com>
First post2012-08-13 07:20 +0000
Last post2012-08-16 05:58 +0000
Articles 5 — 5 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Simplify "news" <news@newsfe03.iad.highwinds-media.com> - 2012-08-13 07:20 +0000
    Re: Simplify David Bailey <dave@removedbailey.co.uk> - 2012-08-14 08:23 +0000
    Re: Simplify "Nasser M. Abbasi" <nma@12000.org> - 2012-08-14 08:24 +0000
    Re: Simplify "Dr. Wolfgang Hintze" <weh@snafu.de> - 2012-08-15 00:49 +0000
      Re: Simplify "news" <news@newsfe15.iad> - 2012-08-16 05:58 +0000

#11321 — Simplify

From"news" <news@newsfe03.iad.highwinds-media.com>
Date2012-08-13 07:20 +0000
SubjectSimplify
Message-ID<k0a9r3$hgh$1@smc.vnet.net>
Hi folks,

Simplify must result:

Simplify[(1 + Sin[x] - Cos[x])/(1 + Sin[x] + Cos[x]) == Tan[x/2]]
True

but why instead it results:

Simplify[(1 + Sin[x] - Cos[x]) / (1 + Sin[x] + Cox[x]) ==  Tan[x/2]]

((Cos[x] - Cox[x])*Tan[x/2]) / (1 + Cox[x] + Sin[x]) == 0

Thanks.

Max.

[toc] | [next] | [standalone]


#11329

FromDavid Bailey <dave@removedbailey.co.uk>
Date2012-08-14 08:23 +0000
Message-ID<k0d1tl$m0e$1@smc.vnet.net>
In reply to#11321
On 13/08/2012 08:20, news wrote:
> Hi folks,
>
> Simplify must result:
>
> Simplify[(1 + Sin[x] - Cos[x])/(1 + Sin[x] + Cos[x]) == Tan[x/2]]
> True
>
> but why instead it results:
>
> Simplify[(1 + Sin[x] - Cos[x]) / (1 + Sin[x] + Cox[x]) ==  Tan[x/2]]
>
> ((Cos[x] - Cox[x])*Tan[x/2]) / (1 + Cox[x] + Sin[x]) == 0
>
> Thanks.
>
> Max.
>
Probably because you wrote Cox instead of Cos!!!

The syntax colouring could have solved that problem. Notice how when you 
fix the mistake, the function name turns from blue to black (assuming 
default settings).

David Bailey
http://www.dbaileyconsultancy.co.uk

[toc] | [prev] | [next] | [standalone]


#11331

From"Nasser M. Abbasi" <nma@12000.org>
Date2012-08-14 08:24 +0000
Message-ID<k0d1v9$m15$1@smc.vnet.net>
In reply to#11321
On 8/13/2012 2:20 AM, news wrote:
> Hi folks,
>
> but why instead it results:
>
> Simplify[(1 + Sin[x] - Cos[x]) / (1 + Sin[x] + Cox[x]) ==  Tan[x/2]]
>
> ((Cos[x] - Cox[x])*Tan[x/2]) / (1 + Cox[x] + Sin[x]) == 0
>

Cox[x] ? Maybe that should be Cos[x].
  

--Nasser

[toc] | [prev] | [next] | [standalone]


#11340

From"Dr. Wolfgang Hintze" <weh@snafu.de>
Date2012-08-15 00:49 +0000
Message-ID<k0erls$oe3$1@smc.vnet.net>
In reply to#11321
On 13 Aug., 09:20, "news" <n...@newsfe03.iad.highwinds-media.com>
wrote:
> Hi folks,
>
> Simplify must result:
>
> Simplify[(1 + Sin[x] - Cos[x])/(1 + Sin[x] + Cos[x]) == Tan[x/2]]
> True
>
> but why instead it results:
>
> Simplify[(1 + Sin[x] - Cos[x]) / (1 + Sin[x] + Cox[x]) ==  Tan[x/2]]
>
> ((Cos[x] - Cox[x])*Tan[x/2]) / (1 + Cox[x] + Sin[x]) == 0
>
> Thanks.
>
> Max.
>
>

Max, I get

In[90]:= Simplify[(1 + Sin[x] - Cos[x])/(1 + Sin[x] + Cos[x])]

Out[90]= Tan[x/2]

and also

In[89]:= Simplify[(1 + Sin[x] - Cos[x])/(1 + Sin[x] + Cos[x]) == Tan[x/
2]]

Out[89]= True

and I don't see where you strange second line may come from.

Best Ragards,
Wolfgang

[toc] | [prev] | [next] | [standalone]


#11373

From"news" <news@newsfe15.iad>
Date2012-08-16 05:58 +0000
Message-ID<k0i26s$1as$1@smc.vnet.net>
In reply to#11340
Hello folks,

Thanks to all of you for your comments and help. I also found out that 
changing my glasses I can properly see  Mathematica's coloring of errors :)

Regards,
Max. 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web