Program for physics