Default

Flowchart to calculate the nth root of a number

Flowchart to calculate the nth root of a number

In this tutorial, we will model a flowchart to calculate the nth root of a number. We would prompt the user to enter the two numbers a and n.

We will call the number b as the nth root of the number a if:

\huge b = \sqrt[n]{a}

or

\huge b^{n} = a

The flowchart requirement is to find the b, given the numbers a and n.

Flowchart

nth root flowchart

Output

Input number:=32
Entered n :=5
The nth root of a:=2
—-Run complete. 9 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/