How to use mathematica to solve this problem

• To: mathgroup at smc.vnet.net
• Subject: [mg128128] How to use mathematica to solve this problem
• From: åçå <toc531 at gmail.com>
• Date: Tue, 18 Sep 2012 03:38:58 -0400 (EDT)
• Delivered-to: l-mathgroup@mail-archive0.wolfram.com
• Delivered-to: l-mathgroup@wolfram.com
• Delivered-to: mathgroup-newout@smc.vnet.net
• Delivered-to: mathgroup-newsend@smc.vnet.net

```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