What is the optimal angle to throw a javelin and shot-put and are the angles different?

Project title: What is the optimal angle to throw a javelin and shot-put and are the angles different?
Overview:

Using a pneumatic air cannon to determine the optimal throwing angles of a javelin and shot-putt and to find out if the angles are different.