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


Groups > comp.soft-sys.math.mathematica > #16711

Re: Problems with Solve

From Unknown <dog@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Problems with Solve
Date 2014-03-30 08:42 +0000
Message-ID <lh8ldk$bed$1@smc.vnet.net> (permalink)
References <lgm7pn$14$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


On Sun, 23 Mar 2014 08:59:35 +0000, Ray Koopman wrote:

> 1. Use  NRoots[z + 5 (z^2 - 1) + 1 z^3 == 1, z], then pick the root you
> want.
> 
> 2. B[s_?NumericQ] := Piecewise[{{Erfc[-x]+Erfc[y]-Erfc[z], s >= .5}},
> Erfc[-x]]
> 
> ----- Samuel Mark Young <sy81@sussex.ac.uk> wrote:
>> I'm trying to use the solutions of Solve from solving a cubic equation
>> - however, it keeps returning complex answers when there are real
>> solutions. For example:
>> 
>> Solve[z + 5 (z^2 - 1) + 1 z^3 == 1, z]
>> 
>> This equation has 3 real solutions. However, the answers returned when
>> I ask mathematica for a decimal answer are complex... 
  
Wow, I manually entered <1> to the rPi <creditCardSized computer>.
Amazing: but where's the syntax [without TOO much commercials] for my
free version of mathematica?

Why did the OP use "Solve"?
And how did the look-ma-no-hands-demo respondent [whithout any 
elaboration/explanation to add value] know to use a different syntax?
And, within the context of <solutions of cubic equations>, what is
the meaning of "== 1, z"?

== TIA.

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar


Thread

Re: Problems with Solve Ray Koopman <koopman@sfu.ca> - 2014-03-23 08:59 +0000
  Re: Problems with Solve Unknown <dog@gmail.com> - 2014-03-30 08:42 +0000

csiph-web