Search:

Submit Article

# For a certain electrical circuit with an distance L and resistance R, the damped natural frequency is given by Frequency = sqrt((1/L*C)

Posted By: Rald Fischer     Category: C Programming     Views: 4205

## Code for For a certain electrical circuit with an distance L and resistance R, the damped natural frequency is given by Frequency = sqrt((1/L*C) in C Programming

```#include <stdio.h>
#include <conio.h>
#include <math.h>

void main()
{
float L,R,C,frequency;
clrscr();

printf("\nEnter industance L:");
scanf("%f",&L);

printf("\nEnter resistance R:");
scanf("%f",&R);

printf("\nEnter capacitance C:");
scanf("%f",&C);

for(C=0.01;C<=0.1;C+=0.01)
{
frequency=sqrt((1/(L*C))-((R*R)/(4*C*C)));
printf("\nFrequency is:%f",frequency);
printf("\n");
}
getch();
}```
Share:

 Rald Fischer author of For a certain electrical circuit with an distance L and resistance R, the damped natural frequency is given by Frequency = sqrt((1/L*C) is from Frankfurt, Germany. View All Articles

 Please enter your CommentComment should be atleast 30 Characters.Please put code inside [Code] your code [/Code]. No Comment Found, Be the First to post comment!