472,119 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 software developers and data experts.

Picard's method

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
8 7181
r035198x
13,262 8TB
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
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
4,677 Expert Mod 4TB
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
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
JosAH
11,448 Expert 8TB
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
r035198x
13,262 8TB
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
JosAH
11,448 Expert 8TB
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
r035198x
13,262 8TB
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.

Similar topics

11 posts views Thread by Dave Rahardja | last post: by
4 posts views Thread by daniel.w.gelder | last post: by
7 posts views Thread by greenflame | last post: by
5 posts views Thread by Nick Flandry | last post: by
10 posts views Thread by Mihai Osian | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.