Finding the frequencies - c# program, DOT NET Programming

Assignment Help:

Finding the frequencies - C# Program:

Please let me know how to find Frequencies in C#.


Related Discussions:- Finding the frequencies - c# program

Read an array and perform sorting - c# program, Read an Array and perform S...

Read an Array and perform Sorting - C# program Can any one assist me in performing sorting of an array.

Ways to implement locking in ado.net, What are the ways to implement lockin...

What are the ways to implement locking in ADO.NET? There are many ways to implement locking using ADO.NET which are shown below:- 1)Whenever we call "Update" method of DataA

Need data stream from laptop to phone, Need Data Stream from Laptop to Phon...

Need Data Stream from Laptop to Phone Project Description: I have a notepad file that is automatically generated in a set file name and format by acquisition software and wri

Automate installation setup, Automate installation setup Project Descrip...

Automate installation setup Project Description: The steps are: Clicking four times accept and the setup goes to tray, I do not want to block the mouse or the keyboard. Sk

Name the two properties of the gridview control, Name the two properties of...

Name the two properties of the GridView control that have to be specified to turn on sorting and paging. The properties of the GridView control that require to be specified to

Forms authentication, Explain Forms authentication in detail. In the ol...

Explain Forms authentication in detail. In the old ASP if you were said to create a login page and do authentication you have to do lot of custom coding. But now in ASP.NET tha

Want a asp.net developer with sql server and c#, Want a asp.net developer w...

Want a asp.net developer with SQL server and c# Project Description: I have a project that needs some changes to it. The project is 95% complete. It is designed on asp.net, p

Object in dot net, What is an Object in Dot Net? This is the basic unit...

What is an Object in Dot Net? This is the basic unit of a system. An object is an entity that has identity, attributes, and behavior. The Objects are members of a class. The cl

I want to develop a windows 8.1 application, I want to develop a Windows 8....

I want to develop a Windows 8.1 Application Project Description: Media Player App Development for Windows 8.1 platform with brilliant UI, flexible controls and easy to use.

Various types of transactions in com + .net, Types of Transactions in COM +...

Types of Transactions in COM + .NET There are 5 types of transactions that can be used with COM+.   An object is whenever registered with the COM+ it has to abide either to any

diana

2/11/2013 7:35:11 AM

In this code we will try to understand how to find Frequencies in C#. Hope it will help you.

Program:

using System;

 class ElectricalCircuit

{

  public static void Main()

 {

   float L,R,C,Frequency;

    // L = Inductance

   // R = Resistance

   // C = Capacitance

  //double Frequency;

 Console.WriteLine("  ****** Calculating frequencies for different values of Capacitance  ******");

Console.WriteLine(""); // Blank Line

Console.Write("Enter the Inductance (L) : ");

  L = float.Parse(Console.ReadLine());  

  Console.Write("Enter the Resistance (R) : ");

  R = float.Parse(Console.ReadLine());    

  Console.WriteLine(""); // Blank Line    

   for (C = 0.01F; C <= 0.1; C = C + 0.01F)

  {     

   Frequency = (float)(Math.Sqrt((1/L*C)-((R*R)/(4*C*C))));

   Console.WriteLine("For Capacitance " + C + ", The Frequency = " + Frequency);

  }  

  Console.ReadLine();

 }

}

isbell

2/11/2013 7:37:15 AM

Very useful Code. This coding helps me to get good grades in my examination. Thank You.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd