Sistema di equazioni
Problem
Scrivi un programma per calcolare
y utilizzando la formula:
\(\begin{equation*} y(x) = \begin{cases} 0 &\text{x = 0}\\ x^2-x-1 &\ text{otherwise} \end{cases} \end{equation*}\)
Inserimento
L'input รจ un intero
x.
Impressum
Visualizza il valore di
y.
Esempi