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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 21:50, IdkHowToDoMath
Given int variables k and total that have already been declared, use a while loop to compute the sum of the squares of the first 50 counting numbers, and store this value in total. thus your code should put 11 + 22 + 33 + + 4949 + 50*50 into total. use no variables other than k and total.
Answers: 2
image
Computers and Technology, 23.06.2019 16:00, keyonaemanieevans
Helen is having a meeting with her colleagues in her company. they are working on the goals and objectives for the coming year. they want to ensure that these goals and objectives of the processes involved are properly evaluated. which system can helen and her colleagues apply to evaluate this? helen and her colleagues require a blank to evaluate the goals and objectives.
Answers: 2
image
Computers and Technology, 23.06.2019 21:50, Trinhphuongtran
Description: write function lastfirst() that takes one argument—a list of strings of the format "lastname, firstname" —and returns a list consisting of two lists: (a) a list of all the last names (b) a list of all the first names
Answers: 2
image
Computers and Technology, 24.06.2019 17:40, hughesnatalia2003
File i/o activity objective: the objective of this activity is to practice working with text files in c#. for this activity, you may do all code in the main class. instructions: create an app that will read integers from an input file name numbers. txt that will consist of one integer per record. example: 4 8 25 101 determine which numbers are even and which are odd. write the even numbers to a file named even. txt and the odd numbers to a file named odd. txt.
Answers: 3
You know the right answer?
Java Eclipse homework. I need help coding this Project6A - Compute this

package: proj6A...

Questions in other subjects:

Konu
Mathematics, 19.02.2021 17:00