Site icon TestingDocs.com

Harmonic Series Flowchart Example

Overview

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 =

 

i.e.

Series =

Flowchart Example

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/

Exit mobile version