python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
OR-Tools (CP-SAT) - How to implement a non-linear function
I'm attempting to use Google's OR-Tools to produce a distance constraint between 2x 2D points (p0 & p1).
This becomes the non-linear expression:
(p1x - p0x)² + (p1y - p0y)² = d²
I have attempted t...
Max Peglar-Willis
Votes: 0
Answers: 1
iterating matlab symbolic solve function
I am trying to solve the equation below for array d. I have used the snippet below:
channel_size = 9e-3;
d = [11e-3, 12e-3];
sigma = 0.49;
ee = 727/9806.65;
alpha = d-channel_size;
sym('p',[1 2])
f...
Johnny
Votes: 0
Answers: 1
SymPy returns wrong solution of a nonlinear ODE?
I am trying to solve the ODE of the frictional free fall:
from sympy import *
t = symbols ('t')
v = Function ('v')
dgl = Eq (diff (v(t), t) + v(t)**2, 1)
erg = dsolve (dgl)
I think the solution mi...
Jörg J. Buchholz
Votes: 0
Answers: 1