Google Answers Logo
View Question
 
Q: Complex number RC circuit calculation program ( No Answer,   0 Comments )
Question  
Subject: Complex number RC circuit calculation program
Category: Computers
Asked by: noggywoggy-ga
List Price: $10.00
Posted: 02 Feb 2003 15:13 PST
Expires: 04 Feb 2003 12:05 PST
Question ID: 156467
Hi,

Please could I have a simple program written in C++ to perform the
following:

Calculates the complex ratio, Vout/Vin, for given values of R1, R2,
C1, C2, and a range of frequencies, ù.

The program should take the values of R1, R2, C1, C2, and the details
of the frequency range from a text file.

Complex numbers should be represented by a structure.

Separate functions should be written for all necessary complex
arithmetic operations, e.g. a function that performs complex addition,
a function that performs complex multiplication, etc.

The results should be written to a text file.

The basic calculations are:

R1 / ( jwC1R1 + 1 )    -(1)

R2 / ( jwC2R2 + 1 )    -(2)

(R2 + jwR1R2C1) / { (R1 + R2) + jwR1R2 (C1 + C2) } (R2 + jwR1R2C1) / {
(R1 + R2) + jwR1R2 (C1 + C2) }    -(3)

in all above instances, 'j' is the imaginary number 'square root of
(-1)'.

Additional information which may be of some benefit to understanding
what I wish to do here is that the program is in relevence to the
following circuit:

http://answers.google.com/answers/main?cmd=threadview&id=156343

Thanks!

Clarification of Question by noggywoggy-ga on 03 Feb 2003 09:31 PST
Nothing to do with the question itself, it just seems as though this
question has been locked for almost 24 hours and was wondering whether
this was normal, as I've never seen a question locked for so long!
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy