Develop clear and correct flowchart of the project

Assignment Help C/C++ Programming
Reference no: EM131303156

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

Reference no: EM131303156

Questions Cloud

What problems did ecb encounter during the financial crisis : What problems did the ECB encounter during the financial crisis and its aftermath that might lead to attacks on its leadership?
How has technology impacted cost if at all : Given your readings, present two reasons for increased health care costs. How might such costs be controlled while still providing quality health care?As we review health care costs, how has technology impacted cost if at all?
Why do we tend to underestimate npv : A capital investment project that generates new opportunities is more valuable than one that doesn't. Why do we tend to underestimate NPV when we ignore the option to abandon
Ethical to collect or unethical to collect : What kind of information is it ethical to collect or unethical to collect? Why? Should managers and organizations inform subordinates they are collecting such information?
Develop clear and correct flowchart of the project : 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 - Develop the complete C++ program based on the flowchart.
Government was dictating policy actions to the bank of japan : Why might both the head of the Bank of Japan and the head of the Japanese government not want it to appear that the government was dictating policy actions to the Bank of Japan?
How much of two products should be produced by his firm : Consider a supplier of agricultural equipment who is deciding how much of two products should be produced by his firm. You determine what the two products are.
Ethical to collect or unethical to collect : What kind of information is it ethical to collect or unethical to collect? Why? Should managers and organizations inform subordinates they are collecting such information?
Future innovation example : Computers that offer smells - click on the perfume and the scent permeates from your computer. You no longer need to go to the store to see if you like it.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  List of command line arguments

Write a program that takes a list of command line arguments, each of which is a full path of a command (such as /bin/ls, /bin/ps, /bin/date, /usr/bin/who, /bin/unameetc). Assume the number of such commands is N, your program would then create N ch..

  Write a program that will first read in a positive integer

Write a program that will first read in a positive integer number, say n, from standard input. Then you need to create enough space in the heap via a call to malloc to hold an array of n integers.You then need to use array index operators to fill the..

  Write a program that stimulates a bouncing ball

Write a program that stimulates a bouncing ball by computing its height in feet at each second as time passes on a simulated clock. At time zero, the ball begins at height zero.

  Describe an example of a two-dimensional character array

Describe an example of a two-dimensional character array that could be used to hold a set of text data that might be displayed on a hand-held information display device such as an MP3 player

  For the employee class make

For the Employee class make sure that no person is underage or too old (less than 16 or greater than 80). Do nothing for the set function if the person's age is out of range.

  Write a menu-driven program that maintains an address book

Write a menu-driven program that maintains an address book using a linked list. The address book must supports the following operations

  Write a c++ program containing a linked list of 10 integer

Write a C++ program containing a linked list of 10 integer numbers. Have the program display the numbers in the list.

  Make a c program that squares the number

Make a C program that accepts an integer value at the main method from the keyboard and in turn passes the value to a function that squares the number

  Name of the employee with a given ssn

We are about to run a query on this Emp table to find the name of the employee with a given ssn, say 1000; i.e., in SQL, "select name from Emp where ssn=1000". In a worst-case scenario, how long this operation will take? Express your answer in bot..

  Calculates an employees wage for a week

Write a program that calculates an employee's wage for a week. An employee's wage is calculated as follows - if the number of hours is less than or equal to 40, then the total payment is hour rate

  Variables should be private and the class functions public

All the class variables should be private and the class functions public. The class functions should be implemented in a file Inventory.cpp which should be linked with the inventory.hpp file.

  Write a driver program called testrationalnumber.cpp

Write a driver program called testRationalNumber.cpp to test each of the above functions and overloaded operators in the RationalNumber class.

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