Inlab 6: Numerical Integration

Due: Friday 26 February at 6 pm

Purpose

Partners

This is an individual assignment, though collaboration (not solution sharing) is allowed.

Problem Statement

This is an exciting lab. You will be building an application that will numerically integrate any function. Don't panic, you do not need to know calculus to accomplish this assignment. One of the techniques you will learn in calculus is how to calculate the area under a curve (graph). This technique is called integration. This lab will approximate the integral of a function by adding up various rectangles. An explanation and example can be found here.

Assignment

Hints

Submission

By Friday 26 February at 6 pm, submit the file Calculus.java and questions.txt into the appropriate D2L dropbox folder. DO NOT SUBMIT .class files.

Grading - 10 points