Hi,

On 2019-06-24, Prof K.A.Venkatesh <prof.kavenkat...@gmail.com> 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 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/qepvbg%2464ol%241%40blaine.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to