You are on page 1of 34

Laboratory Manual for Practical Courses

M.Sc. Physics

Directorate of Distance and Continuing Education


Manonmaniam Sundaranar University
Tirunelveli – 627012
November 2021
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Practical I: Electronics (DKPP1)

Contents Page no.

1 Op-amp as Integrator and Differentiator 3

2 Op-amp as Adder and Subtractor 6

3 Half Adder and Full Adder 11

4 Hallf Subtractor and Full Subtractor 14

5 Verification of Demorgan’s Law 17

2
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

1. OP-AMP AS INTEGRATOR AND DIFFERENTIATOR


AIM

To construct an integrator and differentiator using operational amplifier and trace its
waveform.

APPARATUS REQUIRED

IC741, 10KΩ resistor, 0.01 μ F capacitor, signal generator, trainer kit, connecting wires.

THEORY

Operational amplifier:

Operational amplifiers were used for mathematical operations such as addition, subtraction,
integration and differentiation. An OP-Amp is used to amplify both alternating and direct current
signals at the input. It is fundamentally a voltage amplifying device designed to be used with
external feedback components, resistors and capacitors between its output and input terminals.

An Op-amp is basically a three terminals device which consists of two high impedance
inputs, one is called the inverting input, marked with negative sign and the other one is called non
inverting input marked with positive sign.

Offset Null:

Due to high gain provided by IC741 even slight difference in voltages at the inverting and
non-inverting inputs, caused due to reregulating in manufacturing process or external disturbance
can influence the output. To nullify this effect voltage can be applied at pin 1 and pin 5 using a
10K potentiometer.

Op- Amp integrator:

In an integrator circuit, the output voltage is integral of the signal. The output of an
integrator is given by

At low frequencies the gain becomes infinite, so the capacitor is fully charges and behaves
like an open circuit. The gain of integrator at low frequency can be limited by connecting a resistor
in shunt with capacitor.

3
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Operational amplifier - Differentiator:

The circuit which produce the differentiation of the input voltage at its output is called
differentiator. The following circuit diagram, shows the differentiation using op amp. Output
voltage is nothing but time differentiation of the input signal and hence acting as differentiator here
Rc is the time constant of the differentiator.

PROCEDURE

Integrator:

Connect the circuit as shown in circuit diagram. Apply sine wave, square wave and
triangular wave, as the input in the function generator and measure the voltage and time in CRO.
Then study the output waves displayed on CRO, measure its voltage and time in CRO. Trace the
respective input and output waveforms.

Figure 1: Integrator input and output wave forms

4
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Differentiator
Connect the circuit as shown in the circuit diagram. Then apply sine wave as input in CRO using function
generator. A Cosine wave will be displayed in CRO. Then measure the voltage and time of input and output wave.
Then trace the input and output waveform. Repeat the same procedure for various input wave.

RESULT

The integrator and differentiator circuit is constructed using operational amplifier IC741 and the Input and
output waveforms are traced.

5
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

2. OP-AMP ADDER AND SUBTRACTOR


AIM

To construct an adder and subtractor using IC741

APPARATUS REQUIRED

IC741, 10KΩ resistor, 0.01 μ F capacitor, signal generator, trainer kit, connecting wires.

FORMULA

Adder

(i) Inverting terminal

Output Vo = - ( V1 + V2)

(ii) Non Inverting terminal

Output Vo = ( V1 + V2)

Subtractor

Output Vo = ( V2 – V1)

V1 , V2 - Two input voltages (volt)

Vo - Output voltages (volt)

Theory

An adder is an electronic circuit that produces an output, which is equal to the sum of the
applied inputs. It is also called as a summing amplifier, since the output is an amplified.The non-
inverting input terminal of the op-amp is connected to ground. That means zero volts is applied at
its non-inverting input terminal

A subtractor is an electronic circuit that produces an output, which is equal to the difference
of the applied inputs. It is also called as a difference amplifier. An op-amp based subtractor
produces an output equal to the difference of the input voltages applied at its inverting and non
inverting terminals.

