Thread: c++ and numerical methods

  1. #1
    Registered User
    Join Date
    Mar 2015
    Posts
    2

    Lightbulb c++ and numerical methods

    i tried this question in yahoo answers but couldn't get help,i hope i am helped here:
    i need to draw/ make a program with C++ for newton s forward difference interpolation formulas for the given set of values.

    data is of the order x,ywhere y=f(x))
    (-1,-0.4401), (-0.75,0.0447), (-0.50,0.4311) (-0.25,0.6694), (0,0.7652), (0.25,0.7522)
    ,(0.50,0.6714),(0.75,0.5587),(1,0.4401)
    i am a teaching assistant at engineering university,unfortunately i have not good a soft background in programming with C++(i know how to do it in matlab though).
    if one of you could build the program,i shall be very very thankful to you

  2. #2
    Registered User
    Join Date
    May 2014
    Posts
    121
    Showing your Matlab code would be a good start.

  3. #3
    Registered User
    Join Date
    Mar 2015
    Posts
    2

    it won't be great because the book says numerical analysis with C++

    Quote Originally Posted by MOS-6581 View Post
    Showing your Matlab code would be a good start.
    ..hopefully won't look too great there

  4. #4
    Citizen of Awesometown the_jackass's Avatar
    Join Date
    Oct 2014
    Location
    Awesometown
    Posts
    269
    He meant that you show the Matlab code you've wrote for the problem, and then they'll guide you into translating it to C++.
    "Highbrow philosophical truth: Everybody is an ape in monkeytown" --Oscar Wilde

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Safeguarding against non-numerical input
    By gratiafide in forum C Programming
    Replies: 10
    Last Post: 12-04-2012, 03:03 PM
  2. Ascending Numerical Order
    By Yizi in forum C Programming
    Replies: 7
    Last Post: 12-08-2009, 07:05 PM
  3. Can you inherit Methods into other methods?
    By bobbelPoP in forum C++ Programming
    Replies: 5
    Last Post: 08-02-2008, 08:32 AM
  4. Numerical Integration
    By Crazed in forum C Programming
    Replies: 13
    Last Post: 03-03-2008, 03:01 PM
  5. Replies: 15
    Last Post: 01-11-2008, 03:57 PM