Bonjour,
f(x) = 3x² - x + 1
Pour savoir si un point appartient à C, on remplace les coordonnées dans la fonction et on regarde :
(2 ; 11) appartient à C si f(2) = 11
f(2) = 3 × 2² - 2 + 1 = 3 × 4 - 1 = 12 - 1 = 11
→ tu peux conclure
(1 ; 5) appartient à C si f(1) = 5
f(1) = 3 × 1² - 1 + 1 = 3 × 1 = 3 ≠ 5
→ tu peux conclure
2) def appartient_ou_non(x,y):
if 3*x**2-x+1==y
print ('appartient')
else:
print ('appartient pas')
return