Dec 20, 2006 #1 F 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
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
Dec 21, 2006 #2 C comp_freak Member level 1 Joined Jan 19, 2006 Messages 40 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,286 Activity points 1,687 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++ 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!
Jan 6, 2007 #3 F fatma1000 Banned Joined Apr 30, 2006 Messages 147 Helped 3 Reputation 6 Reaction score 2 Trophy points 1,298 Location eygpt Activity points 0 Re: help me in c++ please i need a code in c++ to solve this problem or to get the inverse of matrices thanks
Re: help me in c++ please i need a code in c++ to solve this problem or to get the inverse of matrices thanks