Information

Author(s) Simon Gustin
Deadline No deadline
Submission limit No limitation
Category tags session1

Sign in

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`