David Little
Mathematics Department
Penn State University
Eberly College of Science
University Park, PA 16802
Office: 403 McAllister
Phone: (814) 865-3329
Fax: (814) 865-3735

Home Courses Math Links Resources Java Applets

Line Integrals

The following applet approximates the value of the line integral

where the curve C is defined parametrically by (x(t),y(t)) for a ≤ t ≤ b. Simply enter the function f(x,y), the parametric equations x(t) and y(t) that describe the curve C, the values a and b and 0 ≤ n ≤ 1,000, the number of subintervals.

The values a and b can be changed by simply typing a new value, such as "1.2345", "pi/2", "sqrt(5)+cos(3)", etc. You may also change these values by using the up/down arrow keys, dragging the corresponding point left or right, or dragging the corresponding line up or down. To move the center of the graph, simply drag any point to a new location. To label the x-axis in radians (i.e. multiples of pi), click on the graph and press "control-r". To switch back, simply press "control-r" again.

You can rotate the object about the center of the screen by dragging the mouse while holding down the SHIFT key.

Here is a list of functions that can be used with this applet.

© 2007 David P. Little
Download this applet for off-line viewing (includes source code). The above applet uses the Java Math Expression Parser (JEP) developed by Singular Systems