Dynaverse.net

Off Topic => Ten Forward => Topic started by: Sirgod on January 08, 2005, 05:53:28 pm

Title: Sirgod Vs. the Pinata thread.
Post by: Sirgod on January 08, 2005, 05:53:28 pm
Since ToastyO seems to want me to Become Smarter Via Programming, I give him the Following question...

In the pic shown below, the masses m1 and m2 are given, as well as the coefficients of kinetic friction (Mk) and static friction (Ms) between mass m1 and the table. The table is not level but is sloped at an angle theta (assumed to be known) below the horizontal. Assume the pilleys are ideal (massless frictionless) and the cord has negligable mass and does not stretch. The cord is parallel to the table. The rod to which the cord is attached is rigid and immobile. Mass 2 starts at distance h to the floor.

a) Show how to determine whether mass 1 will move when this system is released fron rest. Express your answer in terms of a condition which must be met.

b) Assuming the condition found above is satisfied, show how to find the accelerations of both masses

c) Show how to find the time it takes mass m2 to hit the floor.




Stephen
Title: Re: Sirgod Vs. the Pinata thread.
Post by: toasty0 on January 08, 2005, 10:34:25 pm
*in best Bone's voice*
I'm a programmer, not an engineer dammit!

 :D
Title: Re: Sirgod Vs. the Pinata thread.
Post by: Clark Kent on January 09, 2005, 12:03:22 am
Hey stephen, maybe you could use some of these physics and engineering skills to make soem X rated gizmos for my...um....home movies (yeah, that's it)?   ;D
Title: Re: Sirgod Vs. the Pinata thread.
Post by: toasty0 on January 09, 2005, 12:07:05 am
Yo! Hey, just cause you tried to stump me with a non-programming question doesn't mean you get off  easy.

This one is free, but does come attached with a question. This is written in C# for an ASP.Net page (mine actually-- go to  http://www.toasty0.com to see the code in action) and is fairly straight forward. My question to you bro, is how do I change the font for the two label controls?

Code: [Select]
private void InitializeComponent()
{
string bob= Request.Url.AbsolutePath;
string hosted=Request.UserHostAddress;
string brow=Request.UserAgent;
System.Web.HttpBrowserCapabilities browser=Request.Browser;
lblIPDisplay.BackColor=System.Drawing.Color.Aqua;
lblIPDisplay.Text="Your IP is " +hosted +" and you're using " +
browser.Type + " to view this page.";
lblBreadCrumb.BackColor=System.Drawing.Color.LightBlue;
lblBreadCrumb.Text=bob;

}

Mahawawawa...
Title: Re: Sirgod Vs. the Pinata thread.
Post by: stoneyface on January 09, 2005, 12:33:48 am
its been a while since programming class  and i'm stoned but i would guess

lblIPDisplay.Font=System.Display.Font#

i will hurl myself upon the closest sword if i'm wrong ;)
Title: Re: Sirgod Vs. the Pinata thread.
Post by: toasty0 on January 09, 2005, 01:22:48 am
its been a while since programming class  and i'm stoned but i would guess

lblIPDisplay.Font=System.Display.Font#

i will hurl myself upon the closest sword if i'm wrong ;)

Now now, none of the hurling stuff aorund here. A minute or two in the agonizer booth will do just fine for your incorrectedness.
Title: Re: Sirgod Vs. the Pinata thread.
Post by: stoneyface on January 09, 2005, 05:13:57 am
/me grabs C book off shelf...


i knew it had been too long ;)

all yours sirgod!
Title: Re: Sirgod Vs. the Pinata thread.
Post by: Capt. Mike on January 09, 2005, 08:58:31 am
Since ToastyO seems to want me to Become Smarter Via Programming, I give him the Following question...

In the pic shown below, the masses m1 and m2 are given, as well as the coefficients of kinetic friction (Mk) and static friction (Ms) between mass m1 and the table. The table is not level but is sloped at an angle theta (assumed to be known) below the horizontal. Assume the pilleys are ideal (massless frictionless) and the cord has negligable mass and does not stretch. The cord is parallel to the table. The rod to which the cord is attached is rigid and immobile. Mass 2 starts at distance h to the floor.

a) Show how to determine whether mass 1 will move when this system is released fron rest. Express your answer in terms of a condition which must be met.

b) Assuming the condition found above is satisfied, show how to find the accelerations of both masses

c) Show how to find the time it takes mass m2 to hit the floor.




Stephen

I don't have the intrinsic knowledge to do a:   However, b and c are dependent on location, since gravity is not exactly equal in every location, which is why our weights in the cal lab are standardized to the location of the lab.  i.e. 1 lb at NIST could be .999999346 lb here in Omaha.

Always ready to throw a wrench in

And to quote Sir Sidney Fud (from "I Think We're all Bozos on this Bus)..."If you push something hard enough, it will fall over"

Mike
Title: Re: Sirgod Vs. the Pinata thread.
Post by: Sirgod on January 09, 2005, 01:03:39 pm
/me grabs C book off shelf...


i knew it had been too long ;)

all yours sirgod!

Change the Font? Easy, Hit the Capslock Key. The Type will Defininatly Look Differant.

Stephen
Title: Re: Sirgod Vs. the Pinata thread.
Post by: toasty0 on January 09, 2005, 02:10:37 pm
/me grabs C book off shelf...


i knew it had been too long ;)

all yours sirgod!

Change the Font? Easy, Hit the Capslock Key. The Type will Defininatly Look Differant.

Stephen


oohhhh, you wisenhiemer
Title: Re: Sirgod Vs. the Pinata thread.
Post by: stoneyface on January 09, 2005, 02:30:13 pm
that's it sirgod,
surround him and escape in the confusion!

;););)
Title: Re: Sirgod Vs. the Pinata thread.
Post by: Sirgod on January 09, 2005, 02:40:06 pm
that's it sirgod,
surround him and escape in the confusion!

;););)

Muahahaha, I love the way you think Old Friend. How did the Treatments go BTW? I hope to hell, your getting better Jim.

Stephen
Title: Re: Sirgod Vs. the Pinata thread.
Post by: toasty0 on January 11, 2005, 02:31:06 am
Since ToastyO seems to want me to Become Smarter Via Programming, I give him the Following question...

In the pic shown below, the masses m1 and m2 are given, as well as the coefficients of kinetic friction (Mk) and static friction (Ms) between mass m1 and the table. The table is not level but is sloped at an angle theta (assumed to be known) below the horizontal. Assume the pilleys are ideal (massless frictionless) and the cord has negligable mass and does not stretch. The cord is parallel to the table. The rod to which the cord is attached is rigid and immobile. Mass 2 starts at distance h to the floor.

a) Show how to determine whether mass 1 will move when this system is released fron rest. Express your answer in terms of a condition which must be met.

b) Assuming the condition found above is satisfied, show how to find the accelerations of both masses

c) Show how to find the time it takes mass m2 to hit the floor.




Stephen

int gcd( int num1, int num2 )
{
   int remainder = num2 % num1;
   
   if ( remainder != 0 )
      return gcd( remainder,num1 );
   
   return num1;
}


Is that the answer you're looking for...or not?