0% found this document useful (0 votes)
22 views

GIN222 Applied Programming For Engineers

Uploaded by

Nabih
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

GIN222 Applied Programming For Engineers

Uploaded by

Nabih
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

GIN222

Applied programming for engineers


The Math class
• The Math class provides methods for common
mathematical calculations.
• Some of which:
– Absolute value
– Exponentiation
– Trigonometric functions
– Random numbers generation
• Already familiar with Math.sqrt and Math.pow.
The Math class

Java Software Solutions, Foundations of Program Design, 4th Edition, Lewis and Loftus, 2005
Pearson Addison-Wesley.
The Math class

Java Software Solutions, Foundations of Program Design, 4th Edition, Lewis and Loftus, 2005
Pearson Addison-Wesley.
The Math class

Java Software Solutions, Foundations of Program Design, 4th Edition, Lewis and Loftus, 2005
Pearson Addison-Wesley.

You might also like