|
I need to programmatically solve a system of linear equations in C, Objective C, or (if needed) C++.
Here's an example of the equations:
-44.3940 = a * 50.0 + b * 37.0 + tx
-45.3049 = a * 43.0 + b * 39.0 + tx
-44.9594 = a * 52.0 + b * 41.0 + tx
From this...
Started by Adam Ernst on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
This is typically done....
Later, if you're doing more interesting linear algebra, looking around.
If you're looking for code, check out GiNaC into making these algorithms stable .
Algorithms (also see Simultaneous Linear Equations ).
|
|
Hello, I am looking for a method to determine if there is a solution to equations such as: 3n1+4n2+5n3=456 , where n1,n2,n3 are positive integers.
Or more general: are there zero or positive integers n1,n2,n3 ... that solves the equation k1n1+k2n2+k3n...
Started by Lior Kogan on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Unfortunately.
That's a linear programming problem.
And the additional constraint that n1, n2, n3 are integers .
|
|
The kernel trick maps a non-linear problem into a linear problem.
My questions are:
1. What is the main difference between a linear and a non-linear problem? What is the intuition behind the difference of these two classes of problem? And How does kernel...
Started by kunjaan on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Non-linear equations are not homogeneous....
You can create solutions using combinations of other known solutions; this is one reason why Fourier transforms work so well .
Linear equations are homogeneous, and superposition applies.
|
Ask your Facebook Friends
|
3x-6=10-x , linear equation please help? Please help me solve this equation & guide me throu it :)
Started by Jess on
, 2 posts
by 2 people.
Answer Snippets (Read the full thread at yahoo):
Youll be left wit 3x+x=10+6
4x(add them)=16(add them)
divide 16 by 4
x=4(16 divided by 4 =4) .
Bring the variables (x) onto the same side and change the sign and the same with the numbers.. .
X-6=10-x ..
|
|
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..
Answer Snippets (Read the full thread at stackoverflow):
Here you can find great://en.wikipedia.org/wiki/Matrix_equation
You can solve a linear system in various ways, depending on whether example: http:....
You can write n-linear equations as one matrix equation to solve it.
|
|
I have to find the equation for a linear function and the only information given is that the line passes through the point (6,1) and the x-intercept is twice the y-intercept. If I substitute (6,1) for a & b in the general linear equation of ax + by + ...
Started by outermeasure on
, 6 posts
by 4 people.
Answer Snippets (Read the full thread at sosmath):
I get the equation....
If I substitute (6,1) for a & b in the general linear equation of ax + by + c = 0,
.
I get-intercept.
If I substitute (6,1) for a & b in the general linear equation of ax + by + c = 0,
.
Intercept.
|
|
Hi prof,
i am puzzled why i can't get point (xp1, yp1) to lie on the x axis?
chance to debug my xml?
really can't do it alone. tried a long time already.
sorry to trouble you.
Thanks!!
Started by lookang on
, 19 posts
by 2 people.
Answer Snippets (Read the full thread at ntnu):
Cool,
i think i need from a quadratic equation display....
Linear Equation created by Wee Loo Kang (Good i delete the constraints A == B ; // previously from your quadratic equation.
Host it if suits! I just post it in the forum .
|
|
We are using a programming language that does not have a linear regression function in it. We have already implemented a single variable linear equation:
y = Ax + B
and have simply calculated the A and B coefficents from the data using a solution similar...
Started by lkessler on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Here's linear equations
k = aX1 + bY1 + cZ1 k = aX2 + bY2 + cZ2 k = aX3 + bY3 + cZ3
What you can do.
Yes, it's an easy linear algebra problem if you think of it the way Gil Strang does it.
|
|
Hello,
I want to maximize a linear equation: 4*a + 8*b + 7*c + 5*d + 9*e with the following constraints:
0<=(4*a + 8*b + 7*c + 5*d + 9*e)<=1
0<=a<=100; 0<=b<=100; 0<=c<=100; 0<=d<=100; 0<=e<=100
Can I solve this problem...
Started by abhishek2301 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at physicsforums):
Originally Posted by abhishek2301 Hello,
I want to maximize a linear equation: 4*a + 8*b + 7 using linear programming?
Is there are any other method to do it?
Thanks!
Well, there're lots.
And a = 0.25.
|
|
Solve the following differential equation
given that and
Started by ashubharatbansal on
, 3 posts
by 2 people.
Answer Snippets (Read the full thread at mymathforum):
We are given the IVP:
where and
The auxiliary equation associated with the ODE is:
and hence.
|