what s the answer 7

please use the graph and matlab code to answer the question clearly as required.

please solve every question in the hw.