I am relatively new to oop and had a quick question about the best way to approach coding a certain type of calculation. I\'m curious if there\'s an established design pattern t