The output (\(y\)) of a perceptron is determined by the weighted sum of its inputs compared to a threshold. The formula for the output (\(y\)) of a perceptron is given by:
$y = \begin{cases} 1, & \text{if } \sum_{i} w_i x_i \geq T \\ 0, & \text{otherwise} \end{cases} $
where:
- \(w_i\) is the weight for the \(i\)-th input,
- \(x_i\) is the \(i\)-th input,
- \(T\) is the threshold.
Given the weights \(w_1 = -3.9\), \(w_2 = 1.1\), inputs \(x_1 = 1.3\), \(x_2 = 2.2\), and threshold \(T = 0.3\), we can calculate the weighted sum:
$\text{Weighted Sum} = w_1 \cdot x_1 + w_2 \cdot x_2 $
Substitute the values:
$\text{Weighted Sum} = (-3.9 \cdot 1.3) + (1.1 \cdot 2.2)$
Now, compare this with the threshold:
$\text{Weighted Sum} \geq T \,?$
If it's true, the output is 1; otherwise, the output is 0.
Let's calculate:
$\text{Weighted Sum} = (-5.07) + (2.42) \approx -2.65$
Now, compare with the threshold:
$-2.65 \geq 0.3 \,?$
This is not true, so the output is 0.
Therefore, the correct answer is:
$\textbf{C. 0}$