Slexy.org is shutting down and stopped accepting new Pastes on May 4th, 2021.
Existing Pastes will stop being available on or after May 10th, 2021.
Author: Not specified Language: matlab
Description: Not specified Timestamp: 2017-06-19 17:25:14 +0000
View raw paste Reply
k=0;
p=zeros(1,8);

for i.html">i=0:12:84
    k=k+1;
    fun =@(t)  l.^2.*t.*exp(-l.*t);

    p(k)=integral(fun,k,k+12);

end

p(8)=1-sum(p(1:7));
 
View raw paste Reply