1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Anybody good at mathematics?

Discussion in 'Off Topic' started by Lee, Mar 28, 2013.

  1. Lee

    Lee Well-Known Member

    Can anybody just verify if I am right in thinking the following little equation is correct?

    When working with real and imaginary numbers in polar form I am right in thinking that you times or divide the real part and add or subtract the imaginary part, yes?

  2. intradox

    intradox Well-Known Member

    Have you tried WolframAlpha.com? (100L20°)/(2L60°)


    edit: oops wrong one. Pretty sure this is what you're looking for:
    Pretty sure your answer is correct just need to move the 40 back down for the "proper" notation.

    Edrondol likes this.
  3. Ingenious

    Ingenious Well-Known Member

    I managed to follow this up until the word "Can" :D
    Alien, John and Mrs.T like this.
  4. Sim

    Sim Well-Known Member

    What on earth are you studying that needs you to work with numbers in polar form?

    Not something you come across very often (read: ever!).
    Lee likes this.
  5. Lee

    Lee Well-Known Member

    Electronics. We use them a lot to work out impedances of electronic components. :)
  6. Lee

    Lee Well-Known Member

    Just for the record my answer up there is correct :)
  7. Biker

    Biker Well-Known Member

    Whew! Thank goodness. Because I still have issues with 1+2 (It's 4, by the way).
  8. kkm323

    kkm323 Well-Known Member

    I thought math was my thing :eek:
  9. Alien

    Alien Well-Known Member

    I can count to potato... :p
  10. SilverCircle

    SilverCircle Well-Known Member

    package foo.bar;
    import org.apache.commons.math3.complex.*;
    import org.apache.commons.math3.util.FastMath;
    public class Main {
        public static void main(String[] args) {
            Complex p1 = ComplexUtils.polar2Complex(100, FastMath.toRadians(20));
            Complex p2 = p1.divide(ComplexUtils.polar2Complex(2, FastMath.toRadians(60)));
            double theta = FastMath.atan(p2.getImaginary() / p2.getReal());
            double mag = FastMath.sqrt(p2.getImaginary() * p2.getImaginary() + p2.getReal() * p2.getReal());
            System.out.println(mag + "L" + FastMath.toDegrees(theta));
    So, yeah, you're right - and yes, I'm in idle mode (not sayin' I'm bored), but this took only a couple of minutes anyway :)
    EQnoble likes this.
  11. Lee

    Lee Well-Known Member

    :ROFLMAO: thanks very much!

Share This Page