Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can you help with c++ please! Programming Assignment #2 - Sigma Notation (Summation) This is an individual assignment. Evidence of copying will be submitted as

can you help with c++ please!

image text in transcribed

Programming Assignment \#2 - Sigma Notation (Summation) This is an individual assignment. Evidence of copying will be submitted as a violation of the honor code to the Dean of the College of Engineering and the Dean of Students. Write a program that uses the following formula: i=1n(ax+ic)2 Your program must allow the user to input values for n,a,x and c. Your program will then perform the calculation, output the result and ask the user if they would like to perform another calculation. If they say yes, you will allow the user to input new values for n,a,x and c then perform the new calculation. Repeat this process until the user indicates that they are done with your program. Turn in: 1. Your C++ source code as an attachment (the .cpp file) 2. A Microsoft Word document attachment a. The output from your program with at least two calculations Example output from my test program. Yours should look like this also. The computer will calculate the following formula: The sum where i goes from 1 to n of (ax+ic)2 Enter the values for n,a,x and c separated by spaces then press Enter n must be an integer all other variables can be decimal values. 1234 The sum where i goes from 1 to 1 of (23+i4)2 is 100 Would you like to do another calculation (y) ? y The computer will calculate the following formula: The sum where i goes from 1 to n of (ax+ic)2 Enter the values for n,a,x and c separated by spaces then press Enter n must be an integer all other variables can be decimal values. 1003.55 .0110 .9 The sum where i goes from 1 to 100 of (3.55.01+i10.9)2 is 4.21605e+07 Would you like to do another calculation (y)?n

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

8th Edition

013460153X, 978-0134601533

More Books

Students also viewed these Databases questions

Question

How do members envision the ideal team?

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago