subject

Java Eclipse homework. I need help coding this Project6A - Compute this

package: proj6A
class: ComputeThis

Create a new package in your Lesson 06 folder called project6a.
Next create a class named ComputeThis.
The main method of 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

Extend: Now write a program to calculate the surface area and volume of a cylinder with a radius of 2 feet and a height of 5 feet.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
What is the worst-case complexity of the maxrepeats function? assume that the longest string in the names array is at most 25 characters wide (i.e., string comparison can be treated as o( class namecounter { private: int* counts; int nc; string* names; int nn; public: namecounter (int ncounts, int nnames); int maxrepeats() const; }; int namecounter: : maxrepeats () { int maxcount = 0; for (int i = 0; i < nc; ++i) { int count = 1; for (int j = i+1; j < nc; ++j) { if (names[i] == names[j]) ++count; } maxcount = max(count, maxcount); } return maxcount; }
Answers: 3
question
Computers and Technology, 22.06.2019 23:30
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Quick pl which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. a company wants to use online methods to target more customers. it decides to conduct a market research by collecting the data of a few customers with their consent. they want to track data of the sites that their customers frequently visit. which software can the company? a. spyware b. bots c. adware d. trojan horse e. rootkits
Answers: 1
You know the right answer?
Java Eclipse homework. I need help coding this Project6A - Compute this

package: proj6A...
Questions
question
Mathematics, 24.04.2021 17:00
question
History, 24.04.2021 17:00
question
Mathematics, 24.04.2021 17:00
question
Mathematics, 24.04.2021 17:00
question
Mathematics, 24.04.2021 17:00
Questions on the website: 13722367