Recent content by Ocasta

  1. O

    Is UNLV's Computer Science Program Worth Considering for Transfer?

    I'm looking to transfer to University of Nevada Las Vegas. I've read that the local casinos snatch up CS majors like heroin brownies. Can anybody offer any other input to keep in mind? I've checked and they're ABET accredited. I'm currently attending University of Arizona which was ranked in...
  2. O

    Comp Sci Java Help: Decimal Format Class

    Yes I tried it: Exception in thread "main" java.lang.IllegalArgumentException: Malformed pattern "000'-0000" at java.text.DecimalFormat.applyPattern(DecimalFormat.java:2610) at java.text.DecimalFormat.<init>(DecimalFormat.java:435) at PhoneNumberGenerator.main(PhoneNumberGenerator.java:15)...
  3. O

    Comp Sci Java Help: Decimal Format Class

    I tried that, and it threw an exception. PhoneNumberGenerator.java:15: error: illegal escape character DecimalFormat df = new DecimalFormat( "000 \- 0000" ) I ended up separating the number thusly: number = r.nextInt( 10000000 ) ; part1 = number / 10000 ; // this gets the first three...
  4. O

    Comp Sci Java Help: Decimal Format Class

    Homework Statement Problem: Tele-Annoy, a telemarketing company has asked you to write a program that when given the area code to dial, generates the next three potential telephone numbers, and then outputs them to the screen for one of their sales representatives to call. Use the area code...
  5. O

    Find Exponential Equation from data points

    ... and a few seconds after I posted this, I realized that we're using the wrong variable. X instead of t, and it works. Rage! Rage factorial
  6. O

    Find Exponential Equation from data points

    Hi guys I'm helping my girlfriend with her Calc 1 homework and we seem to be stuck on this one problem. Am I missing something obvious? Homework Statement Homework Equations P = P_0 a^t \frac{5}{20} = \frac{P_0 a^1}{P_0 a^{-1}} \frac{1}{4} = a^2 a =...
  7. O

    Finding the net field strength due to a line of charge

    The most frustrating part is that I apparently was correct the first time, but the answer they wanted was positive rather than negative. But looking at the problem, the vector is clearly negative in the X and Y directions!
  8. O

    Finding the net field strength due to a line of charge

    So I talked to my Physics professor, and he took a look at it. Evidently I forgot to carry over an x. Why the solution is positive still confounds me.
  9. O

    Finding the net field strength due to a line of charge

    I literally pasted all the information I was given. >.< Do you have any guidance as to how to figure out what coordinate system I should use?
  10. O

    Calculate Acceleration of 5kg Box w/ μ=.5 & 2kg Mass Falling

    Think of mu (μ) as the magnitude of how much an object cancels out the forces trying to accelerate it. There are two mu values for any object. The static and kinetic friction coefficients. Static is the resistance for an object to acceleration, kinetic is the resistance to acceleration after...
  11. O

    Finding the net field strength due to a line of charge

    I want to apologize ahead of time for my apparent inability to get LaTeX to display properly. Homework Statement λ = 3.8 x 10^(-6) C/m R = 32m r = magnitude of the hypotenuse (the book's convention, a poor choice IMHO) r = \sqrt{R^2 + x^2} k = 8.988 x 10^9 P:(0,-32) cosθ = x/r a→∞...
  12. O

    Evaluating Series Homework Statement

    Homework Statement First, I'd like to thank everybody a head of time. You guys have been an enormous help. Second, I don't mind telling you that I'm finding sequences and series extremely frustrating. I usually pick this stuff up like nobody's business. My problem is attached, but I will copy...
  13. O

    Approximations rules of a function

    It took some mathematical gymnastics, but I eventually got the right number. I'm running into a strange problem with these rules. I don't seem to need to multiply by dx for some reason I can't fathom.
  14. O

    Approximations rules of a function

    I think you were absolutely right, Mark but I plugged this in but I'm getting something just above 0.3, which is way too low.
  15. O

    Approximations rules of a function

    Thanks, Mark44. I must have transcribed my trapezoid rule incorrectly. Thanks for the clarification on my midpoint rule. I'm going to give that a try!
Back
Top