(5/5)

# The application should prompt the user to enter a value from a simple text menu which selects the conversion type or provides an option to exit

INSTRUCTIONS TO CANDIDATES

In power electronics, it is often necessary to convert between Star and Delta resistive networks, achieved using the set of equations given in Eq.1.

RA

=

Rg=

Rc

=

R1R2+R2R2+R2R1 R3

R1R2+R2R3 + R3R1

RARB

RA+RB + RC

R1

=

R2

=

R1 =

R1

RARC RA+RB+RC RgRc RA+R+RC

R2 R1R2+R2R2+R2R1

Eq.1

Star -> Delta

Delta -> Star

2.1 Requirements (to be reflected in your flowchart & other material)

Documentation (primarily a flowchart & test data) are to be created to ensure the tasks listed below are performed. Note that in some cases you will need to specify the exact message to be displayed (e.g. for an invalid input) which should then be validated through test cases.

(a)

The application should prompt the user to enter a value from a simple text menu which selects the conversion type or provides an option to exit

There are to be limited to

(b)

1

for Star

2 for Delta

0 to exit the application

NOTE: The user can only select from these choices and must be repeatedly prompted until a valid choice is made.

Based on the choice from (a) the program should then prompt for input values for RA, RB & Rc or R1, R2 & R3 as appropriate (or immediately exit if 'O' is selected).

The programme should perform the required calculation and display the results on the screen with an accuracy of two decimal places.

This process is to repeat until the user elects to exit.

(c)

It is a specific requirement of the application that

a. A function is developed for user input of a float to which the arguments are (1) a prompt for the user and (2 & 3) the parameters for the allowed upper and lower limits. It MUST return a value that is with the limits AND reject non-numeric input.

b. The conversion between types (Star/Delta) is done using one function (Hint: when defining the function you will need to pass not only the values but also a flag indicating the conversion type)

(5/5)

## Related Questions

##### . Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

##### . The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

##### . Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th

##### . SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

##### . Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

Hire Me