plot a waveform baed on ampluted and frequency.
the equation is given Acos(w*t) Ac voltage .
-asking user for A and w .
sampling based on time t .
the user can obtain the exact value of voltage based on a specific time.
including optimization for a slider.
or any other ideas that deals with waveforms or plotting any input data with cool optimization.