Question

Which are the smallest integer values of n and m in the following command \text { plot }\left(x->\sin \left(n^{*} x\right), x \rightarrow \cos \left(m^{*} x\right), 0,2 p i, l w=5, y l i m s=(-1.2,1.2),\right. \text { legend=: false, aspectratio=1) } that produce the following plot?

Fig: 1

Fig: 2

Fig: 3