i din't get ur question. isn't the equation "*(x - 7) + 7 = (x + 1) - 5*" invalid ?
-- Thanks and Regards, Amol Sharma On Wed, Jan 15, 2014 at 3:34 AM, Arpit Sood <[email protected]> wrote: > Equivalent to solving an infix expression using stack with a pair (first > variable, second constant) as the element > > > On Sat, Jan 11, 2014 at 6:50 AM, atul anand <[email protected]>wrote: > >> Hello, >> >> How to solve an equation with one unknown variable ? >> operator allowed are : + , - >> >> for eg . input could be :- >> x + ( 5 + 4 ) = 6 >> (x - 7) + 7 = (x + 1) - 5 >> >> If operator also allows " * " (multiply) , then what change in algorithm >> is required. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
