Khan/khan-exercises — Issue #9875: Functions 3 - square of a negative number
Author: KhanBugz
Created: 2011-12-30 09:05:00+00:00
State: open
Labels: chrome, wrong-or-unclear, xp

Reporter: mithuldas@gmail.com

This is with reference to one of the questions generated in the functions_3 set of exercises. It seems that your script is evaluating the square of a negative number to be negative. Might want to look into this as it seems like a coding issue which may be affecting all your problem sets, although I haven't been able to verify it.

Just thought I'd give you a heads up. Brilliant job with the site.

Regards,
Mithul

[functions_3.html?seed=108&problem=0](http://sandcastle.khanacademy.org/media/castles/Khan:master/exercises/functions_3.html?seed=108&problem=0&debug)

[Answer timeline](http://sandcastle.khanacademy.org/media/castles/Khan:master/exercises/functions_3.html?seed=108&problem=0&debug&activity=%5B%5B%22incorrect-activity%22%2C%22%5C%2224%5C%22%22%2C139%5D%2C%5B%22hint-activity%22%2C%220%22%2C159%5D%2C%5B%22hint-activity%22%2C%220%22%2C166%5D%2C%5B%22hint-activity%22%2C%220%22%2C173%5D%2C%5B%22hint-activity%22%2C%220%22%2C176%5D%2C%5B%22hint-activity%22%2C%220%22%2C178%5D%5D)

["24"]

Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7

MathJax is loaded, ready, queue length: 0