Calculations done for physics thesis