Changes

Jump to navigation Jump to search
no edit summary
Line 14: Line 14:  
*The Bernoulli distribution is defined by:<math>f(x)=p^x(1-p)^{1-x} </math> for x={0,1}, where p is the probability that a particular event will occur.
 
*The Bernoulli distribution is defined by:<math>f(x)=p^x(1-p)^{1-x} </math> for x={0,1}, where p is the probability that a particular event will occur.
 
*The probability mass function is :
 
*The probability mass function is :
<math>f(k,p) = \begin{cases}p & if & k=1\\
+
<math>f(k,p) = \begin{cases} p if & k=1\\
                             1-p & if & k=0. \\
+
                             1-p if & k=0. \\
 
               \end{cases}</math>
 
               \end{cases}</math>
 
*This function will give the result as error when
 
*This function will give the result as error when
  1. Any one of the argument is nonnumeric.
+
  1. Any one of the argument is non numeric.
 
  2. The value of p<0 or p>1.
 
  2. The value of p<0 or p>1.
 +
 +
 +
\begin{cases}
 +
3x + 5y +  z &= 1 \\
 +
7x - 2y + 4z &= 2 \\
 +
-6x + 3y + 2z &= 3
 +
\end{cases}
writer
6,694

edits

Navigation menu