Jump to content

MarkT

WFG Retired
  • Posts

    727
  • Joined

  • Last visited

Posts posted by MarkT

  1. Pascal is one of the best languages for a beginner IMHO, even if TurboPascal's getting a bit old now, so you're doing OK there. It also will let you do some object-oriented coding, if you feel that way inclined.

    Dathui is right, though: There's nothing magical about OO-design that makes it 'better' then procedural absolutely all of the time. It's a right-tool-for-the-right-job sort of thing.

  2. I started learning Java about 3-4 months ago; I didn't really use a book as I already knew C++ (and Java is basically C++ with the interesting stuff taken out... ;))

    Having said that, a good book is called: 'Objects First with Java' by Barnes and Kolling. This book comes with a decent beginner-level IDE called 'BlueJ', which looks like a fairly user-friendly tool to start with.

  3. And yet:

    a^2 + b^2 = 0

    => a^2 = -b^2; b = +/- i.a

    c^2 - a = 3

    => c^2 = a + 3

    4c^2 - 3b = 16i

    => 4(a+3) - 3b = 16i

    => 4a - 3b = 16i - 12

    => 4a +/- 3i.a = 16i - 12

    => a = ( 16i - 12 ) / ( 4 +/- 3i )

    Either: a = -3.84 + 1.12i, b = +/- (3.84.i + 1.12), c = +/- ( 0.529 + 1.058.i ) (approx).

    Or: a = 4i, b = +/- 4, c = +/- ( 2 + i )

    Eight solutions total.

    *chants* TeX, TeX, TeX, TeX, ....

    Next question, anyone?

×
×
  • Create New...