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


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

Re: question related to (-1)^(1/3)

From Alan <alan.isaac@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: question related to (-1)^(1/3)
Date 2013-08-14 06:16 +0000
Message-ID <kuf7ce$fec$1@smc.vnet.net> (permalink)
References <gnqo3c$c95$1@smc.vnet.net> <go63gv$pnd$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Here is slightly different example of needing a domain restriction when using ``RecurrenceTable``:

RecurrenceTable[
    {xx[v + 1] - xx[v] == -3.0*Power[(xx[v + 1] + xx[v])/2.0, 3.0],
     xx[0] == 1.0},
     xx, {v, 0, 50}]

Q1: Is there a nice way in Mathematica 9 to restrict the domain to the reals?
Q2: If I use ``Re@Power`` instead of ``Power`` I get the expected output,
but I also get a bunch of warnings that "Function::slotn: Slot number 2 ... cannot be filled".  What is that about? (I'm not asking for the error documentation, but rather why this change produces that warning -- even if I should be able to get from the former to the latter ...)

Thanks,
Alan Isaac

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: question related to (-1)^(1/3) Alan <alan.isaac@gmail.com> - 2013-08-14 06:16 +0000

csiph-web