Figure 7: Membership functions of the first input (error) and second input (changes in error) for kp and the output (the gain kp)