Java Lesson 6  Method of the Math Class
Videos 

Text 

READ text then COMPLETE assignments below.
Your browser does not support viewing this document. Click here to download the document.
Assignments


Exercises on Lesson 6
Download and complete exercises for Lesson 6. Save and upload file here.
bp6ex.docx  
File Size:  19 kb 
File Type:  docx 
Project  Compute This
Create a new project called
ComputeThis having a class called
Tester. The main method of Tester should calculate the value of the
following formulas and present the answers
as shown.
d1 = 3πsin(187°) + cos(122°)
(Remember that the arguments of sin and cos must be in radians.)
d2 = (14.72)3.801 + ln 72
(ln means log base e)
The output of your code should appear as follows:
d1 = 0.618672237585067
d2 = 27496.988867001543
Verify these answers with a calculator.