# -*- 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.
x (float) is an independent variable or input variable.
a and b (float) are parameters.
y (float) is a dependent variable or output variable.
"""
y = a*x + b
return y
p0 = 2.5
p1 = 3.0
x_in = 10.0
out = fun_lin(x_in, p0, p1)
print('Resultat = ', out)