Calculation of Frequency using Lissajious Pattern