Олимпиадный тренинг

Задача 28406. Function tab 2


Задача

Темы: Цикл for
Write a program that calculates the function z(t) when a changes from 2 to 17  >with step 1.
\(z = 3.5t^2 - 7t +16\), when \(t = 4a\)< /span>.

Input
You don't need to enter anything from the keyboard.

Imprint 
You need to output z(t)  values ​​for all a values. One pair (a, z) per line. See the example for output format.
 
Examples
# Input Output
1  
a=2 z=184.0
a=3 z=436.0
a=4 z=800.0
...
a=16 z=13904.0
a=17 z=15724.0