Solved

Calculus source code?

Posted on 1998-08-05
6
265 Views
Last Modified: 2010-04-10
I am a lecturer at a Technicon (more or less the same thing as a community college in the States) in South Africa, busy with a "intelligent" calculus program that'll not only give students the right answer, but actually show them where they have gone wrong. That's the theory, anyway.

What i need is the C++ code for doing the calculus. Although I suppose I can  write this myself, I don't want to re-invent the wheel. I don't need very advanced stuff - just basic differentiation, integration and first order differential equations.

Can somebody point me to a website or maybe a person(s) that has done this before?

Regards,
Willem
0
Comment
Question by:willemnel
6 Comments
 
LVL 2

Expert Comment

by:JYoungman
ID: 1169439
GNU Calc does this, and much, much more:-

http://www.gnu.org/software/calc/calc.html
0
 
LVL 1

Author Comment

by:willemnel
ID: 1169440
I've had a quick look at the website suggested by JYoungman, but I'm not quite sure that this is what I want. If I get no better options, I'll award the points to him.
0
 
LVL 2

Expert Comment

by:duneram
ID: 1169441
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 1

Author Comment

by:willemnel
ID: 1169442
duneram,

The links you give all lead to COMPILED programs - no source code. Unless I'm missing something. Can anybody else help pleeeease?
0
 
LVL 2

Expert Comment

by:duneram
ID: 1169443
Yikes... sorry about that... Glad I didn't post it as an answer!!!  Good Luck
0
 
LVL 8

Accepted Solution

by:
Answers2000 earned 10 total points
ID: 1169444
Locked as requested in "10 pts for free"
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question