Question: Beggining Student Language in DrRacket 3. (70 Points) A local performing arts center books various events. Every event costs the center $1500 (for utility costs,
3. (70 Points) A local performing arts center books various events. Every event costs the center $1500 (for utility costs, custodial help, etc.) plus $2 per attendee (for program printing, etc.). You are to develop a set of functions that will calculate the profit for an event, based on the number of attendees and the cost of a ticket. (a) Develop a function that consumes the number of attendees at an event and produces the cost to the performing arts center to hold the event. Name your function event-cost. (b) Develop a function that consumes the number of attendees and the price per ticket and produces the income generated by ticket sales. Name your function ticket-revenue. (e) Develop a function that consumes the number of attendees and the price per ticket and produces the profit for the event. Use the functions you developed in parts (a) and (b). Name your function event-profit. Use defined constants where appropriate. Make sure each function you define is documented with a signature and a purpose. Each function should be tested using check-expect
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
