Question: PLEASE HELP ME TO DRAW A FLOWCHART!!! START Declarations num a,b,n,i,value num total_value=0 num size=(b-a) num c=1 houseKeeping() num fun(num x) return (x+(3*x*x)) num original(num

PLEASE HELP ME TO DRAW A FLOWCHART!!!

START

Declarations

num a,b,n,i,value

num total_value=0

num size=(b-a)

num c=1

houseKeeping()

num fun(num x)

return (x+(3*x*x))

num original(num x,num y)

return (((x*x)/2)+(x*x*x))-(((y*y)/2)+(y*y*y))

detailLoop()

endOfJob()

STOP

houseKeeping()

output "Enter the value for lower limit: "

input a

output "Enter the value for upper limit: "

input b

output "Specify the number of trapezoids :"

input n

return

detailLoop()

value=((fun(i)+fun(i+size))/2)*size

total_value=total_value+value

output "Trapezoid area " c++ " = " ceil(value*10000)/10000 " unit squared."

return

endOfJob()

output "The area using trapezoid method = " total_value " unit squared."

output "The area using integral calculus = " woriginal(b,a) " unit squared."

num error=((abs(original(b,a)-total_value))/total_value)*100

output "Percent error = " error "%"

return

PLEASE HELP ME TO DRAW A FLOWCHART!!! START Declarations num a,b,n,i,value num

- 3. Flowchart Grading Criteria Called a module and passed arguments to compute for the area of the trapezoid. The module 7.5 returned the area back to the calling method. Called a module and passed arguments to compute for the area under the curve using 7.5 integral. The module returned the area back to the calling method. 7.5 An array was used to store the area of each trapezoid. 5 Used an accumulator variable to compound the areas stored in each array element. 2.5 All needed variables were declared. 2.5 Used prompts whenever necessary. 7.5 Correct looping structure. 5 Correct sequence. 5 Correct statements. 50

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!