answersLogoWhite

0

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

15y ago

What else can I help you with?

Continue Learning about Math & Arithmetic

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 do you design a logic for a program that outputs every number from 1 through 10?

if you are talking integers the most modern languages have loops and output to console or stream. example int i = 1; for(;i<=10;i++) { printf(i); }


What is the definition for input value?

An input value is a piece of data or information that is fed into a system, program, or process for analysis, computation, or processing. It can be in various forms, such as numbers, text, or signals, depending on the context. Input values are crucial for systems to perform tasks, generate outputs, or make decisions based on the provided data.


What does sequence mean in ict?

In ICT (Information and Communication Technology), "sequence" refers to the specific order in which instructions or operations are executed in a program or process. It is fundamental in programming, where a sequence ensures that tasks are completed in a logical flow, allowing for effective data processing and user interaction. Proper sequencing helps prevent errors and ensures that outputs are generated correctly based on the inputs provided.


What is the Difference between program and program?

Program means a plan, usually step-by-step. Programme is like a play or sporting event program that has the events that will occur.

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 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)


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

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


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 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.


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 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).


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.