Top "Equation-solving" questions

Solving simultaneous equations with R

Suppose I have the following equations: x + 2y + 3z = 20 2x + 5y + 9z = 100 5x + 7y + 8z = 200 How do I solve these …

r equation-solving
Java calculator with multiple operations

I have the following so far which works fine. Im sure there is probably an easier way to do this …

java math calculator equation-solving
Solve system of two equations with two unknowns

Solve the system of two equations with two unknowns below: a1, b1, c1, a2, b2 and c2 are inputted by …

c++ math equation equation-solving
Error: Singular Matrix

I'm having an error in my code, I hope you can help me!: (When I paste the code something weird …

python python-2.7 matrix equation-solving
How to solve a math equation in a programming language?

I need help to solve this formula ((n * 2) + 10) / (n + 1) = 3, preferably in PHP. (The numbers 2, 10 and 3 should be variables that can …

php math equation equation-solving
How to implement Matlab's mldivide (a.k.a. the backslash operator "\")

I'm currently trying to develop a small matrix-oriented math library (I'm using Eigen 3 for matrix data structures and operations) and …

c++ matlab matrix linear-algebra equation-solving
Mathematica: FindRoot errors

FindRoot[ 27215. - 7.27596*10^-12 x + 52300. x^2 - 9977.4 Log[1. - 1. x] == 0 , {x, 0.000001} ] converges to the solution {x -> -0.0918521} but how …

wolfram-mathematica equation-solving
R: subtraction of elements of a matrix from the elements of another matrix

I am trying to apply an equation to two matrices. Since I am a beginner R user, it seems very …

r matrix equation-solving
What good libraries are there for solving a system of non-linear equations in C++?

In a C++ application I'm coding, I need to solve a system of non-linear equations (N equations, N unknowns). The …

c++ math libraries equation-solving
Best way solving optimization with multiple variables in Matlab?

I am trying to compute numerically the solutions for a system of many equations and variables (100+). I tried so far …

optimization matlab equation-solving multiple-variable-return