Dear Simon
Thank you. I did the same, but it states that an error. Note that I am
using sage cell .
Dr. K A. Venkatesh
Professor of Math and Computer Science,
Myanmar Institute of Information Technology
73rd Street, Ngu Shwe War, Chanmyathazi Township,
Mandalay, Myanmar
URL: www.miit.edu.mm
On Mon, Jun 24, 2019 at 1:20 PM Simon King wrote:
> Hi,
>
> On 2019-06-24, Prof K.A.Venkatesh wrote:
> > 1. how to enter cot(pi*x)?
>
> Did you try to type cot(pi*x) after the Sage prompt?
>
> The result is indeed cot(pi*x) as a symbolic expression. It can be
> evaluated by inserting special values for x (which is a pre-defined
> symbolic variable).
>
> A nice possibility (assuming that you do want to create a symbolic
> function based on cotangent function) is this:
> sage: f(x) = cot(pi*x)
> sage: f
> x |--> cot(pi*x)
> sage: f(3)
> Infinity
> sage: f(3/2)
> 0
> sage: f(3/4)
> -1
>
> Hope that I understood and answered your question.
> Best regards,
> Simon
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-support" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-support/Qnf-Q4Ng7hw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/qepvbg%2464ol%241%40blaine.gmane.org
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/CAEARTe%3DSgdFz3v_ERJ_LSgVSm5Z6VpSzkKCCfAPxo1wtPk-F_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.