Topic: Sirgod Vs. the Pinata thread.  (Read 2775 times)

0 Members and 2 Guests are viewing this topic.

Offline Sirgod

  • Whooot Master Cattle Baron
  • Global Moderator
  • Vice Admiral
  • *
  • Posts: 27844
  • Gender: Male
Sirgod Vs. the Pinata thread.
« 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
"You cannot exaggerate about the Marines. They are convinced to the point of arrogance, that they are the most ferocious fighters on earth - and the amusing thing about it is that they are."- Father Kevin Keaney, Chaplain, Korean War

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: Sirgod Vs. the Pinata thread.
« Reply #1 on: January 08, 2005, 10:34:25 pm »
*in best Bone's voice*
I'm a programmer, not an engineer dammit!

 :D
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline Clark Kent

  • Captain
  • *
  • Posts: 6071
  • Gender: Male
Re: Sirgod Vs. the Pinata thread.
« Reply #2 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
CK

But tell me, can you heal what father's done?
Or fix this hole in a mother's son?
Can you heal the broken worlds within?
Can you strip away so we may start again?
Tell me, can you heal what father's done?
Or cut this rope and let us run?
Just when all seems fine, and I'm pain free, you jab another pin,
Jab another pin in me
-Metallica

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: Sirgod Vs. the Pinata thread.
« Reply #3 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...
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline stoneyface

  • Dark Lord of the Spliff
  • Lt. Commander
  • *
  • Posts: 2048
  • Gender: Male
  • i reject your reality and substitute my own
Re: Sirgod Vs. the Pinata thread.
« Reply #4 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 ;)
BlackOps agent for XenoCorp...

"Sic gorgiamos allos subjectos nunc" - we gladly feast on those who would subdue us...

DMT = Load Universe into Cannon. Aim at Brain. Fire.   -Nietzsche was pietzsche-




Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: Sirgod Vs. the Pinata thread.
« Reply #5 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.
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline stoneyface

  • Dark Lord of the Spliff
  • Lt. Commander
  • *
  • Posts: 2048
  • Gender: Male
  • i reject your reality and substitute my own
Re: Sirgod Vs. the Pinata thread.
« Reply #6 on: January 09, 2005, 05:13:57 am »
* stoneyface grabs C book off shelf...


i knew it had been too long ;)

all yours sirgod!
BlackOps agent for XenoCorp...

"Sic gorgiamos allos subjectos nunc" - we gladly feast on those who would subdue us...

DMT = Load Universe into Cannon. Aim at Brain. Fire.   -Nietzsche was pietzsche-




Offline Capt. Mike

  • Live from Granpa's Grotto
  • Captain
  • *
  • Posts: 6616
  • Gender: Male
Re: Sirgod Vs. the Pinata thread.
« Reply #7 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
Summum ius summa iniuria.

The more law, the less justice.

Cicero, De Officiis, I, 33

"It doesn't, and you can't, I won't, and it don't
it hasn't, it isn't, it even ain't, and it shouldn't
it couldn't"
FZ, 1974

My chops were not as fast...[but] I just leaned more on what was in my mind than what was in my chops.  I learned a long time ago that one note can go a long way if it's the right one, and it will probably whip the guy with twenty notes.
 --Les Paul

Offline Sirgod

  • Whooot Master Cattle Baron
  • Global Moderator
  • Vice Admiral
  • *
  • Posts: 27844
  • Gender: Male
Re: Sirgod Vs. the Pinata thread.
« Reply #8 on: January 09, 2005, 01:03:39 pm »
* stoneyface 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
"You cannot exaggerate about the Marines. They are convinced to the point of arrogance, that they are the most ferocious fighters on earth - and the amusing thing about it is that they are."- Father Kevin Keaney, Chaplain, Korean War

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: Sirgod Vs. the Pinata thread.
« Reply #9 on: January 09, 2005, 02:10:37 pm »
* stoneyface 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
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline stoneyface

  • Dark Lord of the Spliff
  • Lt. Commander
  • *
  • Posts: 2048
  • Gender: Male
  • i reject your reality and substitute my own
Re: Sirgod Vs. the Pinata thread.
« Reply #10 on: January 09, 2005, 02:30:13 pm »
that's it sirgod,
surround him and escape in the confusion!

;););)
BlackOps agent for XenoCorp...

"Sic gorgiamos allos subjectos nunc" - we gladly feast on those who would subdue us...

DMT = Load Universe into Cannon. Aim at Brain. Fire.   -Nietzsche was pietzsche-




Offline Sirgod

  • Whooot Master Cattle Baron
  • Global Moderator
  • Vice Admiral
  • *
  • Posts: 27844
  • Gender: Male
Re: Sirgod Vs. the Pinata thread.
« Reply #11 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
"You cannot exaggerate about the Marines. They are convinced to the point of arrogance, that they are the most ferocious fighters on earth - and the amusing thing about it is that they are."- Father Kevin Keaney, Chaplain, Korean War

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: Sirgod Vs. the Pinata thread.
« Reply #12 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?

MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista