| Original Message (ID '218498') By Bill Simpson: |
| In your
c2 = h2*(s2 - μ2) - NIntegrate[cost1* PDF[NormalDistribution[μ2, σ2], u], {u, s2 - w, Infinity}] + ...
s2 has not been assigned a constant numeric value. NIntegrate requires that all variables except the variable of integration have constant numeric values.
s2 not having a value causes further problems in the rest of your expression for c2. |
|