Page 1 of 2 12 LastLast
Results 1 to 25 of 26

Thread: Math skills for Java?

  1. #1
    Join Date
    Apr 2007
    Location
    The Buckeye State
    Posts
    482
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Math skills for Java?

    Well, I will be taking a Java course my Senior year of high school, but i must wait until then because it is required that you taking/have had a year in calculus to be able to join the class. Is there really that much math to Java?
    I like my coffee black just like my metal.

  2. #2
    Join Date
    Jan 2007
    Location
    Kansas
    Posts
    3,760
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    I haven't scripted a ton with Java but from my experience you don't use a lot of math. You should ask Ben as he has done more stuff with Java.


  3. #3
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    it depends on what you are doing. For an entry level course, you wont need any calculus. Depends on what you are doing though, you can make stuff as complex and math oriented as it needs to be. Drawing functions are very math oriented... etc.
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  4. #4
    Join Date
    Oct 2006
    Location
    Ireland
    Posts
    855
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What is calculus? Like differentiation and integration and stuff like that?

  5. #5
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Calculus = a kind (or level?) of math.

  6. #6
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ~alex~ View Post
    What is calculus? Like differentiation and integration and stuff like that?
    for the most part, yes.

    my calc class went over a few other basic things that are nice to know too.
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  7. #7
    Join Date
    Oct 2006
    Location
    Ireland
    Posts
    855
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    We've done integreation and differentiation, and even went over what the curriculum asks us to do lol. They say the extra stuff we done is too advanced :| It really isnt hard and I think people only think its hard because people have told them it is..

  8. #8
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ~alex~ View Post
    We've done integreation and differentiation, and even went over what the curriculum asks us to do lol. They say the extra stuff we done is too advanced :| It really isnt hard and I think people only think its hard because people have told them it is..
    Well, i kinda disagree. I have been through everything up to coledge diferential equations class, and trust me. You think you know how to integreate, and diferetiate, but cha dont! It gets really tricky, especially when it comes to integration. Sure, the simple stuff is easy, but it gets rough fast!
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  9. #9
    Join Date
    Apr 2007
    Location
    The Buckeye State
    Posts
    482
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Bah! So i'm probably best off learning java at someplace like mopar. What languages (prgramming) shold be known before java?
    I like my coffee black just like my metal.

  10. #10
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Java's fine for a starter language, and, since you already know pascal, you have an extra advantage!

    I took 'Intro to Java' my freshman year; it was pretty simple, but we didn't get into gui stuff much. Swing inputboxes was the furthest I got.
    Interested in C# and Electrical Engineering? This might interest you.

  11. #11
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Java is a very good starting language. I had a head start with some ti83 programming, lol. But yeah, I know about 20+ languages now, and they all are very similar to java.
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  12. #12
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    and apparently C++ is a lot like Java which is meant to be one of the best programming languages...I want to be a programmer when i'm older but I really don't know if i have the brains...:S
    Sleeping...

  13. #13
    Join Date
    Oct 2006
    Location
    Ireland
    Posts
    855
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    C++ is considered alot more difficult than Java and probably wouldn't be such a good starter language..

  14. #14
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    If you already know SCAR, any high-middle language shouldn't be too hard to adapt to.
    Interested in C# and Electrical Engineering? This might interest you.

  15. #15
    Join Date
    Apr 2007
    Location
    The Buckeye State
    Posts
    482
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    any preferred places to jearn JAVA? I was briefly looking though, and the SUN JAVA wesite seems to have great tutorials.
    I like my coffee black just like my metal.

  16. #16
    Join Date
    Jan 2007
    Location
    Kansas
    Posts
    3,760
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    http://www.sean.cruels.net/java/

    Best java tut I've ever seen, also what taught me java.


  17. #17
    Join Date
    Aug 2007
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Noboddy fuck me

  18. #18
    Join Date
    Apr 2007
    Location
    Texas
    Posts
    1,668
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by gam3r View Post
    Noboddy fuck me
    Hi and welcome to the forums. You really can relx here, no one is trying to f you .

    But please, try to make your posts relevant to the thred title or a t least clue us in. tHANKS
    [IMG]http://farm3.static.flickr.com/2120/2052732965_348f3629d0_o.jpg[/IMG]

  19. #19
    Join Date
    Aug 2007
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well i think i can learn Java but school they all say is important and at each turn they all said if i got up off my lazy butt i could blow threw all 4 years of high school in 12 months but unleashing my madness on unsuspecting people is mean
    and my reading level is as high as the tests they got go for my age=14.
    but i think i can make them wait i wanna spend some time programing.

  20. #20
    Join Date
    Feb 2006
    Location
    Berkeley, CA
    Posts
    1,837
    Mentioned
    52 Post(s)
    Quoted
    60 Post(s)

    Default

    I'm not sure why all programming classes have high math requirements. What they are trying to do is weed out all of the stupid people that can't understand command flow, boolean logic, and the analytical part of programming. You won't really ever do much math beyond simple calculations and random numbers unless the specific program requires it. Plus, derivatives and integration are easier [and faster] to approximate on a computer than to do in real life. Take this for example, its what I wrote for inverse trig functions before scar had them included.
    Code:
    type funct = function (x: extended): extended;
    
    function simpsons_rule(f: funct; a, b: extended): extended;
    var
      c, h3: extended;
    begin
      c:= (a + b) / 2.0;
      h3:= abs(b - a) / 6.0;
      result:= h3 * (f(a) + 4.0 * f(c) + f(b));
    end;
    
    function recursive_asr(f: funct; a, b, err, sum: extended): extended;
    var
      c, left, right: extended;
    begin
      c:= (a + b) / 2.0;
      left:= simpsons_rule(f, a, c);
      right:= simpsons_rule(f, c, b);
      if (abs(left + right - sum) <= 15 * err) then
      begin
        result:= left + right + (left + right - sum) / 15;
        exit;
      end;
      result:= recursive_asr(f, a, c, err / 2, left) + recursive_asr(f, c, b, err / 2, right);
    end;
    
    function integrate(f: funct; a, b: extended): extended;
    begin
      result:= recursive_asr(f, a, b, 0.000000000001, simpsons_rule(f, a, b));
    end;
    
    function aTan_prime(x: extended): extended;
    begin
      result:= 1 / (1 + x * x);
    end;
    
    function aCos_prime(x: extended): extended;
    begin
      result:= -1.0 / Sqrt(1.0 - x * x);
    end;
    
    function aSin_prime(x: extended): extended;
    begin
      result:= 1.0 / Sqrt(1.0 - x * x);
    end;
    
    function aTan(x: extended): extended;
    begin
      result:= integrate(@aTan_prime, 0.0, x);
    end;
    
    function aCos(x: extended): extended;
    begin
      if (x = -1.0) then
        result:= aTan(1) * 4;
      if (abs(x) <> 1) then
        result:= integrate(@aCos_prime, 0.0, x) + (aTan(1) * 2);
    end;
    
    function aSin(x: extended): extended;
    begin
      result:= x * (aTan(1) * 2)
      if (x <> 1) and (x <> 1.0) then
        result:= integrate(@aSin_prime, 0.0, x);
    end;

  21. #21
    Join Date
    Apr 2007
    Location
    The Buckeye State
    Posts
    482
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    One word Ben: Huh?

    Well, if someone doesn't mind, could someone post how to successfully install all programs needed to write and execute a JAVA script? I know there is a tutorial here, but i can't follow it very well.
    I like my coffee black just like my metal.

  22. #22
    Join Date
    Dec 2006
    Location
    Banville
    Posts
    3,914
    Mentioned
    12 Post(s)
    Quoted
    98 Post(s)

    Default

    Its not a script, its (I think) officially an application. You can make scripts with JavaScript.

    Oh, and the JDK is on the sun website as JDK 6 (or 1.6.0).

    To compile a .java file to a .class go to CommandPrompt and type "javac PATHOFFILE". If it compiles correctly, you can type "java PATHOFCLASSFILE" should work.

    If you're looking for an free IDE, eclipse is listed above netbeans on google, but yahoo says netbeans is better, ans ask.com says Jetbrains is first, then netbeans, the blueJ, then eclipse.

    You choose one.
    The jealous temper of mankind, ever more disposed to censure than
    to praise the work of others, has constantly made the pursuit of new
    methods and systems no less perilous than the search after unknown
    lands and seas.

  23. #23
    Join Date
    Aug 2007
    Posts
    52
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I agree with Ben, there's no reason to have Calculus unless you're trying to make a program that involves calculus. I agree with Ben again that they're just trying to weed out people. I agree with Ben on everything he said...

    He's a smart guy, listen to him.

    Here's a list I found of some IDEs
    http://en.wikipedia.org/wiki/List_of...ironments#Java

    Edit: I know of schools that will teach Java using JCreator, but I think it's pretty bad. If you want to get a head start on your class, maybe ask what they use. Ask if they'd be able to give you a copy (if it's not free).
    Quote Originally Posted by Boreas View Post
    I think of my players as secret agents, that I send out into the field to be invisible. I properly train them to blend in and not die.

    It's my fantasy game within the fantasy game.

  24. #24
    Join Date
    May 2006
    Location
    Qld, Australia
    Posts
    223
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I use textpad mainly because I'm sort of anti IDE because they lag my computer too bad.

    IDE's are ALOT LOT LOT LOT easier though because I know NetBeans has CTRL+SPACE which is useful and it can make forms easier
    Haven't scripted in a while, Willing to proofread, test and provide feedback.

  25. #25
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Everyone can take code from wiki and then afterwards code it in SCAR, Ben.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Looking for Java Programmer(s) for java Game.
    By Windoze in forum Java Help and Tutorials
    Replies: 7
    Last Post: 03-04-2008, 11:03 PM
  2. Skills Tab
    By HyperSecret in forum RS has been updated.
    Replies: 3
    Last Post: 10-20-2007, 03:16 AM
  3. Get skills lite
    By jhildy in forum Research & Development Lounge
    Replies: 2
    Last Post: 10-11-2007, 01:28 AM
  4. including srl skills
    By omgh4x0rz in forum OSR Help
    Replies: 4
    Last Post: 02-11-2007, 02:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •