Thesis for physics Simulations