Homework 5
Due Wednesday, December 2 by 3pm.
Language: Intermediate Student with Lambda
1 Area under a Function
Exercise 23.4.2 from HtDP.
2 Distinct Paths in a Graph
Write the following function:
;; number-of-distinct-paths : node node graph -> number
;; graph is a directed graph with no cycles (Section 28.1 in HtDP)
;; nodes are vertices in the graph
;; the function returns the total number of distinct
;; paths from first node to the second
(define (number-of-distinct-paths origination destination G) ---)
|