#12113: Add minor clarification about logs with bases other than e
-----------------------------+----------------------------------------------
Reporter: kcrisman | Owner: mvngu
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.8
Component: documentation | Keywords: beginner
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Description changed by kcrisman:
Old description:
> See [http://ask.sagemath.org/question/953/log-base-10 this
> ask.sagemath.org question]. Essentially, the poster requests (and it
> seems reasonable) to add a couple more examples of this. E.g.,
> {{{
> If you could make this change it would be great: "EXAMPLES:
> sage: log(e^2)" :
> To something like: EXAMPLES: To change the base of the logarithm, add a
> second parameter. sage: log(1000,10): 3
> Small change but helpful!
> }}}
New description:
See [http://ask.sagemath.org/question/953/log-base-10 this
ask.sagemath.org question]. Essentially, the poster requests (and it
seems reasonable) to add a couple more examples of this. E.g.,
{{{
If you could make this change it would be great: "EXAMPLES:
sage: log(e^2)" :
To something like:
EXAMPLES:
To change the base of the logarithm, add a second parameter.
sage: log(1000,10)
3
Small change but helpful!
}}}
This is implicit in the examples, but since the first line is just
{{{
Return the logarithm of x to the given base.
}}}
and not everyone will understand
{{{
File: /Users/.../sage-4.7.2/local/lib/python2.6/site-
packages/sage/functions/log.py
Definition: log(x, base=None)
Docstring:
Return the logarithm of x to the given base.
}}}
Sounds like a good beginner ticket.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12113#comment:1>
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.