Qurak

Use a Gompertz distribution as a lifetime model

Example 2 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.

Step 1
r = SurvivalFunction[GompertzMakehamDistribution[λ, ξ], t];
rs = r r;
rp = 1 - (1 - r) (1 - r);

No output - this step sets something up for the next one.

Step 2
Block[{λ = 2, ξ = .3},
	Plot[{rs, rp}, {t, 0, 2}, PlotStyle -> Thick, ImageSize -> 400, BaseStyle -> {FontFamily -> "Helvetica"}, PlotLabel -> "Reliability in series and in parallel", Epilog -> {Inset[Framed[Style["in parallel", 12], Background -> LightYellow], {0.7, 0.6}, {Left, Bottom}], Inset[Framed[Style["in series", 12], Background -> LightYellow], {0.6, 0.3}, {Right, Top}]}]]
Output
-Graphics-

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client