Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A. Write a C++ program which does the following: a) Declares PI as a constant and sets its value to 3.14159, b) Declares all other

image text in transcribed
image text in transcribed
A. Write a C++ program which does the following: a) Declares PI as a constant and sets its value to 3.14159, b) Declares all other variables described above as local variables. c) Prompts for the input of (and inputs) resistance frequency, capacitance, inductance and EMF. d) Calculates and displays the current. B. Test your program with this test data: f-200 Hz R-15 Ohms C-0.0001 (100 cF) L-0.01476 (14.76mH) E 15 V Answer: I-0.816918A (calculated) C. Using your program, try different frequencies and try to find the resonant frequency (where the current is at a maximum. Hint: you can estimate the resonant frequency thus: r-1/(2.Pl sqrt(L.C)) At resonance, the inductor and capacitor will cancel each other out, so the max current should be 1E/R= 15/15-1.0 Amps

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Machine Performance Modeling Methodologies And Evaluation Strategies Lncs 257

Authors: Francesca Cesarini ,Silvio Salza

1st Edition

3540179429, 978-3540179429

More Books

Students also viewed these Databases questions

Question

Compare a rotary transfer machine with an unmanned robotic cell.

Answered: 1 week ago

Question

Define procedural justice. How does that relate to unions?

Answered: 1 week ago

Question

3. Evaluate a Web-based training site.

Answered: 1 week ago