Python Forum
Solving periodic cot(x) function
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solving periodic cot(x) function
#1
Hello everyone,

I am looking to know of it's possible in python to solve the following equation: cot(x)*a-x=0 where a is a constant. I would want to store thr results in an array for the first period of the function (n=1) and over a range of period (n=[0:i]) that I define. Is this possible to do? I tred looking at sympy but it said I needed an algorithm to solve it.

Thanks!
Reply
#2
Can you use numerical methods for root finding? SciPy has facilities for that: https://docs.scipy.org/doc/scipy/referen...ot-finding.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to create a column with periodic entries? Mark17 2 2,046 Dec-16-2020, 09:58 PM
Last Post: Mark17
  periodic boundary contions grknkilicaslan 1 1,912 Jul-18-2020, 10:16 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020