MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

How to use mathematica to solve this problem


Situation:

  Each unit purchased costs "v",each unit sold produces a revenue of "p",each unit disposed as salvage gives a revenue of "g"=EF=BC=8Cand there is an additional cost "B" associated with each unit of demand not satisfied. If a quantity "Q" is stocked and a demand "x" occurs, the profit is

P(Q,x)= -Qv+px+g(Q-x) if x<=Q
        -Qv+pQ-B(x-Q) if x>=Q

    The expect value of the profit,as a function of Q is given by

    E[P(Q)]=Integral[P(Q,x),(x,0,infinite)]


Question:
         HOW to use mathematica to present"E[P(Q)]"



  • Prev by Date: Re: Kernel exits
  • Next by Date: Re: Landau letter, Re: Mathematica as a New Approach...
  • Previous by thread: Re: Changing typeface using the find and replace dialog
  • Next by thread: Linear combinations of Expectation of EmpiricalDistribution