Results 1 to 3 of 3

Math Help - Multiplication loops?

  1. #1
    Newbie
    Joined
    Jul 2009
    Posts
    18

    Multiplication loops?

    Hello,

    I am a web-programmer; I am interested in learning how to do this:

    1. Start with a variable, for example "VAR = 1"
    2. Find an expression (EXP) that when multiplied with VAR is unequal to VAR.
    3. Multiply this result with EXP again to produce a new result that is unequal to 1.
    4. Multiply this result with EXP again to produce a new result that is unequal to 1.
    5. Multiply this result with EXP again to produce a new result that is equal to 1.

    The idea is to find a loop where a multiplication can be repeated, and at a predetermined number of repetitions goes back to the number we started with. It is important that the expression is the same every repetition.

    Thanks!

    Kind regards,

    Marius Jonsson
    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 king.oslo View Post
    Hello,

    I am a web-programmer; I am interested in learning how to do this:

    1. Start with a variable, for example "VAR = 1"
    2. Find an expression (EXP) that when multiplied with VAR is unequal to VAR.
    3. Multiply this result with EXP again to produce a new result that is unequal to 1.
    4. Multiply this result with EXP again to produce a new result that is unequal to 1.
    5. Multiply this result with EXP again to produce a new result that is equal to 1.

    The idea is to find a loop where a multiplication can be repeated, and at a predetermined number of repetitions goes back to the number we started with. It is important that the expression is the same every repetition.

    Thanks!

    Kind regards,

    Marius Jonsson
    Is an expression in VAR acceptable?

    CB
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Jul 2009
    Posts
    18
    Yes.

    Marius
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. matlab for loops?
    Posted in the Math Software Forum
    Replies: 5
    Last Post: February 28th 2010, 10:49 PM
  2. While loops
    Posted in the Math Software Forum
    Replies: 3
    Last Post: May 11th 2009, 07:54 PM
  3. how many loops in a coil
    Posted in the Math Topics Forum
    Replies: 2
    Last Post: February 20th 2008, 11:09 AM
  4. While loops round two
    Posted in the Discrete Math Forum
    Replies: 1
    Last Post: October 10th 2007, 12:56 AM
  5. While Loops! Help me please!!!!
    Posted in the Discrete Math Forum
    Replies: 3
    Last Post: October 8th 2007, 02:25 PM

Search Tags


/mathhelpforum @mathhelpforum