Recent content by Deathfish

  1. D

    How do I get started with Internet of Things programming?

    I'm looking for a good microcontroller which is compatible with Internet of Things and relatively easy to program. Preferably has development resources for IoT readily available. Someone recommend me a suitable product? I am looking to start tinkering with IoT
  2. D

    Fed up with Visio - Modify things a bit and the whole diagram breaks

    I have been using Visio for a few days now and I'm frustrated because I can't edit my UML sequence diagram a bit without the whole thing falling apart. Say I have it already nicely done and I want to add an alt box. When I shift the whole thing down, some of the activation bars and message...
  3. D

    Java Java - Are methods instantiated or initialized?

    I tried searching difference between instantiation and initialization but all results were about either variables or objects. But what about methods? Are methods instantiated or initialized? static methods? instance methods? Thanks
  4. D

    Java [Java] If-else involving strings

    I have an if-else piece of code involving strings String color = sc.nextLine(); if (color == "R" || color == "r"){ System.out.println("red"); } else if (color == "G" || color == "g"){ System.out.println("green"); } else if (color == "B" || color == "b"){...
  5. D

    Java Java rule on Methods with multiple parameters

    Ok turns out has something to do with inheritance but how does this affect the rules?
  6. D

    Java Java rule on Methods with multiple parameters

    Let's say a method or constructor has multiple parameters example in DecimalFormat -- public final StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos) if you don't declare all of the parameters, what happens to those that are not...
  7. D

    Java Urgent: Resolve Java Error - Single Quote Character Outputting æ

    Thanks! think i figured it out... I realized I was copying to and from Microsoft Word, think the formatting got copied over too... I deleted the character and keyed in via keyboard myself and it works fine now
  8. D

    Java Urgent: Resolve Java Error - Single Quote Character Outputting æ

    Hi, I am programming a command line program in Java. When I try to use System.out.print to print a single quote character, it outputs æ instead. So I get output like Johnæs height is 1.72 m instead of John's height is 1.72m I tried using escape sequence and i get illegal escape...
  9. D

    Valid Variable Names: Rules & Tests

    Hi all, I would like to clarify regarding valid variable names. Well what I fairly understand are the rules regarding names.. What I am unsure about is -- in a test, is there any way to spot a reserved name? For example to make things difficult, trick question, sometimes the question will...
  10. D

    Someone explain hybrid zero dynamics in simple english?

    Homework Statement I'm working on a bipedal walker and as part of initial research I found hybrid zero dynamics as a solution to help detect terrain. The current method used is combining data from accelerometer and gyroscope and using Kalman Filter to find angle in x,y,z planes...
  11. D

    State null and alternative hypothesis for 2-sample t-test

    Homework Statement A new type of medical tubing is being developed by company ABC. The development engineer would like to test whether the tube has better elongation than the competitor's design. State the hypotheses that should be tested in this experiment The Attempt at a Solution...
  12. D

    Sampling frequency and square waves

    Homework Statement Lets say I have a square wave of 10Hz. I want a good sampling frequency or the Nyquist rate (minimum) to accurately capture its characteristics without aliasing. Is it enough to use 10Hz x 2 as nyquist rate, or must I break it down into harmonic frequencies? and use...
  13. D

    State hypothesis for 2k factorial design

    i need some way to express it in terms like Ho : τ1 = τ2 = τ3 ... τa =0 Ha : at least one τi ≠ 0 however i need equation that is suitable for this specific purpose is it just Ho : τ1 = τ2=0 Ha : at least one τi ≠ 0
  14. D

    State hypothesis for 2k factorial design

    How to state null and alternative hypothesis for 2k factorial design of two factors? The Attempt at a Solution All i can think of right now is null hypothesis - Factor A effects not significant. alternative hypothesis - Factor A effects significant null hypothesis - Factor B effects...
Back
Top