Re: What to do in v. 6 in place of Miscellaneous`RealOnly
- To: mathgroup at smc.vnet.net
- Subject: [mg76636] Re: [mg76579] What to do in v. 6 in place of Miscellaneous`RealOnly
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Fri, 25 May 2007 06:26:48 -0400 (EDT)
- Reply-to: hanlonr at cox.net
Plot[y /. Solve[y^3 == x, y], {x, -8, 8}] Plot[Sign[x] Abs[x^(1/3)], {x, -8, 8}] Bob Hanlon ---- Helen Read <read at math.uvm.edu> wrote: > Suppose my calculus students want to plot x^(1/3), for say {x,-8,8}. The > problem, of course, is that Mathematica returns complex roots for x<0. > In past versions of Mathematica, we could get the desired real roots > (and plot the function) by loading the package Miscellaneous`RealOnly. I > guess we can still do it that way (and ignore the "obsolete package" > message), but is there a suggested way of doing what we need in 6.0? > > -- > Helen Read > University of Vermont >