Solid Volume Builder
The learner turns a plane region about an axis (a Turn slider and a Revolve button) and watches the solid it sweeps, drawn in 3-D next to the region; options cut the solid into n disks, washers or cylindrical shells (or the curve into frustum bands for surface area), whose sum approaches the volume as n grows, with a draggable highlighted element and its radius readouts. Slices mode stacks slabs with square, semicircular or triangular cross-sections on a base region. Readouts add the region's area, the surface area, the centroid for Pappus's theorem and the wrong washer formula.
Used in: Single Variable Calculus
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | "Solid of revolution" ("Volume by slicing" in slices mode) | Card title. |
| mode | string | "slices" when crossSection or area is given, else "revolution" | revolution: a region turned about an axis. slices: a solid whose cross-sections perpendicular to the x-axis (or y-axis for a region given in y) are known shapes standing on a base region. |
| region | {top?, bottom?, x: [a, b]} | {right?, left?, y: [c, d]} | {"top": "1 + x^2/4", "bottom": "0", "x": [0, 2]} | The plane region: between y = bottom(x) and y = top(x) for a <= x <= b, or between x = left(y) and x = right(y) for c <= y <= d. Curves are expressions (a leading "y =" / "x =" is ignored; missing curves are 0) in x or y and the parameter names; interval ends may be parameter expressions such as "t". In band mode, top (or right) is the curve whose surface is measured. In slices mode it is the base. |
| axis | string | "x-axis" | Axis of revolution: "x-axis" (or "x"), "y-axis" (or "y"), "x = h" or "y = k", where h, k are numbers or parameter names ("x = h" with a slider for h). |
| method | string | "none" (the bare default example: "disk") | Elements shown first: none (just the solid), disk or washer (strips perpendicular to the axis; labelled washers when the strip does not reach the axis), shell (strips parallel to the axis), band (frustum bands along the curve, for surface area). |
| methods | string[] | ["none", method] (bare default: ["none", "disk", "shell"]) | Elements the learner can switch between with the "Build it from" toggle, e.g. ["washer", "shell"] to compare the two methods on one region. disk and washer are one option. |
| n | integer | 6 | Starting number of elements (disks, washers, shells, bands or slabs). |
| nRange | [integer, integer] | [1, 40] | Range of the n slider (upper end capped at 120). |
| sample | string | "mid" | Sample point x* of each disk, washer, shell or slab: left end, midpoint or right end of its subinterval (the element uses the radius, height or area there). Use left/right where midpoints happen to be exact (e.g. disks of y = sqrt(x)). |
| turn | number | 360 | Starting angle in degrees through which the region has turned (0 to 360); the learner drags the Turn slider or presses Revolve. |
| crossSection | string | "square" | Slices mode: shape of each cross-section, whose side s spans the base: square (s^2), semicircle (pi s^2/8), equilateral-triangle (sqrt(3) s^2/4), right-triangle-leg (isosceles right triangle with a leg on the base, s^2/2), right-triangle-hypotenuse (hypotenuse on the base, s^2/4), rectangle (height crossSectionHeight). |
| crossSectionHeight | number | 1 | Slices mode: the height of rectangle cross-sections. |
| area | string | none | Slices mode: the cross-section area A(x) as an expression (e.g. "x^2"), used instead of crossSection; sections are drawn as squares of that area. Without curves in region, region.x gives the interval. |
| parameters | {name, min, max, initial?, step?, label?}[] | [] | Named parameters, each with a slider; usable in the curves, the interval ends, the axis ("x = h") and exact. |
| xRange | [number, number] | from the region and the axis | Visible x range of the region view. Along a horizontal axis it also cuts off the 3-D drawing (for long solids such as y = 1/x on [1, t]). |
| yRange | [number, number] | from the region and the axis | Visible y range of the region view (cuts off the 3-D drawing along a vertical axis). |
| exact | number | string | none | The verified exact volume (e.g. "8*pi", "64/15"; may use parameters), shown in TeX next to the computed value; a mismatch is flagged. |
| showSurfaceArea | boolean | false | Adds the area of the solid's curved surface (swept by top/right) to the readouts. |
| showPappus | boolean | false | Marks the region's centroid and the circle it travels, with the centroid, its distance r to the axis and A times 2 pi r (Pappus's theorem) in the readouts. |
| showWrongFormula | boolean | false | With washers: adds the common wrong formula pi times the integral of (R - r)^2 next to the volume. |
| presets | {label, ...any of the view props}[] | none | Other examples offered in an "Example" dropdown; each overrides the props it names (one with its own region drops the base exact, xRange and yRange). |
| presetLabel | string | "Main example" | Dropdown name of the configuration given by the props themselves. |
| controls | string[] | all controls shown | Registry ids of the optional toggles and readouts to show (core controls always show). Fitted per node by tooling; absent shows everything. |
PreviousNext