equation-solving Questions

2

Solved

I am trying to apply an equation to two matrices. Since I am a beginner R user, it seems very difficult to me. I would be greatful if you could give me some advice. I have two similarity matrices:...
Panier asked 26/11, 2013 at 13:45

2

Solved

I am trying to solve this system of ODEs through deSolve, dX/dt = -X*a + (Y-X)b + c and dY/dt = -Ya + (X-Y)*b for time [0,200], a=0.30, b=0.2 but c is 1 for time [50,70] and 0 otherwise. The code I...
Sneaker asked 4/11, 2021 at 16:57

3

Solved

I have what seems to be an easy problem to solve in Python, but as I am new to python I am unaware on how to solve this. All I am trying to solve is... (x * e) mod k = 1 (where e and k are known...
Sabinasabine asked 16/4, 2013 at 18:35

3

Solved

I want to solve some system in the form of matrices using linalg, but the resulting solutions should sum up to 1. For example, suppose there are 3 unknowns, x, y, z. After solving the system their ...
Anarthrous asked 28/6, 2015 at 9:40

3

Solved

I want to find the solution of: -x^3+6*x^2+51*x+44=0 but with R. Is it possible? I found the package Ryacas, but nobody seems to be able to make it work. May sound trivial, but I'm not able ...
Epencephalon asked 16/9, 2015 at 3:21

2

Solved

I'm trying to solve this exponential equation like this: my ($l,$r); for (1 .. 100) -> $x { $l = $x * e ** $x; $r = 5 * (e ** $x - 1); say $x if $l == $r; } But it doesn't work. How t...
Prevot asked 5/4, 2020 at 21:34

2

Solved

Solve the system of two equations with two unknowns below: a1, b1, c1, a2, b2 and c2 are inputted by the user himself. I've been trying to find a math solution for the problem first and I can't...
Hypoderm asked 27/10, 2013 at 14:36

7

Solved

I am coding a function that solves an arbitrary number of simultaneous equations. The number of equations is set by one of the parameters of the function and each equation is built from a number of...
Research asked 29/2, 2012 at 2:52

8

Solved

In a C++ application I'm coding, I need to solve a system of non-linear equations (N equations, N unknowns). The systems I'm solving will be rather small (up to 10 equations/unknowns), so performa...
Aston asked 20/11, 2010 at 17:16

2

Solved

I am solving this system of equations with tensorflow: f1 = y - x*x = 0 f2 = x - (y - 2)*(y - 2) + 1.1 = 0 If I choose bad starting point (x,y)=(-1.3,2), then I get into local minima optimisin...

4

Suppose I have the following equations: x + 2y + 3z = 20 2x + 5y + 9z = 100 5x + 7y + 8z = 200 How do I solve these equations for x, y and z? I would like to solve these equations, if possibl...
Yovonnda asked 16/11, 2011 at 1:55

2

Solved

Suppose I have the following system of equations: a * b = 5 sqrt(a * b^2) = 10 How can I solve these equations for a and b in R ? I guess this problem can be stated as an optimisation problem, ...
Kincardine asked 16/2, 2018 at 18:19

1

Solved

How would I solve an equation containing a summation expression, i.e. something like. I would consider the following code fragment to solve this equation: from sympy import * i, N, x = symbol...
Evelineevelinn asked 2/10, 2017 at 7:55

1

Solved

Assuming I have the following four equations: cos(x)/x = a cos(y)/y = b a + b = 1 c sinc(x) = d sinc(y) for unknown variables x, y, a and b. Note that cos(x)/x=a has multiple solutions. Similar...
Comitative asked 27/3, 2017 at 16:42

3

Is there any algorithm to solve a system of equations expressed in different modulo spaces? For exemple, consider this system of equations: (x1 + x2 ) % 2 = 0 ( x2 + x3) % 2 = 0 (x1 + x2 + x3) % 3...
Burress asked 4/2, 2017 at 19:46

8

Solved

I'm trying to work out how to write the following: total = (value * 0.95 ^ 0) + (value * 0.95 ^ 1) + (value * 0.95 ^ 2) ... or: x = (y * z ^ 0) + (y * z ^ 1) + (y * z ^ 2) + (y * z ^ 3) ... T...
Meilhac asked 17/11, 2016 at 14:14

2

Solved

I'm currently in need of a class, which must be able to display and solve an equation system like this one: | 2x-4y+4z=8 | | 34x+3y-z=30 | | x+y+z=108 | I thought it would be a good idea t...
Sheepshead asked 1/4, 2016 at 11:8

2

How do I solve a non-linear equation in SymPy which is of the form y = P*x + Q + sqrt(S*x + T) where I know y(0), y'(0), y(c), y'(c). I want to find P, Q, S and T. and represent y as a function ...
Jodijodie asked 26/3, 2016 at 7:40

2

I have an polynomial equation of 4th order and I need to find all roots. Simple example: from sympy import (Symbol,solve,I) a=4+5*I; b=3+7*I; c=12-56*I; d=33+56*I; e=345-67*I; x=Symbol('x') eq=a...
Cork asked 6/2, 2015 at 13:14

5

Solved

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 be changed.) I'm able to solve this equation on paper quite...
State asked 31/8, 2011 at 7:56

1

Solved

I want to solve linear and quadratic modular equations in Haskell in one variable. The way I am doing it right now is by putting x = [1..] in the equation one by one and finding the remainder (expr...
Renny asked 26/10, 2015 at 10:0

1

Solved

Given the equation |x - 5| + |y| = 5, how can one solve it using SymPy? If I'm using a combination of solve() and Abs() it gives me this error solving Abs(x - 5) when the argument is not real o...

2

Solved

I have a equation system and I want to solve it using numerical methods. I want to get a close solution given a starting seed. Let me explain. I have a vector of constants ,X, of values: X <...
Nauseous asked 17/9, 2015 at 7:55

6

Solved

This is a bit difficult to explain without a direct example. So let's put the very simplistic ideal-gas law as example. For an ideal gas under normal circumstances the following equation holds: PV...
Hand asked 25/3, 2015 at 10:43

2

Solved

I was wondering whether there exist any packages or other pre-built solutions for R that are capable of translating sets of linear equations into matrix form (e.g. for solution via the Gauss Seidel...
Gurgle asked 22/11, 2014 at 11:36

© 2022 - 2025 — McMap. All rights reserved.