Click here to Skip to main content
16,005,038 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Sliding Scale Solution Pin
Bert Mitton18-Oct-11 7:43
professionalBert Mitton18-Oct-11 7:43 
GeneralRe: Sliding Scale Solution Pin
Paul Conrad18-Oct-11 14:31
professionalPaul Conrad18-Oct-11 14:31 
AnswerRe: Sliding Scale Solution Pin
jschell19-Oct-11 9:16
jschell19-Oct-11 9:16 
GeneralRe: Sliding Scale Solution Pin
Luc Pattyn19-Oct-11 12:38
sitebuilderLuc Pattyn19-Oct-11 12:38 
GeneralRe: Sliding Scale Solution Pin
kmoorevs19-Oct-11 13:51
kmoorevs19-Oct-11 13:51 
AnswerRe: Sliding Scale Solution Pin
Luc Pattyn19-Oct-11 14:26
sitebuilderLuc Pattyn19-Oct-11 14:26 
GeneralRe: Sliding Scale Solution Pin
kmoorevs20-Oct-11 6:48
kmoorevs20-Oct-11 6:48 
GeneralRe: Sliding Scale Solution Pin
Luc Pattyn20-Oct-11 7:01
sitebuilderLuc Pattyn20-Oct-11 7:01 
No problem.

And your result is correct; you should have done it by hand though in order to learn something.

There basically are two approaches (although they do in essence the same thing):

1. Manually, write down the three (or N) equations. Then replace one by a linear combination of (some of) the others in such a way that one variable disappears; if you do that for all but one of the original equations, always getting rid of the same variable, you end up with n-1 equations in n-1 unknown values (and one of the original equations); you solve that in the same way, so iteratively you get at a single equation, a single unknown.

2. Theoretically, and progrsammatically, you would formulate the set of N equations using a N*N matrix (in the example the coefficients would be 1,1,1, 1,2,3, 2,3,5) and a size-N array with the known values. Then solve that with one of the known algorithms, Gauss-Seidel is one way, LU-decomposition another (it basically does what the manual approach does, with the added benefit that the intermediate steps get recorded in the L- and U-triangle you obtain. Using those, you could quickly solve any similar problem having the same matrix coefficients but different known values.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

QuestionBest place to encrypt passwords Pin
Reiss7-Oct-11 0:51
professionalReiss7-Oct-11 0:51 
AnswerRe: Best place to encrypt passwords PinPopular
Wayne Gaylard7-Oct-11 1:58
professionalWayne Gaylard7-Oct-11 1:58 
GeneralRe: Best place to encrypt passwords Pin
CDP180221-Oct-11 3:37
CDP180221-Oct-11 3:37 
GeneralRe: Best place to encrypt passwords Pin
Wayne Gaylard21-Oct-11 4:16
professionalWayne Gaylard21-Oct-11 4:16 
GeneralRe: Best place to encrypt passwords Pin
CDP180221-Oct-11 4:32
CDP180221-Oct-11 4:32 
GeneralRe: Best place to encrypt passwords Pin
Wayne Gaylard21-Oct-11 4:40
professionalWayne Gaylard21-Oct-11 4:40 
GeneralRe: Best place to encrypt passwords Pin
CDP180221-Oct-11 4:46
CDP180221-Oct-11 4:46 
GeneralRe: Best place to encrypt passwords Pin
Wayne Gaylard21-Oct-11 4:55
professionalWayne Gaylard21-Oct-11 4:55 
GeneralRe: Best place to encrypt passwords Pin
CDP180221-Oct-11 5:00
CDP180221-Oct-11 5:00 
GeneralRe: Best place to encrypt passwords Pin
Wayne Gaylard21-Oct-11 5:09
professionalWayne Gaylard21-Oct-11 5:09 
GeneralRe: Best place to encrypt passwords Pin
CDP180221-Oct-11 5:25
CDP180221-Oct-11 5:25 
GeneralRe: Best place to encrypt passwords Pin
Wayne Gaylard21-Oct-11 5:42
professionalWayne Gaylard21-Oct-11 5:42 
GeneralRe: Best place to encrypt passwords Pin
CDP180221-Oct-11 6:59
CDP180221-Oct-11 6:59 
GeneralRe: Best place to encrypt passwords Pin
Wayne Gaylard21-Oct-11 7:13
professionalWayne Gaylard21-Oct-11 7:13 
AnswerRe: Best place to encrypt passwords Pin
Shameel7-Oct-11 2:56
professionalShameel7-Oct-11 2:56 
AnswerRe: Best place to encrypt passwords Pin
Bert Mitton18-Oct-11 7:49
professionalBert Mitton18-Oct-11 7:49 
GeneralRe: Best place to encrypt passwords Pin
jschell18-Oct-11 8:54
jschell18-Oct-11 8:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.