Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
ant problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ankur aggarwal  
View profile  
 More options Nov 2, 11:14 pm
From: ankur aggarwal <ankur.mast....@gmail.com>
Date: Tue, 3 Nov 2009 09:44:11 +0530
Local: Mon, Nov 2 2009 11:14 pm
Subject: ant problem

 An ant stays at one corner of a cube. It can go only along the side with
equal probability, and taking one minute to get to another corner. What is
the expect minutes for the ant coming back to the original position?


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
umesh kewat  
View profile  
 More options Nov 3, 3:41 am
From: umesh kewat <umesh1...@gmail.com>
Date: Tue, 3 Nov 2009 14:11:51 +0530
Local: Tues, Nov 3 2009 3:41 am
Subject: Re: [algogeeks] ant problem

Hi ankur,

can you give some more elaboration of that problem becoz i think some
condition will be der. whether max time, min time avg time ...... like of
ant can traverse each once like that........

On Tue, Nov 3, 2009 at 9:44 AM, ankur aggarwal <ankur.mast....@gmail.com>wrote:

>  An ant stays at one corner of a cube. It can go only along the side with
> equal probability, and taking one minute to get to another corner. What is
> the expect minutes for the ant coming back to the original position?

> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.

--
Thanks & Regards

Umesh kewat

Sent from Hyderabad, AP, India


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
xe  
View profile  
 More options Nov 5, 7:19 pm
From: xe <junierol...@gmail.com>
Date: Thu, 5 Nov 2009 16:19:23 -0800 (PST)
Local: Thurs, Nov 5 2009 7:19 pm
Subject: Re: ant problem
7.

Define L1 as being a hop away from the origin, L2 as being 2 hops away
from origin, L3 as being 3 hops away.
Thus we are looking for E[X|L1] since originally the ant is only a hop
away.
So, E[X|L1]=1/3(1)+2/3(E[X|L2]+1) since it may return to the origin
with chance 1/3 or go away another level with chance 2/3
Then, E[X|L2]=2/3(E[X|L1]+1)+1/3(E[X|L3]+1) since it may get closer
with chance 2/3, or further.
Finally, E[X|L3]=E[X|L2]+1 since it has no choice but to get closer.
Hence, E[X|L2]=2/3(E[X|L1]+1)+1/3(E[X|L2]+2) => 2/3(E[X|L2])=2/3(E[X|
L1]+1)+2/3=>E[X|L2]=E[X|L1]+2
Thus, E[X|L1]=1/3(1)+2/3(E[X|L1]+3)=> E[X|L1]=7

On Nov 2, 11:14 pm, ankur aggarwal <ankur.mast....@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
katrohit  
View profile  
 More options Nov 3, 7:20 am
From: katrohit <katro...@gmail.com>
Date: Tue, 3 Nov 2009 04:20:32 -0800 (PST)
Local: Tues, Nov 3 2009 7:20 am
Subject: Re: ant problem
10 mins

On Nov 3, 9:14 am, ankur aggarwal <ankur.mast....@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Geoffrey Summerhayes  
View profile  
 More options Nov 6, 7:23 am
From: Geoffrey Summerhayes <sumr...@gmail.com>
Date: Fri, 6 Nov 2009 04:23:23 -0800 (PST)
Local: Fri, Nov 6 2009 7:23 am
Subject: Re: ant problem
On Nov 2, 11:14 pm, ankur aggarwal <ankur.mast....@gmail.com> wrote:

>  An ant stays at one corner of a cube. It can go only along the side with
> equal probability, and taking one minute to get to another corner. What is
> the expect minutes for the ant coming back to the original position?

Eight minutes.

--
Geoff


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Afroz Mohiuddin  
View profile  
 More options Nov 6, 9:25 pm
From: Afroz Mohiuddin <afrozena...@gmail.com>
Date: Sat, 7 Nov 2009 07:55:03 +0530
Local: Fri, Nov 6 2009 9:25 pm
Subject: Re: [algogeeks] Re: ant problem

7 is correct

On Fri, Nov 6, 2009 at 5:53 PM, Geoffrey Summerhayes <sumr...@gmail.com>wrote:

--
We are here on earth to do good for others. What the others are here for, I
don't know.

Afroz Mohiuddin
Final Year Masters Student
Dept Computer Science and Engineering
Indian Institute of Technology Kanpur
Kanpur - 208016
INDIA

Address:  F-112 Hall 9
Telephone: [91]9838773891
Email: afrozena...@gmail.com
      a...@iitk.ac.in
      a...@cse.iitk.ac.in


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ankur aggarwal  
View profile  
 More options Nov 6, 11:08 am
From: ankur aggarwal <ankur.mast....@gmail.com>
Date: Fri, 6 Nov 2009 21:38:10 +0530
Local: Fri, Nov 6 2009 11:08 am
Subject: Re: [algogeeks] Re: ant problem

@geoffery
plz give your method..


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Geoffrey Summerhayes  
View profile  
 More options Nov 8, 11:07 pm
From: Geoffrey Summerhayes <sumr...@gmail.com>
Date: Sun, 8 Nov 2009 20:07:21 -0800 (PST)
Local: Sun, Nov 8 2009 11:07 pm
Subject: Re: ant problem
On Nov 6, 11:08 am, ankur aggarwal <ankur.mast....@gmail.com> wrote:

> @geoffery
> plz give your method..

Simple enough, xe's analysis is correct,
except xe starts at L1. The ant starts at
the origin and moves to L1 with a probability
of 1, accounting for one extra minute.

So the answer is eight.

--
Geoff


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google