Informasjon

Forfatter(e) Simon Gustin
Frist Ingen frist
Innleveringsgrense Ingen begrensning
Kategorimerkelapper session1

Logg inn

Session 1: Q* Polynomial

You want to use your computer to easily compute a polynomial with the following form: \(y = a x^6 + b x^2 + c\). We give you the coefficients (stored in a, b and c) and the variable x and ask you to put the value of the polynomial at abscissa \(x\) inside a variable named y.

Note: there is a way to make this shortly in only one line of code.


Implementation
y = ...  # Value of the polynomial at abscissa `x`