Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Need a code in c++ to solve 3 equations with 3 unknowns

Status
Not open for further replies.

fatma1000

Banned
Joined
Apr 30, 2006
Messages
147
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Location
eygpt
Activity points
0
please i need a code in c++ to solve 3 equations in 3 unknowns like

y1=a1x1+b1x2+c1x3
y2=a2x1+b2x2+c2x3
y3=a3x1+b3x2+c3x3

i need x1 ,x2,x3
thanks
 

Re: help me in c++

I don't have code but here is the way to start

3 equation 3 unknown can be solve using the Cramer's Rule..

so just review Cramer's rule learn how to use the determinant of the coefficient matrix and develop D1 D2 and D3 matrixes... most likey u need to use 3D array to implement them

I hope this would help

Good Luck!
 

Re: help me in c++

please i need a code in c++ to solve this problem or to get the inverse of matrices

thanks
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top