How to find PID values

How do you find the P,I,and D variables for PID?

Trial and Error
I am using the method described in this presentation (not mine):