Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 Help Me ! » Pls Help » 2009-11-05 05:02:05

talhakosen
Replies: 4

Hi all,
8x8 cheesboard how many different ways can you select a block of five neighbour squares?
Two squares are neighbours if they have a common side.
(for 3x3 board  = 49 ways)
clipimage001ab.jpg


i found thats answer in mathisfun from, but it is really long way, but my boss said me that it can be calculated to easily with a little code ( written  by C,C++,C#...). So Does anybody have an idea ? (formulas, algorithm exc...)

#2 Coder's Corner » Calculate a block of five in 8 x 8 board ? » 2009-11-04 08:51:07

talhakosen
Replies: 7

Hi all,

I need to know how to write a code with C or C++  which calculates below

8x8 cheesboard how many different ways can you select a block of five neighbour squares?
Two squares are neighbours if they have a common side.
(for 3x3 board  = 49 ways)

image001.jpg

Thanx

#4 Re: Help Me ! » Electrical Switches, pls help !! » 2009-11-03 00:29:45

firs of all thanks for you answer mathsyperson ! It is really awesome...

5C3 * 7 , i understood it 7 comes from free wire, (AE,AD,BE,BD,CE,CD,DE)

but i couldnt see how 4 wires form can be 15 times in switches.
i can think only 5c4 !!
Could you explain it to me if you have a little time more ...

loopr.png

#5 Re: Help Me ! » Electrical Switches, pls help !! » 2009-11-02 16:54:59

Hi mathsyperson,

210 - 70 - 5 = 135.
i really tought about the number that you . But i couldnt understood how to find them clearly. Could you please give me more info ?
Thanks a lot

#8 Help Me ! » Electrical Switches, pls help !! » 2009-11-01 05:39:03

talhakosen
Replies: 9

how many different ways you can  connect five switches, using four wires.

Board footer

Powered by FluxBB