By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,192 Members | 1,253 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,192 IT Pros & Developers. It's quick & easy.

Picard's method

P: 1
I need c code for picard's method, Inverse of a matrix, Newtons forward and backward inter polation, numerical differentiations. Pls help as soon as possible
Sep 22 '06 #1
Share this Question
Share on Google+
8 Replies


10K+
P: 13,264
I need c code for picard's method, Inverse of a matrix, Newtons forward and backward inter polation, numerical differentiations. Pls help as soon as possible
Sometimes the best way to learn these things is to get the algorithms, understand their general ideas and then try tranlating them to C yourself. It may be much easier than you think actually.

Of course when you do get stuck at a more specific point, you could always post and get help. I would not expect there to be a hundred people willing to do all that for you.
Sep 22 '06 #2

P: 2
Sometimes the best way to learn these things is to get the algorithms, understand their general ideas and then try tranlating them to C yourself. It may be much easier than you think actually.

Of course when you do get stuck at a more specific point, you could always post and get help. I would not expect there to be a hundred people willing to do all that for you.
respected sir/madam.
i dont have idea to do this program. so if u are having this program please send me. or otherwise tell me a way to get the program from website.
Jul 11 '07 #3

sicarie
Expert Mod 2.5K+
P: 4,677
respected sir/madam.
i dont have idea to do this program.
1) figure out your problem
2) create an algorithm to solve your problem
3) create pseudocode from your algorithm
4) code your pseudocode

Those are the steps to most, if not all, programming issues. Which part are you on and what do you have a question about?

(If you just ask for the code, this is how we are supposed to respond, as I'm sure you know, because you have read the Posting Guidelines as we ask all posters to do...)

The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidlines.

Then when you are ready post a new question in this thread.
Jul 11 '07 #4

emaghero
P: 85
I need c code for picard's method, Inverse of a matrix, Newtons forward and backward inter polation, numerical differentiations. Pls help as soon as possible
Google the names of the mathematical methods you require. You will find all the information you need. You must understand what you are trying to do with these algorithms before you can implement them in C++.

What are you trying to do anyway? Each of the above algorithms has a different purpose and they are not all related, although I can think of a way in which they might be.
Jul 11 '07 #5

Expert 10K+
P: 11,448
Google for "Numerical Recipes"; the C implementations of the algorithms are
free; the book implements and explains all of the above mentioned algorithms.
(I shouldn't calculate an explicit matrix inverse if I were you because of numerical
inaccuracy).

kind regards,

Jos
Jul 11 '07 #6

10K+
P: 13,264
Google for "Numerical Recipes"; the C implementations of the algorithms are
free; the book implements and explains all of the above mentioned algorithms.
(I shouldn't calculate an explicit matrix inverse if I were you because of numerical
inaccuracy).

kind regards,

Jos
Anyone coding in c must have a copy of numeric recipes. Especially if they're in college.
Jul 11 '07 #7

Expert 10K+
P: 11,448
Anyone coding in c must have a copy of numeric recipes. Especially if they're in college.
Indeed; and anyone with a fireplace should have a copy too because that's where
that book belongs: *in* the fireplace.

The code examples are so bad and so Fortranesque (the original edition). Most
of the code even invokes undefined behaviour and is sometimes simply incorrect,
but for the simple numerical algorithms wanted in this thread the book does fine.
There isn't a less worse book available anyways ...

kind regards,

Jos

ps. bad and good reviews of the NR book.
Jul 11 '07 #8

10K+
P: 13,264
Indeed; and anyone with a fireplace should have a copy too because that's where
that book belongs: *in* the fireplace.

The code examples are so bad and so Fortranesque (the original edition). Most
of the code even invokes undefined behaviour and is sometimes simply incorrect,
but for the simple numerical algorithms wanted in this thread the book does fine.
There isn't a less worse book available anyways ...

kind regards,

Jos

ps. bad and good reviews of the NR book.
Ha ha. How I used to love that book in college. Now I have to find it and throw it away?
Jul 11 '07 #9

Post your reply

Sign in to post your reply or Sign up for a free account.