Thông tin

Tác giả Simon Gustin
Hạn chót Không có hạn chót
Giới hạn nộp bài Không có giới hạn
Các tag chuyên mục session1

Đăng nhập

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`