Question: could u please write this using drracket Thank you Racket Homework 1 Please submit your solutions via email by sending a .rkt file to Nico
Racket Homework 1 Please submit your solutions via email by sending a .rkt file to Nico and copying me. Name your file lastname-firstname.hwl. You are welcome to use any editor you want, but keep in mind that all solutions will be graded using Dr. Racket. 1. Define the function g(s, t) tst3. 2. Define a function called Zed that takes a positive integer as input and outputs as follows. 82 + 1 odd Zed(z) = z even 3. Define a function called rev that reverses the elements of a list. You are only allowed to use the functions car, cdr, cons, cond, and nul17. For example, the input (rev (1 2 3 4)) should ouput (4321). 4. Define a function called sods that takes a list of integers as input, and returns the sublist of integers that are multiples of 5. For example, the input (mod5 (2 7-10 150 -1)) should output (-10 15 0)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
