this is my code
#lang racket
(define (myPolynomial x)
(- (- (* 9 (* x x)) (* 3 x)) 25))
(define (myOtherPolynomial x)
(- (- (* 11 (* x x)) (* 2 x)) 50))
How can I print the format of this function without having to do something like this:
#lang racket
(define (myPolynomial x)
(- (- (* 9 (* x x)) (* 3 x)) 25))
(define (printPolynomial)
(display (format "y = 9x^2 - 3x - 25")))
; Example usage
(printPolynomial)
I've tried
(display myPolynomial
but I just get:#procedure:myPolynomial
I was expecting it to print: y = 9x^2.....