Hi gurus, currently I'm trying to do a simulation on a question regarding comparator. First of all the question requires me to use an input of 200mVpp, 500 Hz(Which can be achieved by using a Function Generator) and output it to a square wave 0 to 5V. So for my attempt to do this question, I have used a non- inverting amplifier and a comparator to solve this question. Okay, the thing that I don't understand is that why my output is 743mV to 4.27V instead of 0V to 5V? Here is my circuit constructed using Multisim. Many thanks 
Attachments
-
89.2 KB Views: 44