Question roots of negative numbers 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork
Re: News Project Step #1, due Friday 8 November
Date: 2002, Nov 08
From: Alison Lanski <alanski@uchicago.edu>

How should we deal with roots of negative numbers? for example, the cube root of -64 is -4, however scheme looks like this:

(expt -64 1/3)

;Value: 1.9999999999999998+3.464101615137753i

is there another way i should deal with this, or should i signal an error whenever the interval includes negatives and the exponent is a fraction?

thanks


Messages

1. Ok oops - never mind by Alison , 2002, Nov 08
2. Note Correct Answer by Mark Kittisopikul, 2002, Nov 08
1. More a better question, then by Alison Lanski, 2002, Nov 08
(_ Feedback Solution by Mark Kittisopikul, 2002, Nov 09

to: "roots of negative numbers"