It's been a long time since I asked a question here, but I need help once again.

Long Desc:

I am taking a online course about programming and software design, one of the assignments our teacher has asked us to do was to take a program about how java does math and to add three of our own java math args to it, but as I am new and can't understand the code that my google search's often yield I need some help from you guys, what are a couple args and possibly a dumbed down description as to what the code does.

Short Desc:

I need help learning some java math functions, could you guys by any chance put some code and describe how it works so I can learn it and incorporate it in my work.

Details

These are the args that have already been used so any args that are not these are appreciated, with desc on how it works if possible.round() Method

myNumber1 = Math.round(7.5342);sqrt() Method

squareRoot=Math.sqrt(36);

max() Method

highestValue=Math.max(10,20);This example uses several Math Methods and a Math constant - PI

circleArea=Math.round(Math.PI * Math.pow(8,2));random() Method

randomNumber = Math.random();

Ask Your Question

Weekly Poll

Do you think Google's deal with HTC will work out?

Discuss in The Lounge

Poll History