File:Courbes fiabilite lambda en baignoire.svg

Summary

Description
Français : Courbes de fiabilité pour un taux de défaillance instantané λ en baignoire. Créé avec Scilab, modifié avec Inkscape.
English: Reliability curves for a bathtube shaped instant failure rate λ. Created with Scilab, modified with Inkscape.
Date
Source Own work
Author Cdang
Category:Files by User:cdang

Scilab source

Category:Images with Scilab code
clear;
clf;

// lambda

pas_t = 0.5
lambda0 = 0.15;
lambda1 = 0.015;
lambda2 = 1.5;
t1 = 5;
t2 = 40;
tmax = 50
T1 = 0:pas_t:t1;
T2 = (t1+pas_t):pas_t:t2;
T3 = (t2+pas_t):pas_t:tmax
T = 0:pas_t:tmax;
n = size(T, "*");

n1 = size(T1, "*");
n2 = size(T2, "*");
n3 = size(T3, "*");

lambda(1:n1) = lambda1 + (lambda0/t1^2)*(T1 - t1).^2;
lambda(n1+1:n1+n2) = lambda1;
lambda(n1+n2+1:n1+n2+n3) = lambda1 + (lambda2/(tmax - t2)^2)*(T3 - t2).^2;

// fiabilité

lambda_cumul(1) = lambda(1);
for t = 2:n
    lambda_cumul(t) = lambda_cumul(t-1) + lambda(t);
end
R = exp(-lambda_cumul);
F = 1-R;

// densité

for t = 1:n-1
    f(t) = (R(t)-R(t+1))/pas_t;
end

// Tracé Weibull

Yweib = log(-log(R(2:$)))
Tweib = log(T(2:$));

// Tracé

subplot(2,2,1)
plot(T, [F, R])
xtitle("Fréquences cumulées", "t", "Fréquence")
legend("F (mortalité)", "R (survie)", 2)

subplot(2,2,3)
plot(T(2:$), f)
xtitle("Densité", "t", "$f$")

subplot(2,2,2)
plot2d(T, lambda, rect=[0, 0, 50, 0.3])
xtitle("Taux de défaillance", "t", "$\lambda$")

subplot(2,2,4)
plot(Tweib, Yweib)
xtitle("Tracé ""Weibull"" ", "ln(t)", "ln(-ln(R))")

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-3.0#Courbes%20fiabilite%20lambda%20en%20baignoire.svg
Category:Self-published work Category:Reliability Category:Weibull distribution Category:Weibull graph paper
Category:CC-BY-SA-3.0 Category:Files by User:cdang Category:Images with Scilab code Category:Pages using deprecated source tags Category:Reliability Category:Self-published work Category:Weibull distribution Category:Weibull graph paper