Aim
            To simulate a positive clipper
            
            Components required
            Diode – 1N4001 (1), Resistor – RC05 (1), AC Voltage Source – VGEN 
                (1), Ground – SPL0 (1)
            
             Circuit Diagram
            
            Procedure
            Draw the circuit diagram after loading components from library. Assign net 
            names for connections wherever necessary. Preprocess the circuit by invoking 
            Simulation --> Preprocess. Place waveform markers on input and output nodes. 
            For placing waveform markers, select Tools --> Instruments --> set wave form 
            Contents --> Voltage waveform --> Click on the required net and place the 
            waveform marker. Run transient analysis after setting up required parameters.
            
            To proceed with the simulation, the steps are as follows
            Select Tools --> Components --> Component properties--> 
            Change simulation parameters--> Click on the required component and change its 
            values. 
            The values to be provided to the components are
            Diode              
            : 1N4001 (Click on the Set up Model of the Model Type. Click on 
            Accept to get the default values assigned)
            Resistor           : R1 
            = 1k (1)
            VGEN             
            : Select the source function as SIN and set its Properties as follows 
            VA (Amplitude)         : 10V
            FREQ (Frequency)     : 50Hz
            
            For setting up simulation time and analysis types, select Simulation 
            menu, choose Analysis. In the window pops up, select Transient 
            analysis from tree view. 
            Enter following values:
            Step                 
            : 10ยต
            Final time        : 50m
            Results            
            : Select Waveform from drop down menu.
            
            Click on Accept. Expand the Transient Analysis and select 
            Waveform viewer, Select As Marked. Click on Accept. Select 
            Transient Analysis. Run Analysis by clicking on Run button.
            
            Result