首页 > 代码库 > Scheme笔记(1)

Scheme笔记(1)

(define pi 3.14159)(define radius 10)(* pi (* radius radius))(define circumference (* 2 pi radius))circumference(define pi 100000)picircumference(define (square x) (* x x))(define (sum-of-squares x y) (+ (square x) (square y)))

Scheme笔记(1)