subject
Computers and Technology, 31.10.2020 23:10 jazzwok

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.
Take a snip of your answer and post it in the comments.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:40
Write the quartstogallons java class that declares a named constant to hold the number of quarts in a gallon (4). also declare a variable to represent the number of quarts needed for a painting job, and assign an appropriate value—for example, 18. compute and display the number of gallons and quarts needed for the job. display explanatory text with the values, for example:
Answers: 2
question
Computers and Technology, 22.06.2019 08:00
Two technicians are discussing the common u-joint. technician a says its input and output speeds should be equal. technician b says that it normally has two yokes. which technician is correct?
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings starting from index 0. for each match, add one point to userscore. upon a mismatch, exit the loop using a break statement. assume simonpattern and userpattern are always the same length. ex: the following patterns yield a userscore of 4: simonpattern: rrgbryybgy userpattern: rrgbbrybgy
Answers: 2
question
Computers and Technology, 23.06.2019 01:20
Write a function balancechemical to balance chemical reactions by solving a linear set of equations. the inputs arguments are: reagents: symbols of reagents in string row array products: symbols of products in string row array elements: elements in the reaction in string row array elcmpreag: elemental composition of reactants in two dimensional numeric array elcmpprdcts: elemental composition of prducts in two dimensional numeric array hint: the first part of the problem is setting up the set of linear equations that should be solve. the second part of the problem is to find the integers from the solution. one way to do this is to mulitiply the rational basis for the nullspace by increasing larger integers until both the left-and right-side integers exist. for example, for the reaction that involves reacting with to produce and : reagents=["ch4", "o2"]; products =["co2", "h2o"]; elements =["c","h", "o"] elcmpreag=[1,4,0;
Answers: 3
You know the right answer?
Java Eclipse homework. I need help coding this Project6A - Compute this

package: proj6A...
Questions
question
Mathematics, 14.01.2021 23:30
question
Mathematics, 14.01.2021 23:30
question
Arts, 14.01.2021 23:30
question
History, 14.01.2021 23:30
question
Mathematics, 14.01.2021 23:30