Ohm's law states that the current through a conductor between two points is directly proportional to the potential difference or voltage across the two points, and inversely proportional to the resistance between them provided the temperature remains constant.
The mathematical equation that describes this relationship is:
The law was named after the German physicist Georg Ohm, who, in a treatise published in 1827, described measurements of applied voltage and current through simple electrical circuits containing various lengths of wire. He presented a slightly more complex equation than the one above (see History section below) to explain his experimental results. The above equation is the modern form of Ohm's law.
Ohm's Law defines the relationships between (P) power, (E) voltage, (I) current, and (R) resistance. One ohm is the resistance value through which one volt will maintain a current of one ampere.
( I ) Current is what flows on a wire or conductor like water flowing down a river. Current flows from negative to positive on the surface of a conductor. Current is measured in (A) amperes or amps.
( E ) Voltage is the difference in electrical potential between two points in a circuit. It's the push or pressure behind current flow through a circuit, and is measured in (V) volts.
( R ) Resistance determines how much current will flow through a component. Resistors are used to control voltage and current levels. A very high resistance allows a small amount of current to flow. A very low resistance allows a large amount of current to flow. Resistance is measured in ohms.
( P ) Power is the amount of current times the voltage level at a given point measured in wattage or watts.
( I ) Current is what flows on a wire or conductor like water flowing down a river. Current flows from negative to positive on the surface of a conductor. Current is measured in (A) amperes or amps.
( E ) Voltage is the difference in electrical potential between two points in a circuit. It's the push or pressure behind current flow through a circuit, and is measured in (V) volts.
( R ) Resistance determines how much current will flow through a component. Resistors are used to control voltage and current levels. A very high resistance allows a small amount of current to flow. A very low resistance allows a large amount of current to flow. Resistance is measured in ohms.
( P ) Power is the amount of current times the voltage level at a given point measured in wattage or watts.
PROGRAM CODE:
#include<stdio.h>
#include<conio.h>
void main()
{
int v,i,r,j;
FILE *fp;
clrscr();
printf("\n \t Enter the maximum value of Current:");
scanf("%d", &i);
printf("\n \t Enter the value of resistence:");
scanf("%d",&r);
fp=fopen("Ohm.xls","wt");
fprintf(fp,"\n \t Current: \tResistence: \t Voltage: \n \n");
for(j=0;j<=i;j++)
{
v=j*r;
fprintf(fp,"\n \t %d \t\t %d \t\t %d ",j,r,v);
}
getch();
}
OUTPUT:
CONCLUSION:
In this way the Ohm's law was verified using Borland C.
No comments:
Post a Comment