Recent content by MikeH

  1. M

    Using grep to find a file that does not contain a word.

    Use the -v option to grep to invert the search results. grep -v "text" *
  2. M

    Rock tossed straight up-Velocity question

    You only want to consider the downward motion of the rock starting from it's highest point (when it stops the upward motion). The only acceleration will be due to gravity. Don't forget to add the extra depth for the hole.
  3. M

    How can I create a PHP code to generate word pairs from a given text?

    Looping through should work fine. One technique might be to use an array to store the counts using text indices as you go through the sentence in a for loop. IE: $arr['the']['quick']++; $arr['quick']['red']++; $arr['red']['fox']++; Then just loop through printing out the counts.
  4. M

    Java Is there a Prolog IDE similar to Netbeans for Java?

    When I took an AI course last year I used the SWI-Prolog editor which comes integrated with the ability to run your code. There's also a Java editor you might consider called J-Prolog however I haven't used that one.
  5. M

    Computer system curious question

    Athlon 2800+ (2.09 ghz) 1 gb dual channel pc3200 ram Asus a7x8n-e mobo Geforce FX5600 256mb 120gb harddrive CD-RW, CD-Rom
  6. M

    Combinations for word parallelogram

    You can't just remove those letters since you can have a combo of aaap and aapl and aplo. Eliminating those letters will eliminate a lot of your combinations.
  7. M

    Finding Principal Root of \sqrt[3]{8i}: Stuck at Arctan?

    Thanks for your help, I found the answer :smile:
  8. M

    Finding Principal Root of \sqrt[3]{8i}: Stuck at Arctan?

    I have to find the principal root of \sqrt[3]{8 i} But I get stuck at this part change this to polar coordinates... r= \sqrt {x^2 + y^2} which makes r=8 but when I try to find \theta \theta = \arctan \frac{y}{x} from the original x = 0 so how do I find \theta?
  9. M

    Force of Object on Inclined Place

    You should be doing this: 122.5sin22 = 45.9N or 45.9kg m/s^2 Fnet = ma a = Fnet/m a = (45.9kg m/s^2)/(12.5kg) a = 3.67 m/s^2
  10. M

    Solving Linear Systems: Hemlock & Blue Spruce Trees

    That wouldn't be showing your linear equations. All of my teachers gave points on tests and quizzes just for writing the equations and the let statements. By doing that it shows that you know the concept of linear equations so if you make a simple addition mistake or something like that you...
  11. M

    Solving Linear Systems: Hemlock & Blue Spruce Trees

    Any question of this sort should be done using algebra. If you find yourself using the trial and error method, remember algebra. Besides trial and error gets you nowheres on a test or assignment.
  12. M

    Solving Christmas Tree, Ocean, and Triangle Physics Problems

    This is a duplicate post. I've responded to the other.
  13. M

    Find height of tree from shadow silhouette

    Have you tried them? Show some work. Hints: 1. There is 180 degrees in a triangle. You know it's an isosceles triange so the other two angles are equal. Find all the angles of the triangle and apply the law of Sines. 2. I'd need to see the diagram to understand it completely. 3...
  14. M

    Solving Linear Systems: Hemlock & Blue Spruce Trees

    Make an equation for each tree in the form of y=mx+b. Use a let statement so you know what each variable represents. So your let statement would be: Let y = total height of tree Let x = number of years Let b = initial height Let m = the rate at which it grows From here you write your...
  15. M

    Understanding Force and Tension: Tips for Solving Problems | Exam Prep

    The easiest way to do tension and force problems is to draw SCALED diagrams. Place your forces tip to tail. From your starting point to the end of your last arrow is your resultant. Using Trig and the laws of sins/cosines you should be able to solve for the angles. If you are asked to find...
Back
Top