i wrote a program in which we need to find the values of two variables a and b and then give their sum.But, when i do a+b, it tells

In[60]:= a + b

Out[60]= a + b

what is the problem?

- 10-08-2010suryap.kv1bbsrMathematica program non-coordination between solve function and variable definition?
i wrote a program in which we need to find the values of two variables a and b and then give their sum.But, when i do a+b, it tells

In[60]:= a + b

Out[60]= a + b

what is the problem? - 10-08-2010Salem
Without more code, we canīt say - because we canīt see your screen.

- 10-09-2010suryap.kv1bbsrCode:
`In[55]:= Solve[{2 a + 3 b == 9, a - 23 b == 16}, {a, b}]`

Out[55]= {{a -> 255/49, b -> -(23/49)}}

In[56]:= a + b

Out[56]= a + b

- 10-10-2010carrotcake1029
Looks OK to me. I even plugged it into wolframalpha.com, which is there kind of free to the public calculator that supports mathematica syntax.

Code:`http://www.wolframalpha.com/input/?i=Solve[{2+a+%2B+3+b+%3D%3D+9%2C+a+-+23+b+%3D%3D+16}%2C+{a%2C+b}]`

- 10-11-2010suryap.kv1bbsr