python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Solving a cubic equation using pure python NO NUMPY or SCIPY
I was wondering if I could get help solving a generic cubic polynomial with coefficients a, b, c and d. I don't want to use scipy or numpy.
For any complex-valued parameters, I want to find all 3 root...
Intel 4004
Votes: 0
Answers: 1
How to compute a negative Sobolev norm with Matlab
Let the torus T^2 be the domain [0,1)^2 in R^2 with periodic boundary conditions. In general, the negative Sobolev norm H^(-1) of a function f defined on the torus can be computed as:
a dual norm fro...
Víctor
Votes: 0
Answers: 0
solution for integral of x/(x-6)dx
I was trying to solve this integral x/(x-6)dx and I used substitution. u = x-6 and x = u+6.
In the end, I ended up with the answer x+6ln|x-6|-6+C, however, the answer is x+6ln|x-6|+C without the -6. C...
Xoqlsdi7
Votes: 0
Answers: 1
Is there a way to create a vector field from a list of vectors in numpy?
I have some code where I record a list of vectors over a trajectory. For each of these I have the N dimensional point from which it originates, and the vector from that point.
I have all of these orde...

EmptySet
Votes: 0
Answers: 0