tags:

views:

476

answers:

4

x+2y=8 , 2x+y=14 this are equations this is just example i gave for understanding . from this equation i like to find x,y values using c# program anybody help for me.how can implement this in program?...

+4  A: 

You need to follow several steps:

  1. You need to have a parser, to pass these two equations.
  2. Then you can use method like Solving Systems of Equations with Matrices ( for linear systems)
Upul
A: 

Wiki also shows some different options.

However as already stated you need to turn these equations into matrices first.

Rippo
A: 

also, this can give you some idea...

Jan
A: 

A library you might find useful is Math.NET.

codebolt