Prepare a report on the finished project along with program


AIMS

Each student will have to undertake a mini project that carries a mark of 40%. Each student will be assigned a unique engineering related topic. The purpose of performing a mini project is to ensure that the third Course Outcome (CO3) namely, "Present solutions to selected engineering problems" is achieved, as well as to realise the fifth Program Outcome (PO5), "Ability to create, select and apply appropriate techniques, resources and, modern engineering and IT tools, including prediction and modelling, involving complex electrical engineering activities".

The objectives of the mini project are to give students the experiences on how to design and develop a fully functional C++ program in solving a problem. Students are required to perform the following task:

1. A complete algorithm or method to be used in the project.

2. Develop clear and correct flowchart of the project.

3. Develop the complete C++ program based on the flowchart.

4. Demonstrate the program.

5. Prepare a report on the finished project along with program code and the program flow chart.A) Based on the information above (Equation, range and step of x), develop a C++ program to do the following:

1. Generate the value of f(x) for all value of x

2. Perform magnitude scaling on f(x). Refer to list of analysis

3. Save data in file

4. Display data as in Table 1 format (user select range of x to be displayed)

5. Display scalled f(x) and x (user select range of x to be displayed).

6. Analysis Data

Analysis 3

Analysis 4

Analysis 11

B) The following items must be used in your programs:

1. if else statement / switch case statement

2. loop

3. Array

4. functions (parameters passed by value and references)

5. structure / class

6. files

C) Others

1. Display appropriate menu but not necessarily as in the above format

2. For each trigonometric function, the argument needs to be converted to radian first

x

sin(3x)

cot(2x)

f(x)

 

 

 

 

Equation:

-0.16sin(4x) - 0.25cos(4x) - 1.03cos(7x)

Range of x: 7 <= x <17
Step of x: 0.050

A) Based on the information above (Equation, range and step of x), develop a C++ program to do the following:
1. Generate the value of f(x) for all value of x
2. Perform magnitude scaling on f(x). Refer to list of analysis
3. Save data in file
4. Display data as in Table 1 format (user select range of x to be displayed)
5. Display scalled f(x) and x (user select range of x to be displayed).
6. Analysis Data
Analysis 3
Analysis 4
Analysis 11

B) The following items must be used in your programs:
1. if else statement / switch case statement
2. loop
3. Array
4. functions (parameters passed by value and references)
5. structure / class
6. files

C) Others
1. Display appropriate menu but not necessarily as in the above format
2. For each trigonometric function, the argument needs to be converted to radian first

x

sin(3x)

cot(2x)

f(x)

 

 

 

 

Attachment:- list_of_analysis.pdf

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Prepare a report on the finished project along with program
Reference No:- TGS01705847

Expected delivery within 24 Hours