Results 1 to 2 of 2

Math Help - Maple procedure, solving f(x)=0

  1. #1
    Newbie
    Joined
    Oct 2011
    Posts
    9

    Maple procedure, solving f(x)=0

    I am so useless at Maple and can only do very basic things on it. My lecturer wants us to do this (below) and everyone is struggling and has no idea how to do it. D:

    I have spent hours researching how I can do it but I'm getting no where. Could I get some pointers of how to do this please?

    Write a Maple procedure that solves the eqn f(x)=0 for an arbitrary function as follows:

    1) Apply one iteration of the method of false position
    2) If the search interval is not reduced by 50% or more, apply 1 iteration of the bisector method
    3) Return to step 2) and repeat

    The procedure should take 3 arguments: a function f(x), & the bounds of the initial search interval. Include an instruction to display the number of iterations used by the procedure.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4

    Re: Maple procedure, solving f(x)=0

    Quote Originally Posted by CourtneyMoon View Post
    I am so useless at Maple and can only do very basic things on it. My lecturer wants us to do this (below) and everyone is struggling and has no idea how to do it. D:

    I have spent hours researching how I can do it but I'm getting no where. Could I get some pointers of how to do this please?

    Write a Maple procedure that solves the eqn f(x)=0 for an arbitrary function as follows:

    1) Apply one iteration of the method of false position
    2) If the search interval is not reduced by 50% or more, apply 1 iteration of the bisector method
    3) Return to step 2) and repeat

    The procedure should take 3 arguments: a function f(x), & the bounds of the initial search interval. Include an instruction to display the number of iterations used by the procedure.
    The algorithm is independedent of the computational tool. So first define your algorithm in any suitable manner (flow chart, psuedo-code, an itterative procedure...) but make it explicit. Then worry about the details of implementation in LE>

    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 0
    Last Post: November 30th 2011, 03:25 PM
  2. gram-schmidt procedure
    Posted in the Advanced Algebra Forum
    Replies: 2
    Last Post: November 7th 2010, 02:33 PM
  3. Problem solving ODE numerically using Maple
    Posted in the Math Software Forum
    Replies: 0
    Last Post: December 16th 2009, 06:03 PM
  4. Questions about procedure
    Posted in the Calculus Forum
    Replies: 6
    Last Post: February 12th 2009, 10:40 PM
  5. Need help solving this problem using Maple
    Posted in the Calculus Forum
    Replies: 0
    Last Post: October 23rd 2007, 05:12 PM

Search Tags


/mathhelpforum @mathhelpforum