You want to create an interactive plot where a slider controls the frequency of a sine wave animation. Which steps should you combine to achieve this?
ASet the frequency as a fixed variable and redraw the plot without widgets.
BUse a Button widget to start the animation, and update frequency inside the button callback.
CCreate a Slider widget, define an update function that changes the sine wave frequency, connect slider to update, and redraw plot.
DUse RadioButtons to select frequency values and update the plot on selection.