Results 1 to 2 of 2

Thread: Maple versus matlab in seq and series'

  1. #1
    Junior Member
    Joined
    May 2009
    Posts
    71

    Maple versus matlab in seq and series'

    I solved a 2nd degree taylor polynomial using Matlab and checked it in Maple:
    The function f (x) was: => x * e ^ x, at a = -1

    Maple gives me Tn(x) = -1/e+....
    I do not wish to write it all out here but will state that it give me ln

    If I do the same using Matlab, it gives me the same answer but says log instead of ln.

    Which one is right?
    (On some other posts I read folks saying that ln and log) two different things!
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    5
    Quote Originally Posted by orendacl View Post
    I solved a 2nd degree taylor polynomial using Matlab and checked it in Maple:
    The function f (x) was: => x * e ^ x, at a = -1

    Maple gives me Tn(x) = -1/e+....
    I do not wish to write it all out here but will state that it give me ln

    If I do the same using Matlab, it gives me the same answer but says log instead of ln.

    Which one is right?
    (On some other posts I read folks saying that ln and log) two different things!
    Both, almost universaly in programming languages $\displaystyle \log$ means natural log, also many mathematicians use this convention as default.

    In secondary education and some other places $\displaystyle \ln$ is used for natural log.

    The use of $\displaystyle \log$ without qualification for log to the base 10 is usually confined to secondary education.

    Another common notation is $\displaystyle \lg$ for log to the base 2.

    Sometimes the base does not matter when $\displaystyle \log$ is invariably used.

    Best to always specify the base.

    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 0
    Last Post: Nov 30th 2011, 02:25 PM
  2. maple to solve fourier series
    Posted in the Differential Equations Forum
    Replies: 0
    Last Post: Nov 25th 2010, 06:52 AM
  3. MATLAB- computer cos(x) using taylor series
    Posted in the Math Software Forum
    Replies: 1
    Last Post: Mar 9th 2010, 09:20 AM
  4. call maple routine in matlab
    Posted in the Math Software Forum
    Replies: 0
    Last Post: Apr 25th 2009, 04:32 AM
  5. Infinite Series in Maple
    Posted in the Calculus Forum
    Replies: 4
    Last Post: Nov 18th 2006, 10:45 AM

Search Tags


/mathhelpforum @mathhelpforum