home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!utcsri!torn!csd.unb.ca!morgan.ucs.mun.ca!pico.engr.mun.ca!bibhas
- From: bibhas@pico.engr.mun.ca (Bibhas Bhattacharya)
- Subject: Want function to eval. math expression string...
- Message-ID: <bibhas.721411694@femto.engr.mun.ca>
- Keywords: math
- Sender: usenet@morgan.ucs.mun.ca (NNTP server account)
- Organization: Memorial University of Newfoundland
- Date: Tue, 10 Nov 1992 16:08:14 GMT
- Lines: 14
-
- Hi!
- If you have a funtion which accepts a string of math expression and returns
- the value for a supplied x-value, I would like to use it in one of my
- programs. A typical function call should look similar to this..
- y = evaluate(10.5, " 2 + 3 * sin(x)");
- For which it should return:
- 2 + 3 * sin(10.5) whatever that amounts up to.
- Thanks in advance.
- Bibhas.
- --
- +==========================+=========================+
- | login name: DR. Jackyl | In real life: Mr. Hyde.|
- +==========================+=========================+
- | bibhas@pico.engr.mun.ca |
-