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,

Beggining Student Language in DrRacket
Beggining Student Language in DrRacket 3. (70 Points) A local performing arts

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!