Raptor

Harmonic Series Flowchart Example

Harmonic Series Flowchart Example

In this tutorial, we will model a Raptor flowchart to compute the sum of Harmonic series up-to n terms. The flowchart will prompt the user to enter the number of terms(n)

Harmonic Series

Harmonic Series is mathematically defined as an infinite series that is the sum of:

 

Series = \huge \sum_{n=1}^{\infty}\frac{1}{n}

 

i.e.

Series = \huge 1 + \frac{1}{2} + \frac{1}{3} + \frac{1}{4} + ... \infty

Flowchart Example

Harmonic Series Flowchart

Output

Harmonic Series upto 5 terms := 1 + 1/2 + 1/3 + 1/4 + 1/5
Harmonic Sum upto 5 terms :=2.2833
—-Run complete. 40 symbols evaluated.—-

 

Raptor Tutorials on this website can be found at:

https://www.testingdocs.com/raptor-a-flowchart-tool/

RAPTOR official website:

https://raptor.martincarlisle.com/