Dearing author:
I am a student.
I am a beginner in learning R-project.
I have a queation!!
If we want to solve following equation, how can i do first??
We want to solve X's and Y's value!!
When we have two equation:
For example:
2X+3Y=5
X+Y=2
I just take a simple example!!
MY form is more difficult than above example!!
Please help me!! And give me a reference to solve it!!
THANK YOU!!
HUANG
[[alternative HTML version deleted]]
Check out ?solve: m <- matrix(c(2,1,3,1),2) # create 2x2 matrix b <- c(5,2) solve(m,b) .... <at> tknet.tku.edu.tw> writes: : : Dearing author: : I am a student. : I am a beginner in learning R-project. : I have a queation!! : If we want to solve following equation, how can i do first?? : We want to solve X's and Y's value!! : When we have two equation: : For example: : : 2X+3Y=5 : X+Y=2 : : I just take a simple example!! : MY form is more difficult than above example!! : Please help me!! And give me a reference to solve it!! : THANK YOU!! : HUANG
>We want to solve X's and Y's value!! >When we have two equation: >For example: > >2X+3Y=5 >X+Y=2 > > >solve(matrix(c(2,1,3,1),2,2),c(5,2)) yields the solution. see '?solve' (you have to know about matrix algebra to understand this function) Christophe Pallier