diff --git a/printNumbers/functions/func.py b/printNumbers/functions/func.py new file mode 100644 index 0000000..fd5bec1 --- /dev/null +++ b/printNumbers/functions/func.py @@ -0,0 +1,15 @@ +# -*- coding: utf-8 -*- + +# func.py + +# Just an additional function. Part 1 of Software Development in Science 2022 exercise. +# Solving the function g(t). + + +import math +from math import exp +from math import sin +from math import pi + +def g(t): + return exp(-t)*sin(pi*t)