Recent content by matineesuxxx
-
Java Why does the output show 1 and not 3?
I agree. Here is a little bit of information: http://www.java2s.com/Tutorial/Java/0020__Language/VariableScope.htm- matineesuxxx
- Post #3
- Forum: Programming and Computer Science
-
Runtime of Seemingly Unpredictable Division Algorithm
Thanks. About the recursion, the way I derived the algorithm, it just seemed natural to use recursion, and so far in my course we are not permitted to use any imperative programming techniques as of yet.- matineesuxxx
- Post #7
- Forum: Programming and Computer Science
-
Runtime of Seemingly Unpredictable Division Algorithm
Yes, I should have commented the code. // To caclulate a/b. // PRE: a > 0, b > 0. // This implementation simlpy returns 0 if b does not divide a. int div_help(int a, int b, int bconst, int quotient, int acc){ // a: numerator // b: denominator // bconst: original denominator (constant)...- matineesuxxx
- Post #5
- Forum: Programming and Computer Science
-
Runtime of Seemingly Unpredictable Division Algorithm
Thank you very much.- matineesuxxx
- Post #3
- Forum: Programming and Computer Science
-
Runtime of Seemingly Unpredictable Division Algorithm
Last week on my computer science assignment I had to write a division algorithm using only addition and subtraction to tackle a problem. My first attempt was the simple and naive repeated subtraction, although I quickly discovered it was not nearly efficient enough for how I needed to use it, So...- matineesuxxx
- Thread
- Algorithm C programming Division Runtime
- Replies: 7
- Forum: Programming and Computer Science
-
Proving the Velocity Formula: vf^2 = vi^2 + 2aΔd
Could this really be considered a proof? One could easily derive this relation through this method as well.- matineesuxxx
- Post #11
- Forum: Introductory Physics Homework Help
-
Proving the Velocity Formula: vf^2 = vi^2 + 2aΔd
what you did is proof enough. In this sense derivation would be proof, because like I said, you are taking relations that are already known to be true, and ending up with the time independent kinematic equation.- matineesuxxx
- Post #8
- Forum: Introductory Physics Homework Help
-
Proving the Velocity Formula: vf^2 = vi^2 + 2aΔd
What do you mean you still have to prove it? you started with true relations and ended up with the required equation; that's how this equation comes about. That's all you need to do.- matineesuxxx
- Post #6
- Forum: Introductory Physics Homework Help
-
Proving the Velocity Formula: vf^2 = vi^2 + 2aΔd
If you know any of the other kinematic equations then write them down and think about how you can eliminate time as a variable. are there any combinations or substitutions you can make given any of the other kinematic equations?- matineesuxxx
- Post #4
- Forum: Introductory Physics Homework Help
-
At the atomic level why is it harmful to stand in an electric field?
This was exactly my point, I think its just easier to understand just how much stronger it is than gravity by choosing an example such as this - where the only thing numerically different about the two equations are the different constants.- matineesuxxx
- Post #7
- Forum: Introductory Physics Homework Help
-
At the atomic level why is it harmful to stand in an electric field?
I don't know too terribly much about electricity, however coulombs law follows the same inverse square law as the gravitational force, but it is much, much stronger than gravity, and so your example of standing between two uncharged bodies A and B is not really comparable. Say you have two...- matineesuxxx
- Post #4
- Forum: Introductory Physics Homework Help
-
What Is the Average Velocity of a Body Moving in a Circle with Constant Speed?
I totally agree. This is one of those types of questions that you may find on a quiz or exam to show them that you truly understand the concept, where you need to be confident in your work and not start second guessing yourself.- matineesuxxx
- Post #12
- Forum: Introductory Physics Homework Help
-
Dropping a ball and calculating its speed.
you don't have the time, as you said. Can you think of any kinematic equation that involves initial and final velocities but excludes the time taken?- matineesuxxx
- Post #3
- Forum: Introductory Physics Homework Help
-
What Are the Accelerations of a Block and Hemisphere Sliding Together?
Sorry, I didn't pay attention to what X was.- matineesuxxx
- Post #24
- Forum: Introductory Physics Homework Help
-
What Are the Accelerations of a Block and Hemisphere Sliding Together?
That's pretty nice! Were you able to figure out the solution to the ellipse problem? (I don't need to see it - just curious) What level do you think this question would be, like, do you think they may ask this in a first year physics course?- matineesuxxx
- Post #22
- Forum: Introductory Physics Homework Help