Create a program that allows a user to view the impedance

Assignment Help Other Engineering
Reference no: EM132299245

Programming For Engineers and Scientists Assignment -

This assignment is broken up into 3 parts.

IMPEDANCE, VOLTAGE AND CURRENT CALCULATOR FOR SIMPLE AC CIRCUIT

BACKGROUND -

An Alternating Current (AC) circuit is one in which the output of the voltage source changes with time. When we add components to the circuit, the voltage and current will be different at different points in the circuit. The components we will be looking at are resistors, capacitors and inductors.

Impedance is the measure of the resistance and reactance of a component or circuit. Resistance is a measure of friction against the motion of electrons, whereas reactance is the inertia against the motion of electrons. Impedance introduces a phase shift between the voltage and current through a component, and hence is expressed as a complex number. Do not worry too much if this doesn't make sense, you can just think of this as complex resistance.

PROBLEM - PART 1

You are to create a program that allows a user to view the impedance for each component and the total in a series circuit. The program will ask the user for the frequency, the number of components, and the values of each component.

PROBLEM - PART 2

You are to create a program that allows a user to view the impedance for each component and the total in either the parallel circuit (a) or series circuit (b). The program will ask the user for the circuit type, the frequency, the number of components, and the values of each component.

PROBLEM - PART 3

You are to create a program that allows a user to view the voltage, current and impedance for each component and the total in either the parallel circuit (a) or series circuit (b). The program will ask the user for the circuit type, the source voltage, the frequency, the number of components, and the values of each component.

Note - The generic example circuits are shown in attached file.

CONSTRAINTS -

  • Pi needs to be to 11 decimal places in your program.
  • You are only allowed to include the stdio.h and stdlib.h header files. No others. Do not use conio.h.
  • You cannot use goto statements.
  • Formatting needs to be exactly as specified. (Your program will be tested against automated test cases).
  • Text to user needs to be easily understandable. You can change the text but the same inputs must be used. No extra newlines.
  • The program must print YOUR student number, name and the assignment number as specified.
  • The program must print the password as specified.
  • The code must be done using ANSI C and compile on latcs5.cs.latrobe.edu.au using gcc.
  • Code must not crash or have the potential to crash due to stack overflow or segmentation fault.
  • Types should be used appropriately.
  • Variables should be limited to an appropriate scope.
  • You must use comments to explain significant lines of code. Read documentation guide.
  • You must use comments to explain how to use the functions and solution.

Attachment:- Assignment File.rar

Reference no: EM132299245

Questions Cloud

What is meant by consideration : What is meant by consideration? What does it usually consist of in the workplace? What do we mean by illusory consideration?
Digital worldwide should release to consumers : Which product do you believe Digital Worldwide should release to consumers? Why did you make this choice?
Each stage of the destruction during the invasion : Think about how the IBM Security Immune System could prevent and help at each stage of the destruction during the invasion.
Describe the importance of workforce planning : Describe the importance of workforce planning in a rapidly changing healthcare system?
Create a program that allows a user to view the impedance : CSE1PES: Programming For Engineers and Scientists Assignment, La Trobe University, Australia. Create a program that allows a user to view the impedance
Define a program called univar : EPIDEMIOLOGY 340.600: STATA PROGRAMMING AND DATA MANAGEMENT Assignment. Define a program called univar
Compare and contrast monopolistic competition market : Compare and contrast monopolistic competition market structureCompare and contrast monopolistic competition market structure with perfect competition
Dichotomy between the government and the market : Is there a dichotomy between the government and the market? Explain
Prepare for and respond to financial crises abroad : Provide recommendations for how managers of firms in the United States can prepare for and respond to financial crises abroad.

Reviews

len2299245

5/4/2019 5:43:59 AM

NOTE - This assignment is broken up into 3 parts. Each subsequent part uses the previous part adding new functionality, however each must be submitted. This ensures that if an earlier part works, you will get the marks based on the working code. Please be careful not to overwrite your previous parts, if you do you need to go back and remove the subsequent section. Each should have a unique comment description at the top of the code explaining what it does relating to the domain. Only code that compiles will be marked, comment out or remove sections that do not compile if you want to still be marked on the other sections.

len2299245

5/4/2019 5:43:54 AM

SUBMISSION - Solve the problem by implementing a program using C code. SUBMISSION - Three files .c file in the normal assignment submission portal. (Do not submit the executable.) ac_calculator_part1.c , ac_calculator_part2.c and ac_calculator_part3.c. There is NO late submissions for this assignment. Requests for extensions, need to be sent by email: Doctors certificates need to cover a period greater than 3 days, and not submitted less than 3 days before the assignment is due. Special consideration will be rejected due to the assignment being worth less than 15%.

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

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