answersLogoWhite

0


Best Answer

f(x) = 1 + 2*3 + 4*5 + ... (2x * [2x + 1])

f(x) = 1 + 2*3 + 4*5 + ... (4x2 + 2x])

f(x) = 1 + ∑(4x2 + 2x)

So you can do it with a simple for loop:

tally := 1;

FOR count := 1 TO maximum DO

BEGIN

WRITELN(tally, ', ');

tally := tally + count * (4 * count + 2 );

END;

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Create a pascal program which outputs sum of series 1 plus 2multiply3 plus 4multiply5multiply6 plus 7multiply8multiply9multiply10 plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you make program specification?

you first of all state the function of the program. State the inputs that will be used,the algorithm and the outputs of the program.


What is the assembly program to generate a geometric series and compute its sum The inputs are the base root and the length of the series The outputs are the series elements and their sum?

What is the assembly program to generate a geometric series and compute its sum The inputs are the base root and the length of the series The outputs are the series elements and their sum?


How many inputs does a decision box in a program flow chart?

One or more (and it has two or more outputs).


What does intended image output mean?

Intended image output is a computer file that contains data which are the outputs of a device or program.


How do you write a program for printing the following outputs 12345678910?

using namespace std; #include <iostream> int main() { cout << "123456789012" << endl; }


How do you write a program that outputs a given characters in reverse?

write the javascript code to display the reverse no. of given no. (e.g. 247 reverse of 742)


C program which accepts in order and preorder traversal outputs of a binary tree as input and prints the corresponding binary tree?

any body can help on this ?


What is the input output subsystem?

It is the specific layer of the operating system responsible for translating hardware and software inputs, such as keyboard and mouse event data, into data the application can use, and translating application output into hardware and software outputs, such as the screen or a printer. This layer of abstraction allows the program and various inputs and outputs to be decoupled.For example, in a terminal program, output is normally sent to the screen, but can be redirected to a file, printer, a network socket, or even another program, without the program needing any special consideration as to how to write this data to various outputs. Also, most terminal programs expect input from the keyboard, but this input can similarly be fed from any valid source (e.g. any source that has an output to connect to an input).


How do you write psudocode for a program that outputs every number from 0 through 8 along with it's square and cube?

for i = 0 to 8 { print i, i^2, i^3 }


What are the uses the uses of flowchart?

Ease of visualization, organizationally. In computer programming, flow charts are used to logically set up inputs and outputs and organize the program.


Is an Mozilla Firefox an input or output?

Mozilla Firefox is a program. It receives input from the user and remote servers, and outputs that information to the screen. It can also output information to local files or remote servers.


What is the importance of a pipe in Linux?

Pipes are useful for redirecting inputs or outputs from a program instead of using stdin or stdout. For instance, piping the output of a command to a text file.