m=3

n=7

f1[x_] = Cos[2 Pi m x]

f2[x_] = Cos[2 Pi n x]

Plot[f1[x] f2[x],{x,0,1}]

Integrate[f1[x] f2[x],{x,0,1}]