Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions

Question

Explain the steps involved in training programmes.

Answered: 1 week ago

Question

What are the need and importance of training ?

Answered: 1 week ago

Question

Identify global safety and health issues.

Answered: 1 week ago

Question

Discuss health care in the global environment.

Answered: 1 week ago