6
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Pin Configuration

off set null


1 8 No connection

Inverting terminal 2 7 + VCC

Non Inverting ICI-741


3 output
terminal 6

- VCC 4 5 off set null

Fig. 1. Pin Configuration

10 k 

+ VCC

10 k 
-
2
7
6
5 o/p
4

3 - VCC
+

10 k 

Fig. 2. Offset null

7
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Procedure

Adder Inverting and Non Inverting Terminal

The adder circuit is constructed as shown in Fig. 3 and Fig. 4. The circuit diagrams shows
a two input inverting summing amplifier. It has two input voltages V1andV2, two input resistors R1,
R2 and a feedback resistor Rf. Set the voltages V1, V2 in the input terminal. Measure the output
voltages at the output terminal ( 6th pin). Repeat the same procedure and tabulate the values. Find
the percentage error.

10 k 

10 k 
+ VCC
V1
-
2
7
V2 6
VO
4

10 k  3
+

- VCC

Fig. 3. Adder - Inverting

+ VCC
10 k 
-
2
7
10 k  6
VO
V1 4

3
V2 +

10 k 
- VCC

Fig. 4. Adder – Non Inverting

8
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Table. 1 Adder - Inverting terminal

Calculated value Experimental Value


S. No V1 V2 Vo = - ( V1 + V2) Vo = - ( V1 + V2) % Error
(volts) (volts) (volts) (volts)

Table. 2 Adder – Non Inverting terminal

Calculated value Experimental Value


V1 V2
S. No Vo = ( V1 + V2) Vo = ( V1 + V2) % Error
(volts) (volts)
(volts) (volts)

Subtractor
The subtractor circuit is constructed as shown in Fig. 5. the output voltage V0 is equal to the
voltage V1 applied to the non inverting terminal difference voltage V2 applied to inverting terminal.
Set the voltages V1, V2 in the input terminal. Measure the output voltages at the output terminal (
6th pin). Repeat the same procedure and tabulate the values and find the percentage error.
10 k 

+ VCC

10 k 
V1 - 2
7
6
VO
10 k  4

V2 3
+

10 k  - VCC

Fig.5 Subtractor

9
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Table. 3 Subtractor

Calculated value Experimental Value


S. No V1 V2 Vo = ( V2 + V1) Vo = ( V2 + V1) % Error
(volts) (volts) (volts) (volts)

Result

The adder and subtractor circuit is constructed using IC 741. The calculated and
experimental values are verified.

10
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

3. HALF ADDER AND FULL ADDER


AIM
To construct half adder and full adder circuits and verify their truth tables.

APPARATUS REQUIRED

IC 7408, IC 7432, IC 7486 and digital trainer kit

Fig. 1. Pin Configuration

11
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Procedure :
An half adder is a logic circuit that adds two bits and produces two outputs sum (s)and carry (c). The half-
adder does not take the carry bit from its previous stage into account. This carry bit from its previous stage is called
carry-in bit. A combinational logic circuit that adds two data bits, A and B, and a carry-in bit, Cin, is called a full-
adder. A full adder is useful to add three bits at a time but a half adder cannot.

Fig. 2. HALF ADDER

Table1. Half Adder - Truth Table

A B SUM CARRY

0 0 0 0

0 1 1 0

1 0 1 0

1 1 1 1

Table 2. Half adder - Voltage Table

A B SUM CARRY
(v) (v) (v) (v)

12
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Fig. 3. Full Adder

Table3. Half Adder - Truth Table


A B C SUM CARRY

0 0 0 0 0

0 0 1 1 0

0 1 0 1 0

0 1 1 0 1

1 0 0 1 0

1 0 1 0 1

1 1 0 0 1

1 1 1 1 1

Table 4. Half Adder - Voltage Table

A B C SUM CARRY
(v) (v) (v) (v) (v)

Ressults

The half adder and full adder circuits are constructed using IC and their truth tables are verified.

13
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

4. HALF SUBTRACTOR AND FULL SUBTRACTOR

