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:

Status badges

Description (last modified by kcrisman)

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)

trac_11458-reviewed.patch (775 bytes) - added by kcrisman 9 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by kcrisman

  • Keywords beginner added

comment:2 Changed 9 years ago by Madrosity

  • Status changed from new to needs_review

comment:3 Changed 9 years ago by kcrisman

  • Authors set to Mike Jackson, Martin Boyanov
  • Reviewers set to Karl-Dieter Crisman
  • Status changed from needs_review to needs_work

Looks good, except the line is not quite right in length. Refreshed patch coming up.

Changed 9 years ago by kcrisman

comment:4 Changed 9 years ago by kcrisman

  • 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 jdemeyer

  • Milestone changed from sage-5.10 to sage-5.11

comment:6 Changed 9 years ago by jdemeyer

  • 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.