Displaying 1 result from an estimated 1 matches for "inttweibull".
2011 Jan 20
0
Writing functions. please help
...)^2.5)
+ calc=integrate(integr, 0, t)
+ return(calc)}
2.2: for the second part in the numerator
> intWeibull2=function(t){
+ integr=function(t) 100*(2.5/20)*(t/20)^(2.5-1)*exp(-(t/20)^2.5)
+ calc=integrate(integr,t,100)
+ return(calc)}
2.3: for the third part, the first in the denominator
> intTweibull=function(t){
+ integr=function(t) t*(2.5/20)*(t/20)^(2.5-1)*exp(-(t/20)^2.5)
+ calc=integrate(integr,0,t)
+ return(calc)}
2.4: for the last part, the secondin the denominator
> intTweibull2=function(t){
+ integr=function(t) t*(2.5/20)*(t/20)^(2.5-1)*exp(-(t/20)^2.5)
+ calc=integrate(integr,t,10...