[racket] novice question about expressions

From: Jamel Hamani (jamelhamani at gmail.com)
Date: Fri Jan 11 21:08:22 EST 2013

how do I formulate this expression in racket?

(n*2+ 300) / (13n)

I got the first part done

(define (f n)
( +  ( * n n ) 300))

So lets say I pick 5.

(f 5) would give me 325.

But how would I do the second part- dividing it by (13n)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130111/3c69db8f/attachment.html>

Posted on the users mailing list.