I have two question.
1.How can we design a circuit(analog circuit) that will give the peak value of a sine wave.that is it will take a sine wave of unknown amplitude(but i know the frequency) and output the peak value of the sine wave as voltage(preferably) or current
2.I have a reference sine wave of known frequency(actually i have all the knowledge about it even including from where it came from).Now i have a unknown sine wave.This unknown sine wave has the frequency same as that of the reference sine wave.But it is either "in phase" or "out of phase" with that known reference sine wave.How to find out which one(i.e. whether it is "in phase" or "out of phase")
1.How can we design a circuit(analog circuit) that will give the peak value of a sine wave.that is it will take a sine wave of unknown amplitude(but i know the frequency) and output the peak value of the sine wave as voltage(preferably) or current
2.I have a reference sine wave of known frequency(actually i have all the knowledge about it even including from where it came from).Now i have a unknown sine wave.This unknown sine wave has the frequency same as that of the reference sine wave.But it is either "in phase" or "out of phase" with that known reference sine wave.How to find out which one(i.e. whether it is "in phase" or "out of phase")