Questions tagged [equation-solving]
763 questions
1
vote
1 answer
Plasma concentration multiple doses Equations in js
Currently my app needs to calculate the plasma concentration (multiple doses). I'm expecting it to be cyclical like depicted in this case:
However, when I try to calculate and plot it out, it comes out like
The equation that I was told that it…

Daemedeor
- 1,013
- 10
- 22
1
vote
1 answer
Solving a matrix equation with very small inputs
I'm programming in Matlab and in my program I need to solve a system Ax=b, where A is a m by m square matrix with very small entries. If m increases, the entries of A become smaller.
A is a sparse matrix, so I rename this matrix with the function…

Hiperion
- 113
- 3
1
vote
1 answer
solving trigonometric nonlinear equations using python: what am I doing wrong?
I am trying to solve a system of trigonometric equations and I think Python is not generating the right solution. Equations I am trying to solve:
1 − 2cosθ1 + 2cosθ2 − 2cosθ3 = −0.8
1 − 2cos5θ1 + 2cos5θ2 − 2cos5θ3 = 0
1 − 2cos7θ1 + 2cos7θ2 −…

Nikhil Gupta
- 551
- 10
- 28
1
vote
1 answer
Solve linear system of equations with symbolic expressions
Hi I am trying to solve a linear system of equations with mathematica. I have 18 equations and 18 Unknowns and the coefficient matrix has full rank. All entries are symbolic since I am trying to solve the problem analytically. Unfortunately…

Madprofessor
- 23
- 6
1
vote
1 answer
Additionally restricting scipy's root solver
I'm trying to solve a system of nonlinear equations using scipy.optimize.root()
One of the equations contains a power like x[5]**epsilon, where epsilon is a parameter. For epsilon=1 I manage to find the roots, but for any different epsilon around 1,…

FooBar
- 15,724
- 19
- 82
- 171
1
vote
1 answer
How to convert a string c# equation to an answer
I am building a WP8 app it is solving numerical analysis problems. For one step i need to parse entered function but I dont have any knowledge about parsing and I tried something else
I have a stackpanel with mathematical components…

OknAkdgn
- 51
- 9
1
vote
1 answer
Python/Sympy trigonometric solution of cubic equation
Can I get trigonometric symbolic solution of cubic equation using Python/Sympy?
http://en.wikipedia.org/wiki/Casus_irreducibilis
http://en.wikipedia.org/wiki/Cubic_function#Trigonometric_.28and_hyperbolic.29_method

denfromufa
- 5,610
- 13
- 81
- 138
1
vote
0 answers
Solving system of equations in R
In the following system, all variables on the right hand side are known, except for w1 and w2, for which we are trying to solve.
I am trying to solve this system in R, but I am not sure where to start. Also, in my real example, the system is…

Mayou
- 8,498
- 16
- 59
- 98
1
vote
1 answer
Matlab: Solving a equation: Warning: Explicit solution could not be found
I have a equation like this:
2^n * exp((-p*k*n*(k*n-(k+1)*2^t)))/((k+1)^2*2^(2*t+1))- 1=0.
I tried using the follwing code, but it gives me a warning that "Explicit solution could not be found".
syms n k t p positive;
S=solve(2^n *…

tap1cse
- 31
- 1
- 3
1
vote
2 answers
Solve system of equations in Matlab
I want to solve a system of linear equations in Matlab. The problem is that this system will have a non-unique solution in general ( so the Nullspace is non-trivial) and this system depends on a parameter beta(non-zero!). Hence, I want to have the…
user2649077
1
vote
1 answer
MATLAB symbolically solve equation for ratio of 2 variables
I have a pretty large equation in which I need to solve for a ratio of 2 variables/symbols. A small example would be:
Y = A*Y + B*X
and I want MATLAB to solve this as
Y/X = B/(1-A)
where the answer(Y/X) doesn't self-reference Y or X. Is there a way…

jerp
- 257
- 5
- 15
1
vote
1 answer
Reducing an integer using Penner's easing equations
I'm making a game where you must answer a question within a time. That time reduces as your score increases. I'm doing that using this function.
var getTime = function(score){
var maxTime = 5000,
minTime = 750;
var reducedTime = maxTime *…

Finnnn
- 3,530
- 6
- 46
- 69
1
vote
2 answers
Solving a System of four equations (with logs) in Mathematica
I am trying to solve a system of four equations in four variables. I have read a number of threads on similar issues and tried to follow the suggestions. But I think it is a bit messy because of the logs and cross products here. This is the exact…

Divergent-Economist
- 13
- 3
1
vote
1 answer
Solving equation and getting answer where two plots meet
I have two plots I created in matlab / octave I would like them to cross at x=4 or any other point on x I choose. How can I go about doing this in matlab or octave?
Example code:
x = linspace(0,2*pi,1000);
y = 1./exp(x); %
%subplot(2,1,1);…

Rick T
- 3,349
- 10
- 54
- 119
1
vote
2 answers
Program to create equation from drawing a graph
I was wondering if anyone knows a program that could make an equation from having someone just drawing the plot.
Example: I would like to just draw an image then have the program give me the equation below. Is such a thing possible?
Equation given…

Rick T
- 3,349
- 10
- 54
- 119