Displaying 1 result from an estimated 1 matches for "secondin".
Did you mean:
seconding
2011 Jan 20
0
Writing functions. please help
.../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,100)
+ return(calc)}
3-All the functions above are working perfectly, but when i try to put
everything together trough this code and call the function, appears a...