@Saurabh: No. It represents an equation with no solutions. "(x - 7) + 7 = (x + 1) - 5" reduces algebraically to "0 = -4". Since there are no values of x for which this is a true statement, there are no solutions.
Dave On Monday, January 27, 2014 5:32:19 AM UTC-6, Saurabh Singh_cse_20094016 wrote: > ^ No its not invalid. It just represents an equation with infinitely many > correct solutions depending on the domain of x. > > Saurabh Singh > B.Tech (Computer Science) > MNNIT > blog:geekinessthecoolway.blogspot.com > > > On Mon, Jan 27, 2014 at 4:21 PM, Amol Sharma <[email protected]<javascript:> > > wrote: > >> 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]<javascript:> >> > 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]<javascript:> >>> > 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] <javascript:>. >>>> >>> >>> -- >>> 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] <javascript:>. >>> >> >> -- >> 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] <javascript:>. >> > > -- 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].
