Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-2 votes
1 answer
236 views

I would like to solve this system of equation for X and Y : Do you know if their exist a mathematical solution to this system ? And how to solve it ? Or a numerical solution ? If yes, do you think ...
1 vote
2 answers
123 views

Is there a standard way to implement sympy.solve to solve a system of equations with respect to a specified subset of free symbols (i.e. sympy.core.symbol.Symbol instances), such that it only finds ...
0 votes
0 answers
53 views

I am trying to simulate grain boundary properties in a ferroelectric bicrystal using FiPy. I have basically three variables to solve namely, degree of crystalinity (eta), polarization magnitude in the ...
0 votes
2 answers
86 views

I am solving a fluid mechanic problem where the flow rate is to be determined. I have the following sets of 4 eqs with 4 unknown variables (v, dot_v, Re,f): v = dot_v / 0.0113 Re = v* 0.12 / 1.10**-6 ...
0 votes
1 answer
79 views

I am calculating (what seems to me) the same thing in two ways but am getting different results. I'd appreciate any help in understanding the reason behind this. I have a list of symbolic equations, ...
1 vote
2 answers
152 views

So I am trying to write a script that solves for an unknown angle. The equation will be of the form of: P*sin(theta)+Q*cos(theta)=G Where P, Q, and G are known values and theta needs to be found. I ...
1 vote
0 answers
74 views

I wrote a program: import sympy as sp # Define symbols l, alpha, x, gamma, r, theta, beta, v = sp.symbols('l alpha x gamma r theta beta v') c = 2.99792458 * 10**8 # Define the equation lhs = l * sp....
2 votes
1 answer
115 views

This question concerns surprising behavior from the sympy.solve function applied to systems of equations. The behavior seems almost like a bug, or at least an edge case for which the sympy.solve ...
2 votes
3 answers
213 views

I have the following equation var x = 1.0175d; var spread = 0.0525d; var duration = 6.36019306689938d; var result = spread - (x / 100 - 1) / duration; // result = 0.208128137 however I'm struggling ...
Dan's user avatar
  • 1,028
0 votes
1 answer
107 views

So I am trying to symbolically solve a polynomial equation in mathematica that is described with vectors: A = {Subscript[a, 0], Subscript[a, 1], Subscript[a, 2]} B = {Subscript[b, 0], Subscript[b, 1], ...
3 votes
2 answers
234 views

Originally, I had the following equation: 2mg×ばつsin(\alpha) = Cd×ばつ\rho(v^2 + v_{wind}^2 + 2vv_{wind}cos(\phi))^(3/2) which I could express as the following non-linear equation: (K ×ばつ v)^(2/3) = v^2 + v_{...
0 votes
1 answer
181 views

I would like to solve a system of linear equations y=Uh for an unknown vector h, where I have a few constraints on some of the elements of $h$. The matrix U is composed of a vector u (length N) and a ...
2 votes
1 answer
263 views

I want to model PCR reactions, so I have a bunch of algebraic non-linear equations that I and solving using the fsolve function. But after 23 cycles the float overflows and the results come out ...
0 votes
0 answers
67 views

Upon solving equation using sympy, the real variable is giving complex solution. I don't understand what I am doing wrong. One more thing, when solving for sig (which is sig1+sp.I*sig2), the solution ...
4 votes
1 answer
83 views

I have the following problem. I would like to solve the following DGL system numerically in python: $$ \begin{align*} &g'' + \frac{2}{r} g' - \frac{2}{r^2} g - \frac{3}{r} e g^2 - e^2 g^3 - \frac{...

15 30 50 per page
1
2 3 4 5
...
52

AltStyle によって変換されたページ (->オリジナル) /