python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Python: Not being able to compare radians with pi values
I am writing an algorithm which should be able to determine in which quadrant a radian is based on two values that the user inputs. I think that the code is calculating the radian but I know that thos...
Timur Urcan
Votes: 0
Answers: 3
Steepest descent and finding optimal step size
I'm trying to a Steepest descent for a function with 2 variables. It works fine with known step size which = 0.3. But I want to find a way to optimize step size and create a function to find a good st...
Vladimir Alkin
Votes: 0
Answers: 1
How to get a solution of the inequality $5 \sin (\theta)-\frac{1}{2} \sin \left(\frac{5 \theta}{2}\right) \geq 0$using sympy?
I'm trying my best figuring out what is going wrong with my code.
So I'm trying to solve the inequality: $$5 \sin (\theta)-\frac{1}{2} \sin \left(\frac{5 \theta}{2}\right) \geq 0$$
with sympy, but I j...
TheCreator
Votes: 0
Answers: 1
SymPy's "function_range" doesn't work for seemingly simply functions
I'm trying to determine the range of a function, in this case a polynomial. My program already uses a lot of SymPy functions so I thought I could use the function_range function from the sympy.calculu...
DeepQuantum
Votes: 0
Answers: 1