npboy: npboy

Description Usage Arguments Value

View source: R/npboy.R

Description

A function to solve the newspaper-boy-problem in mathematical modeling.

Usage

1
npboy(a, b, c, miu, sigma)

Arguments

a

Newspaper retail price

b

Newspaper purchase price

c

Newspaper rebate(a>b>c)

miu

The expected number of daily newspaper buyers

sigma

The variance of the number of daily newspaper buyers

Value

The optimum number of newspapers a newspaper boy should buy each day n


SC19017016/SC19017016 documentation built on Dec. 31, 2019, 12:53 a.m.