Questions tagged [equation-solving]
763 questions
1
vote
1 answer
Finding the root of an equation of 1.75th order
I have found the yield of a crop (Y) as a function of its nitrogen offtake (U) i.e., Y(U).
The rest of the values for this particular crop are:
Y_crit
U_crit
Q
p
U_max
Y
12327.9
123.2790
57.14286
0.75
198.38
14170
I want to solve for…

Kartik Kamath
- 13
- 4
1
vote
0 answers
Solving a large system of linear equations over the finite field F2
I have 10163 equations and 9000 unknowns, all over finite fields, like this style:
Of course my equation will be much larger than this, I have 10163 rows and 9000 different x.
Presented in the form of a matrix is AX=B. A is a 10163x9000 coefficient…

Abraham
- 29
- 6
1
vote
0 answers
Software to solve systems of boolean equations
I'm looking for software to solve systems of boolean equations. I know this can be an NP hard problem, but from what I understand equations might be solved in polynomial time.
What I had in mind was something which implemented the algorithms…

user2317179
- 21
- 3
1
vote
2 answers
Solving ill-posed non-linear equations numerically in python/SymPy
I'm trying to get a solution by running the code below.
Python just "hangs" and won't find a numeric solution. I can use an app on my phone (Desmos) to graph the functions and find a numeric solution easily, 0.024. Does python have limitations when…

Saul Seabrook
- 13
- 3
1
vote
2 answers
I want solve this Equations in python
I'm work with Python
it's simple (1.1*x)+(b+(b*0.1))=a this equation is what I want to solve.
I'm so newbie in this world so I having a problem with it
"a" and "b" is come with
int(input('factor a : '))
int(input('factor b : '))
How can I script…

Nuka
- 11
- 1
1
vote
0 answers
How to solve functional equation?
I have functional equation
B(2z^4 + 4z^6 + 9z^8 + 20z^{10} + 44z^{12} + 96z^{14}) = (B(z))^4
I try to solve it using Maxima CAS :
(%i2) e: B(2*z^4 + 4*z^6 + 9*z^8 + 20*z^10 + 44*z^12 + 96*z^14) = (B(z))^4;
14 12 10 …

Adam
- 1,254
- 12
- 25
1
vote
1 answer
Solving a system of equations in Maple
I have a system of n equations and n unknown variables under symbol sum. I want to create a loop to solve this system of equations when inputting n.
y := s -> 1/6cos(3s);
A := (k, s) -> piecewise(k <> 0, 1/2exp(ksI)/abs(k), k = 0, ln(2)exp(s0I) -…

user672587
- 13
- 3
1
vote
1 answer
Solving nonlinear systems of equations using Python's fsolve function
I am using scipy.optimize's function fsolve to solve for two unknowns in two equations. The equations that I am trying to solve in the end are (much) more complex but I already struggle understanding the following basic example.
import…

eigenvector
- 313
- 1
- 3
- 12
1
vote
1 answer
numpy.linalg.solve for Decimal in Python
Is there any way how to solve equations when a matrix A and a vector b is composed of decimal.Decimals?
My A:
array([[Decimal('-5266125828.168885444558615257'),
Decimal('11312418445.69612428831109944'),
…

Dominik Bolerác
- 11
- 2
1
vote
1 answer
Why this programme doesn't print the value 2 .. My desire output is 2.. where is the error here
sample code is here, desire output is 2 ::
#include
int main()
{
double i, a, b;
int j;
for (i = 0; i <= 3; i = i + .20)
{
if (i == 2)
{
printf("I=%lf\n", i);
}
}
}
When I…

Plaban Das
- 23
- 6
1
vote
1 answer
Sage much slower than Mathematica when solving a simple system
Mathematica solves the following system of multivariate polynomials almost instantly while Sagemath takes around 10 seconds. Is there any way to speed up solve?
vars('a15, x13_14, a4, a11, a0, x14_15, x11_13, x5_5, x9_12, a5, a12, x3_4, a1, x7_7,…

David
- 49
- 3
1
vote
1 answer
Solution for equation of a line with 2 variables ax + by = c works in one case but fails in other case
I am trying to solve ax + by = n.
When I put n = 7, it solves the equation correctly as X = 2 and Y = 1.
But when I put n = 1, it does not solve the equation. Even though, this equation has valid integer solution, X = 17, Y = -11. here is my full…

Ganesh Kamath - 'Code Frenzy'
- 5,094
- 3
- 43
- 60
1
vote
2 answers
How can I find whether my output fits the criteria or not?
Write a function processOrders(orders:List[int], sizes:List[int]) to determine whether or not each of the given orders can be fulfilled. Here, orders is a list of positive integers, where each integer represents the length as requested by that…

jordan parker
- 141
- 6
1
vote
2 answers
An algorithm question on consecutive order
So I had a programming competition ,I was stuck in a question and I trying to solve it these few days. because I want to know the answer so much, but I'm not able to do it. Any explanation or answer will be appreciated. Here is the question:
There’s…

吴汶兴
- 13
- 2
1
vote
0 answers
C# non-LaTeX string equation into LaTeX string
Is there something that can convert this
"(2+2)/2"
into this
"\frac{2+2}{2}"
I tried searching but I didnt find anything

computersaretrash
- 11
- 2