Question: Tasks Understand the problem by reading the chapter slides then do the following: Make a function called ntickets ( N , gamma,p ) that does

Tasks
Understand the problem by reading the chapter slides then do the following:
Make a function called ntickets(N,gamma,p) that does the following:
Creates a plot of the objective function Vs "n" the number. of tickets sold (Wednesday 6/21 Recording)
Objective Vs n to find optimal tickets sold seats).
Makes a plot of n Vs gamma (allow gamma to change), given N,p
Makes a plot of n Vs p(allow to change), given N, gamma
prints a named list containing n,N,p and gamma
Test your function by calling ntickets , gamma =0.02,p=0.95)
Place your function and call in an RMD and knit to HTML
Upload ONLY the HTML (This should have the function visible so I can grade it, the three plots, and the printed list)
 Tasks Understand the problem by reading the chapter slides then do

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!