Hi,
I have two problems. I have to calculate two equations:
X = A - inv(B) * Y * inv(B)
and
X = Y + A' * inv(B) * A
where, A, B and Y are known p*p matrices (p can be small or large, depends the situation). Matrices are quite dense, without any structure (except B being non-singular of course).
Is it possible to solve X in those e...
Let's say you have a Boolean rule/expression like so
(A OR B) AND (D OR E) AND F
You want to convert it into as many AND only expressions as possible, like so
A AND D AND F
A AND E AND F
B AND D AND F
B AND E AND F
You are just reducing the OR's so it becomes
(A AND D AND F) OR (A AND E AND F) OR (...)
Is there a property in Boo...
Hi,
Actually I want to develop a GUI app which displays a given mathematical equation. And when you click upon a particular variable in the equation to signify that it is the unknown variable ie., to be calculated. The equation transforms itself to evaluate the required unknown variable.
for eg:
a = (b+c*d)/e
Let us suppose that ...
Hello.
What is the usual method or algorithm used to plot implicit equations of 2 variables?
I am talking about equations such as,
sin(x*y)*y = 20
x*x - y*y = 1
Etc.
Does anyone know how Maple or Matlab do this? My target language is C#.
Many thanks!
...
Hi guys,
I am looking for a generic python way to manipulate text into solvable equations.
For example:
there may be some constants to initialize
e1,e2=0.58,0.62
ma1,ma2=0.85,1.15
mw=0.8
Cpa,Cpw=1.023,4.193
dba,dbr=0.0,25.0
and a set of equations (written here for readability rather than the solver)
Q=e1*ma1*Cpa*(tw1-dba)
Q=ma1*Cp...
I'm trying to put together an app for fun that has a scenario where I need to figure out a probability equation for the following scenario:
Suppose I have a number of attempts at something and each attempt has a success rate (known ahead of time). What are the odds after doing all those attempts that a success happens?
For example ther...
I´m trying to solve this set of equations in MATLAB and I get an empty sym object:
equations = {'I2B+I2EQAB=I22B+I2EQBC',...
'I2A=I2EQAB+I2EQAC+I22A',...
'I2C+I2EQBC+I2EQAC=I22C',...
'I22B=IZB+IC1B',...
'IZB=IC2B+IZBB',...
'I22C=-I2C*Z2C*YC/2+IZC',...
'IZC=IC2...
Hi guys,
according to below 3 Equations
x+y+z=100;
x+y-z=50;
x-y-z=10;
how to get the value of x,y,z with java?
=============================================
String equation1="x+y+z=100;";
String equation2="x+y-z=50;";
String equation3="x-y-z=10;";
int[] SolveEquations(equation1,equation2,equation3){
// to do
//how to do ?
}
=...
I actually have an equation to make on visual basic.
An exemple of it
(12 = 12) AND (12>1)
true and true
the answer would be TRUE
But for both comparison operators i must create a combo box to insert <, >, =, <=, >=, <>
My problem is my program wont function because I don't know which variable to use for those... could anyo...
I am trying to add an equation in a new line. The problem is that the equation is too long for the line, and I need to break it manually. Otherwise, it just overlaps to the right column, or to the right margins (and looks ugly...).
Is there a way LaTeX can brake the equation for me, so it seems nice?
I'm attaching my latex code:
\begin...
I'm trying to use WolframAlpha to solve for a variable.
I have
u(k, r) = (900-3k)r^(k-1)
and
s(n, r) = sum u(k, r), k=1 to n
and I want to solve for r with
s(5000, r) = -600000000000
I've tried various incantations, but can't seem to get it working. I can't even get s defined to evaluate it.
If you care, it is to solve this pr...
Short Question:
Lets say, I want to solve Project Euler problem 9 using python and some equation solving libraries.
a + b + c = 1000.
a2 + b2 = c2
How do you do it.
Long Question:
I want to solve a set of equations; linear, sometimes may be quadratic too. Not a specific problem; but often, I have been in situation I wanted to.
I...
I am using Matlab and am using its solve function. I run this code and I keep getting this error
[eqns,vars] = getEqns(varargin{:})
I realized I had some parens issues and fixed those but it still does work any ideas?
Asp = 3.90;
Arg = 12.48;
Lys = 10.54;
His = 6.04;
Glu = 7.70;
Gly = 7.50;
Val = 7.44;
Pro = 8.36;
Ser = 6.93;
...
I have some trouble on setting of n-linear equations in matlab.I don't know how can I declare in matlab.I need matlab code for setting of n-linear equations..
...
hi guys
does anyone know about some good sources about counting complexity of recursive algorithms?
somehow recurrent equation isn't really popular title for web page or what, I just couldn't google out anything reasonable...
...
I need an exponential equation with the following parameters:
When x = 0, y = 153.
When x = 500, y = 53.
Y should increase exponentially as X approaches 0 and should decrease exponentially when X approaches 500.
For some reason I can't remember how to do this.
I'm sure once I see the equation (or one similar) I can figure out the rest....
I've got the following equation:
a^3-4*a^2+[1 0 2;-1 4 6;-1 1 1]=0
How do I solve this in MATLAB?
...
I want to manually break a line inside $$:
$$something something <breakline> something else$$
I tried "//", "\newline", and "\linebreak[]" but none work. Ideas?
...
We all know this is true:
(a+b)c = ca+b*c
But how to judge it in programme?
...
Gain = 255 / (1 - 10 ^ ((Refblack-Refwhite) * 0.002/0.6) ^ (Dispgamma/1.7))
Is that a computer language, it looks like c but exclusive or floats doesnt compute.
Can anybody convert that to c?
thanks
...