Posts

Showing posts from July, 2021

Voltage follower using Op-amp IC TL082

Image
  What is a Voltage Follower? A voltage follower (also known as a buffer amplifier, unity-gain amplifier, or isolation amplifier) is an op-amp circuit whose output voltage is equal to the input voltage (it “follows” the input voltage). Hence a voltage follower op-amp does not amplify the input signal and has a voltage gain of 1. The voltage follower provides no attenuation or amplification—only buffering. A voltage follower circuit has a very high input impedance. This characteristic makes it a popular choice in many different types of circuits that require isolation between the input and output signal. Below figures shows implementation of Voltage follower in Proteus design suite. You can see how the output voltage is approximately equal to the given input voltages.

Python: Anagram check program

  def anagram (s1, s2):     #s1 and s2 are two strings which are to be checked for anagram     s1 = s1.replace( ' ' , '' ).lower() # s1 is reaasigned with removing spaces and then made all lowercase       s2 = s2.replace( ' ' , '' ).lower() # s2 is reaasigned with removing spaces and then made all lowercase     return sorted (s1) == sorted (s2)  # sorted both s1 and s2 and checked, if equal then returns True else False print (anagram( 'this is right', 'is this right' )) #printed True for anagram and False for not anagram Output: >> True