Results 1 to 2 of 2

Math Help - Monotine decreasing functions...

  1. #1
    Junior Member
    Joined
    Apr 2010
    Posts
    59

    Monotine decreasing functions...

    Hey all,

    Its me again, sorry long time since I have been here, im back with another problem, hopefully you guys can help me.

    I have been asked to write a matlab file to show that: f (x) = cos(x) is monotone decreasing on the interval [o,root(pi/2)]

    I know before I start, that I need to used an argument, il call it n, and after the argument has been done, return the upper and lower Riemann sums for f over this interval whilst still having n in equal strips, so I have begun with:

    Quote Originally Posted by MATLAB SHIZ
    function [ U,L ] = sums( n )
    % finds upper and lower sums for
    % cos(x^2) from 0 to sqrt(pi/2)
    % with n equal intervals
    % xi contains the points in the dissection
    % U is the upper sum
    % L is the lower sum
    Now I need to set the paramaters, but im quite stuck with it, wonder if any of you can help me?

    Regards,
    Jason
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by ramdrop View Post
    Hey all,

    Its me again, sorry long time since I have been here, im back with another problem, hopefully you guys can help me.

    I have been asked to write a matlab file to show that: f (x) = cos(x) is monotone decreasing on the interval [o,root(pi/2)]

    I know before I start, that I need to used an argument, il call it n, and after the argument has been done, return the upper and lower Riemann sums for f over this interval whilst still having n in equal strips, so I have begun with:



    Now I need to set the paramaters, but im quite stuck with it, wonder if any of you can help me?

    Regards,
    Jason
    To show that f(x) is monotone decreasing on the given interval it is sufficient to show that f'(x)<=0 (since the function is differentiable on the interval. This hardly seems something that you would do with Matlab (I suppose you could use the symbolic toolbox to find the derivative ... ).

    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Decreasing Functions
    Posted in the Calculus Forum
    Replies: 2
    Last Post: November 19th 2009, 10:09 AM
  2. increasing and decreasing functions
    Posted in the Calculus Forum
    Replies: 1
    Last Post: November 5th 2009, 01:38 AM
  3. increasing & decreasing functions
    Posted in the Pre-Calculus Forum
    Replies: 0
    Last Post: December 16th 2008, 07:18 AM
  4. Increasing and Decreasing Functions
    Posted in the Calculus Forum
    Replies: 2
    Last Post: April 5th 2008, 07:12 PM
  5. Increasing and Decreasing Functions
    Posted in the Calculus Forum
    Replies: 5
    Last Post: February 27th 2008, 03:58 PM

Search Tags


/mathhelpforum @mathhelpforum