Poisson Probabilities
function poissonTable(){
const L = [0.5,1,1.5,2,2.5,3];
const X = [0,1,2,3,4,5,6,7,8];
const P = [];
let row = " ";
for(let j = 0; j< L.length;j++)
{
row += ""+L[j]+" ";
}
let text = ""+row+" ";
for(let i=0;i";
for(let j=0;j"+" "+P[i,j].toFixed(4)+" "+"";
}
text += ""+row+" ";
}
tablo.innerHTML = text;