A litle script to calculate equations