Aim :
To construct half subtractor and full subtractor circuits using logic
gates.

Apparatus required
IC 7408, IC 7432, IC 7486, IC7404 and digital trainer kit

FIG. 1 Half Subtractor

Table. 1 Half Subtractor - Truth Table

A B Difference Borrow

0 0 0 0

0 1 1 0

1 0 1 0

1 1 0 1

14
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Table. 2 Half Subtractor – Voltage Table

A B Difference Borrow

(v) (v) (v) (v)

Fig. 1 Full Subtractor

Table. 3 Full Subtractor - Truth Table

A B C Difference Borrow

0 0 0 0 0

0 0 1 1 0

0 1 0 1 0

0 1 1 0 1

1 0 0 1 0

1 0 1 0 1

1 1 0 0 1

1 1 1 1 1

15
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Table. 4 Full Subtractor - Voltage Table

A B C Difference Borrow

(v) (v) (v) (v) (v)

Results

The half and full subtractor circuits are constructed using IC and their Truth tables and
voltage tables verified.

16
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

5. Verification of Demorgans law using logic gates.

AIM :
To verify DeMorgans law using Logic gates

Apparatus Required

IC - 7400, 7402, 7404, 7408,7432

Demaorgans Law

De-Morgan's law has two conditions, or two laws called De-Morgan's Laws. We
can often use these laws to reduce expressions

First Law

The compliment of the product of two variables is equal to the sum of the
compliment of each variable

Fig.1. Demorgans First law

Table. 1. Verification of First law

A B ______
A B A.B
0 0

0 1

1 0

1 1

17
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Second Law

The compliment of the sum of two variables is equal to the product of the
compliment of each variable.

Fig.2. Demorgans First law

Table. 1. Verification of First law

A B ______
A.B AB
0 0

0 1

1 0

1 1

Results

Demorgan’s Laws are verified using Logic gates.

18
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Practical II: C++ Programming (DKPP2)

Contents Page no.

1 Solution of Simultaneous Equation-Gauss Elimination Method 20

2 Curve Fitting Cauchy’s Constant – Least Square Method 23

3 Newton Raphson Method 26

4 Matrix Multiplication 29

5 Euler’s Method- Radio Active Decay Problem 32

19
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

1. SOLUTION OF SIMULTANEOUS EQUATION-GAUSS ELIMINATION METHOD

Aim:

To write a C++ program to solve the solution of simultaneous equation-gauss elimination


method.

Algorithm:

20
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Program:

21
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Output:

Result:

The C++ program is written for finding the solution of simultaneous equation by using Gauss –
Elimination method. The program is executed and the values are verified manually.

22
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

2. CURVE FITTING CAUCHY’S CONSTANT – LEAST SQUARE METHOD

Aim:

To write a C++ program to find the Cauchy’s constants A and B by least square method

Algorithm:

23
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Program:

24
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Output:

Result:

The C++ program is written for finding the Cauchy’s constant A and B by using least
square method. The program is executed and the values are verified manually.

25
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

3. NEWTON RAPHSON METHOD

Aim:

To write a C++ program to find the solution using Newton Raphson method and verification

Algorithm:

26
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Program:

27
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Output:

Result:

The C++ program is written to find the root of on equation by Newton Rapson method. The
program is executed and the values are verified manually.

28
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

4. MATRIX MULTIPLICATION

Aim:

To write a C++ program to multiply the two matrices and print the resultant matrix.

Algorithm:

29
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Program:

30
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Output:

Result:

The C++ program is written multiply the two matrices and print the resultant matrix. The
program is executed and the values are verified manually.

31
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

5. EULER’S METHOD- RADIO ACTIVE DECAY PROBLEM

Aim:
To write a C++ program to solve the radioactive decay problem using Euler’s method.

Algorithm:

32
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Program:

33
I-year M.Sc. Physics Practical Experiments (DD&CE) 2021

Output:

Result:

The C++ program is written to solve the radioactive decay problem using Euler’s method. The
program is executed and the values are verified manually.

34

You might also like