Consulting

Results 1 to 8 of 8

Thread: Where was the plane?

  1. #1
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,465
    Location

    Where was the plane?

    Air Show Show-Off (June 2025 Challenge Question)


    Mason's father, Salvatore, is a pilot and earlier today Salvatore flew a plane in formation at an air-show.
    "Which plane did you fly in?" asked Mason.
    Salvatore drew a diagram of 9 planes and said, "The number of planes to right of me, multiplied by the number of planes left of me, is 3 less than it would have been if my plane had been 3 places to the right of me."
    How did Mason solve this problem?


    I'm assuming Salvatore was in position 6?
    Last edited by Aussiebear; Yesterday at 03:34 AM.
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  2. #2
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,857
    Location
    I get Plane 4

    But it depends on how your interpet "Three places to the right of me"

    I did not count the plane he was in so 3 places to the right of #1 would be #7

    Capture.JPG
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

  3. #3
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,465
    Location
    I have now also come up with Plane #4 but my reasoning is slightly different.
    Screenshot 2025-06-25 at 04.39.32.jpg
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  4. #4
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,465
    Location
    I have seen the following answers

    0x8=0, 1x7=7, 2x6=12, 3x5=15, 4x4=16, 5z3=15, 6x2=12, 7x1=7, 8x0=0
    He was 3rd from the left, (2x6) = (5x3) - 3
    and this which I'm yet to work through

    (9-x)(x-1)=(9-(x+3))(x+2)-3
    Which should be right up your alley Paul.....

    And for those of you who are still thinking about the solution.
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  5. #5
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,465
    Location
    Which got me thinking if I used the formula in post#4....

    If X = 1 then it compiles to 9 & 12, which would satisfy the desired outcome. However if X were to equal a value between 2 and 9 the results are wildly inaccurate.
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  6. #6
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,465
    Location
    I have just seen another "answer"

    FULL AND PROPER STEP BY STEP ALGEBRA:
    L = planes to the left
    R = planes to the right
    L+R=8

    Set it up [algebra is fun]:
    [L * R] +3 = [L+3] * [R-3] --> NOW SUB IN "8-L" WHEREVER YOU SEE "R":
    L[8-L] + 3 = [L+3] * [8-L-3]
    8L - L^2 + 3 = [L+3] * [5 - L]
    8L - L^2 + 3 = 5L - L^2 +15 - 3L
    8L - L^2 + 3 = 2L - L^2 + 15
    8L + 3 = 2L + 15
    6L = 12
    L = 2

    SO WE CONCLUDE THAT IN THE ACTUAL FORMATION HE WAS #3. 2*6=12. HAD HE BEEN #6, THE MATH IS 5*3=15
    12+3=15


    ...which puts me clearly in the sheep class.
    . Not only do I not follow it, the explanation of the position I believe is wrong, or is it?


    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  7. #7
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,960

  8. #8
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,465
    Location
    Thank you P45cal.
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •