Ejemplo n.º 1
0
        private double Vbardaggerstjern(intensityObject intensiteter, double x)
        {
            CashFlowTool tool = new CashFlowTool();

            return(tool.muProbability00(intensiteter, 0, x, "") * tool.tekniskReserve_dagger(x, intensiteter));
        }
Ejemplo n.º 2
0
        public double calculatePq(intensityObject intensititer, double start, double s**t)
        {
            CashFlowTool cashflowtool = new CashFlowTool();
            double       P00          = cashflowtool.muProbability00(intensititer, start, s**t, "");

            return(P00 * MathNet.Numerics.Integration.SimpsonRule.IntegrateThreePoint(y => intensititer.rFunction(y) * (cashflowtool.tekniskReserve_circle(y, intensititer) / cashflowtool.tekniskReserve_dagger(y, intensititer)), start, s**t));
        }