Forum: C Nov 8th, 2008 |
| Replies: 8 Views: 636 I agree: the fourth root of a number, x, is sqrt(sqrt(x)), or pow(x, 0.25). |
Forum: C Oct 2nd, 2008 |
| Replies: 2 Views: 1,247 What functions would you like to convert? Numerical programming is one of my hobbies; I might be able to refer you to some relevant resources. |
Forum: C Mar 28th, 2008 |
| Replies: 10 Views: 1,172 For what purpose will these numbers be used?
If they are just going to be dummy numbers to fill an array for the testing of a program, rand() should do fine. If you want numbers within a certain... |
Forum: C Dec 13th, 2007 |
| Replies: 6 Views: 1,956 Yes, such programs can be made. In fact, programs already exist which do definite integration. Some take a given function that cannot be solved analytically and solve it numerically over a specified... |
Forum: C Dec 18th, 2006 |
| Replies: 2 Views: 8,816 Creating the transpose of a matrix is one of the simplest things to do; creating the matrices themselves will probably take you more time than doing the transpose. Are you having troubles with the... |
Forum: C Sep 11th, 2006 |
| Replies: 11 Views: 5,134 Do you know some conditions ahead of time? For example, will the denominator always be a linear term, such as (x- a)? If so, it would make the program a lot simpler.
You might find something by... |
Forum: C Jul 5th, 2006 |
| Replies: 3 Views: 1,571 I second that suggestion.
sqrt(X) cannot handle negative numbers, so you'll first have to check to see if X is negative. If it is, change it to a positive, and keep track of the fact that the... |