Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Drawing a path

  1. Jun 22, 2004 #1
    I have a matrix NxN (N small squares), I start to go from position (0,0) to (N,N) in which each edge passes from a square to either its right neighbor or its lower neighbor, and every square in the path if of the form (i,j)-the same as the position representation where j must be larger than i-1.
    Can you draw me the path for me to go now ?
     
  2. jcsd
  3. Jun 22, 2004 #2

    Gokul43201

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    (0,0) (0,1) (1,1) (1,2) (2,2) (2,3) (3,3) ...(n-1,n-1) (n-1,n) (n,n)

    1 step down, 1 step right, 1 step down, 1 step right, 1 step down, 1 step right, ...
    with (0,0) at top-left and (n,n) at bottom right.
     
  4. Jun 22, 2004 #3
    Thank Gokul a lot, (smile)
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook




Loading...
Similar Threads for Drawing path Date
Have You Ever Won a Random Drawing Prize? Jan 14, 2018
Drawing animals is my hobby Oct 3, 2014
Anyone remember magnetic drawing boards? May 17, 2013
Help drawing Psi Oct 11, 2012