home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / win3l / 12865 < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.1 KB  |  31 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!uvaarpa!darwin.sura.net!paladin.american.edu!auvm!UALR.EDU!KDLUTES
  3. X-Envelope-to: win3-l@UICVM.BITNET
  4. Message-ID: <00967239.A53AE0C0.19429@UALR.EDU>
  5. Newsgroups: bit.listserv.win3-l
  6. Date:         Mon, 25 Jan 1993 13:04:01 EST
  7. Sender:       Microsoft Windows Version 3 Forum <WIN3-L@UICVM.BITNET>
  8. From:         kdlutes@UALR.EDU
  9. Subject:      Algorithm to solve simple algebraric equations
  10. Lines: 19
  11.  
  12. I'm working on developing a windows program and I need to write
  13. a routine that will solve simple algebraric equations.  I'm hoping someone
  14. out here has already done this, or maybe seen an algorithm in some
  15. publication somewhere.
  16.  
  17. The routine only needs to solve simple equations involving + - * / and
  18. parenthesis.  For example:
  19.  
  20.         100 - (( 75 / 100) + (78 / 100) * .25)
  21.  
  22. I'm sure this exercise has been programmed a zillion times, so I
  23. thought that before I wasted too much time donig it again I would tap
  24. the vast knowledge base here.
  25.  
  26. (I know its not necessarily a Windows question, but this forum is
  27. where all the brilliant people converse, right?)
  28.  
  29. Kyle Lutes
  30. KDLUTES@UALR.EDU
  31.