Hello readers, Iss post mai Ohm's Law ko calculate karne ke liye C program bnaya hai. Sath hi Ohms Low ko bhut hi simple way mai Hindi language ke madhyam se samjhaya gya hai. Ye program beginners ke liye very useful hai.
Please read it with attention
Ohm's Law -
Ohms Law ke according Voltage and Current ka ratio hmesa constant rhta hai. Us constant value ko Resistance kahte hai.
(The ratio of Voltage and Current always be constant )
Or, we can say
Voltage and Current ka ratio, Resistance ke directly proportional (अनुक्रमानुपाती ) hota hai.
That is
V/I = R
और
V = I*R
here
V = Voltage (विभव )
I = Current (धारा)
R = Resistance (प्रतिरोध )
// C Program for Voltage Calculating Using Ohm's Law :
#include<stdio.h>
int main()
{
float I,R,V;
printf("Enter the value of Current:\n");
scanf("%f",&I);
printf("Enter the value of Resistance:\n");
scanf("%f",&R);
V=I*R;
printf("Value of Voltage = %f ",V);
return 0;
}
Also read
What is Electronics and Application of Electronics
// C Program for Current Calculating Using Ohm's Law :
#include<stdio.h>
int main()
{
float I,R,V;
printf("Enter the value of Voltage:\n");
scanf("%f",&V);
printf("Enter the value of Resistance:\n");
scanf("%f",&R);
I=V/R;
printf("Value of Current = %f ",I);
return 0;
}
Make a Arduino Program for PIR sensor
// C Program for Resistance Calculating Using Ohm's Law :
#include<stdio.h>
int main()
{
float I,R,V;
printf("Enter the value of Current:\n");
scanf("%f",&I);
printf("Enter the value of Voltage:\n");
scanf("%f",&V);
R=V/I;
printf("Value of Resistance = %f ",R);
return 0;
}
Program mai Ohm's Low ke according 3 variable I, R, V ko liya hai. Formula ka use karke program ko execute kiya hai.
Make a C program for Calculator
// Common C Program for Calculating R,V,I Using Ohm's Law :
#include<stdio.h>
int main()
{
float I, V, R;
float Value_of_Current;
float Value_of_Voltage;
float Value_of_Resistance;
int option;
printf("Enter 1 for Current 2 for Voltage: 3 for Resistance\n");
scanf("%d", &option);
if (option==1)
{
printf("Enter the value of Voltage\n");
scanf("%f", &V);
printf("Enter the value of Resitance\n");
scanf("%f",&R);
Value_of_Current=(V/R);
printf("Value_of_Current\n%f", Value_of_Current);
}
else if (option==2)
{
printf("Enter the value of Current\n");
scanf("%f",&I);
printf("Enter the value of Resistance\n");
scanf("%f",&R);
Value_of_Voltage=(I*R);
printf("Value of Voltage\n%f",Value_of_Voltage);
}
else if (option==3)
{
printf("Enter the value of Voltage\n");
scanf("%f",&V);
printf("Enter the value of Current\n");
scanf("%f",&I);
Value_of_Resistance=V/I;
printf("Value of Resistance\n%f",Value_of_Resistance);
}
return 0;
}
also read
All electronics components
Mobile Radiation
Robot क्या है ?
Electronics Companies in India
Logic Gate |लॉजिक गेट
Please read it with attention
(1) C Program of Ohm's Law |
Ohm's Law -
Ohms Law ke according Voltage and Current ka ratio hmesa constant rhta hai. Us constant value ko Resistance kahte hai.
(The ratio of Voltage and Current always be constant )
Or, we can say
Voltage and Current ka ratio, Resistance ke directly proportional (अनुक्रमानुपाती ) hota hai.
That is
V/I = R
और
V = I*R
here
V = Voltage (विभव )
I = Current (धारा)
R = Resistance (प्रतिरोध )
// C Program for Voltage Calculating Using Ohm's Law :
#include<stdio.h>
int main()
{
float I,R,V;
printf("Enter the value of Current:\n");
scanf("%f",&I);
printf("Enter the value of Resistance:\n");
scanf("%f",&R);
V=I*R;
printf("Value of Voltage = %f ",V);
return 0;
}
Also read
What is Electronics and Application of Electronics
#include<stdio.h>
int main()
{
float I,R,V;
printf("Enter the value of Voltage:\n");
scanf("%f",&V);
printf("Enter the value of Resistance:\n");
scanf("%f",&R);
I=V/R;
printf("Value of Current = %f ",I);
return 0;
}
Make a Arduino Program for PIR sensor
// C Program for Resistance Calculating Using Ohm's Law :
#include<stdio.h>
int main()
{
float I,R,V;
printf("Enter the value of Current:\n");
scanf("%f",&I);
printf("Enter the value of Voltage:\n");
scanf("%f",&V);
R=V/I;
printf("Value of Resistance = %f ",R);
return 0;
}
Program mai Ohm's Low ke according 3 variable I, R, V ko liya hai. Formula ka use karke program ko execute kiya hai.
Make a C program for Calculator
// Common C Program for Calculating R,V,I Using Ohm's Law :
#include<stdio.h>
int main()
{
float I, V, R;
float Value_of_Current;
float Value_of_Voltage;
float Value_of_Resistance;
int option;
printf("Enter 1 for Current 2 for Voltage: 3 for Resistance\n");
scanf("%d", &option);
if (option==1)
{
printf("Enter the value of Voltage\n");
scanf("%f", &V);
printf("Enter the value of Resitance\n");
scanf("%f",&R);
Value_of_Current=(V/R);
printf("Value_of_Current\n%f", Value_of_Current);
}
else if (option==2)
{
printf("Enter the value of Current\n");
scanf("%f",&I);
printf("Enter the value of Resistance\n");
scanf("%f",&R);
Value_of_Voltage=(I*R);
printf("Value of Voltage\n%f",Value_of_Voltage);
}
else if (option==3)
{
printf("Enter the value of Voltage\n");
scanf("%f",&V);
printf("Enter the value of Current\n");
scanf("%f",&I);
Value_of_Resistance=V/I;
printf("Value of Resistance\n%f",Value_of_Resistance);
}
return 0;
}
also read
All electronics components
Mobile Radiation
Robot क्या है ?
Electronics Companies in India
Logic Gate |लॉजिक गेट
Dear readers if you have any question and suggestions related to my any post or My site (Electronics & Technology) so you can leave message in comment box. I will try to give answer of your questions in short time.
Please share my post link
Please share my post link
Thank you very much
Wow,, Its very useful
ReplyDeleteThe wholesale market in Philippines caters to people from around the world. Asian countries are heavily relying on direct supplier of clothes Philippines for their day to day needs.
ReplyDeletewe know all the technique. write something new
ReplyDeletePorn Sex & Anel Sex Collection
thank u for sharing this post
ReplyDeleteSwitching Solutions companies
HP Switches
thank u for sharing this post
ReplyDeleteSwitching Solutions companies
HP Switches
thank u for sharing this post Switching Solutions services
ReplyDeleteSwitching Solutions companies
Really, It is very useful. Everyone can read it Hindi or English
ReplyDelete👍👍👍👍👍👍👍✔✔✔✔
ReplyDeleteProfit primarily prime quality items -- you can understand them all within: 64 inches in feet
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteHello my friend! I want to say that this article is amazing, nice written and include almost all important information. I would like to look more posts like this.
ReplyDeleteClick here for more get information.
I see that you are using WordPress on your blog, wordpress is the best.*:~-” لائحة اعتراضية في قضية حيازة مخدرات
ReplyDelete