search for: intweibull1

Displaying 1 result from an estimated 1 matches for "intweibull1".

Did you mean: intweibull2
2011 Jan 20
0
Writing functions. please help
...two on the numerator and the other tow on the denominator, and how i was not being succesful in writing the function directly, I wrote these four integrals separately,considering already the shape, the scale, Ca, Cb as given. The code is the following: 2.1: for the first part in the numerator > intWeibull1=function(t){ + integr=function(t) 1000*(2.5/20)*(t/20)^(2.5-1)*exp(-(t/20)^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) +...