Opened 11 years ago
Closed 9 years ago
#11458 closed enhancement (fixed)
Better example for plotting cube root function
Reported by: | kcrisman | Owned by: | jason, was |
---|---|---|---|
Priority: | minor | Milestone: | sage-5.11 |
Component: | graphics | Keywords: | beginner |
Cc: | jason | Merged in: | sage-5.11.beta2 |
Authors: | Mike Jackson, Martin Boyanov | Reviewers: | Karl-Dieter Crisman |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
We currently use a lambda construction in the plot documentation for showing how to get around x^(1/3)
giving complex numbers for negative input.
Mike Jackson of Grove City College had a better idea, which his faculty use with Mathematica.
plot(sign(x)*abs(x)^(1/3),-1,1)
Let's put this in the documentation!
Apply trac_11458-reviewed.patch.
Attachments (1)
Change History (7)
comment:1 Changed 11 years ago by
- Keywords beginner added
comment:2 Changed 9 years ago by
- Status changed from new to needs_review
comment:3 Changed 9 years ago by
- Reviewers set to Karl-Dieter Crisman
- Status changed from needs_review to needs_work
Changed 9 years ago by
comment:4 Changed 9 years ago by
- Description modified (diff)
- Status changed from needs_work to positive_review
Patchbot, apply trac_11458-reviewed.patch
Okay, all is well. Thanks!
comment:5 Changed 9 years ago by
- Milestone changed from sage-5.10 to sage-5.11
comment:6 Changed 9 years ago by
- Merged in set to sage-5.11.beta2
- Resolution set to fixed
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
Looks good, except the line is not quite right in length. Refreshed patch coming up.