[racket] Rusty Math

From: Sayth Renshaw (flebber.crue at gmail.com)
Date: Sun Dec 26 07:04:50 EST 2010

I was doing an exmple and thinking about my expected retrun value to kow if
my function worked.

However I don't think any value could test true therefore my function would
always be false. I do need to double check though as my math is rusty. But
you cannot square a number and have it retun negative can you?

This is my working.

;;; equation : number --> boolean
;;; to determine whether n is true for the equation (2 - n(squared) = 102)
(define (forn x)
  (= (- 2 (* x x) ) 102))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20101226/db1a7ff0/attachment.html>

Posted on the users mailing list.