C Program to Draw Op-amp Symbol Using Graphics Function.
⦁ Op-amps are linear devices that have all the properties required for nearly ideal DC amplification and are used extensively in signal conditioning, mathematical operations such as add, subtract, integration and differentiation.
⦁ Op-amp is basically a 3 terminal device which consists of two high impedance inputs, one called inverting input and the other one called the Non-inverting input.
⦁ The third terminal represents the operational amplifiers output port which can both sink and source either a voltage or a current.
--------------------------------------------------------------------------------------------------------------------------
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main( )
{
int gd = DETECT, gm;
initgraph(&gd,&gm, "c:\\tc\\bgi"):
line(50,125,100,125);
line(50,175,100,175);
line(100,100,100,200);
line(100,100,150,150);
line(150,150,100,200);
line(125,100,125,125);
line(125,175,125,200);
line(150,150,200,150);
getch( );
closegraph( );
}
--------------------------------------------------------------------------------------------------------------------------
EmoticonEmoticon