#10597: Riemann sums, added trapezoid option
---------------------------------+------------------------------------------
Reporter: gagansekhon | Owner: burcin
Type: enhancement | Status: needs_work
Priority: minor | Milestone: sage-4.6.2
Component: calculus | Keywords: riemann sums, trapezoid,
beginner
Author: Gagan Sekhon | Upstream: N/A
Reviewer: Dmitrii Pasechnik | Merged:
Work_issues: |
---------------------------------+------------------------------------------
Changes (by jdemeyer):
* status: positive_review => needs_work
Comment:
There is a doctest failure:
{{{
sage -t -force_lib devel/sage/doc/en/constructions/calculus.rst
**********************************************************************
File "/mnt/usb1/scratch/jdemeyer/merger/sage-4.6.2.alpha2/devel/sage-
main/doc/en/constructions/calculus.rst", line 204:
sage: f.trapezoid(4)
Expected:
Piecewise defined function with 4 parts, [[(0, 1/2), 1/2*x],
[(1/2, 1), 9/2*x - 2], [(1, 3/2), 1/2*x + 2],
[(3/2, 2), -7/2*x + 8]]
Got:
doctest:1: DeprecationWarning: _word_content is deprecated, use
riemann_sum instead
Piecewise defined function with 4 parts, [[(0, 1/2), 1/2*x], [(1/2,
1), 9/2*x - 2], [(1, 3/2), 1/2*x + 2], [(3/2, 2), -7/2*x + 8]]
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10597#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.