# -*- coding: utf-8 -*- """ Created on Sun Jun 9 09:39:42 2019 @author: finnh """ def fun_lin(x, a, b): """Calculation of the value of a linear function.""" y = a*x + b return y p0 = 2.5 p1 = 3.0 x_in = 10.0 out = fun_lin(x_in, p0, p1) print('Result = ', out)