mirror of
https://github.com/kuhyx/WUT_Computer_Science.git
synced 2026-07-06 09:43:16 +02:00
5 lines
118 B
Mathematica
5 lines
118 B
Mathematica
|
|
% the polynomial function for task 2
|
||
|
|
function y = polynomial(x)
|
||
|
|
y = -2 * x^4 + 12 * x^3 + 4* x^2 + 1 * x + 3;
|
||
|
|
end
|