Write a Java application that uses the Math class to determine the answers for each of the
Question:
Write a Java application that uses the Math class to determine the answers for each of the following:
a. The square root of 37
b. The sine and cosine of 300
c. The value of the floor, ceiling, and round of 22.8
d. The larger and the smaller of the character ‘D’ and the integer 71
e. A random number between 0 and 20 (The random() method returns a value between 0 and 1; you want a number that is 20 times larger.) Save the application as MathTest.java.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 55% (9 reviews)
MathTestjava public class MathTest public static void mainString args Systemoutprintln The squar...View the full answer
Answered By
Asim farooq
I have done MS finance and expertise in the field of Accounting, finance, cost accounting, security analysis and portfolio management and management, MS office is at my fingertips, I want my client to take advantage of my practical knowledge. I have been mentoring my client on a freelancer website from last two years, Currently I am working in Telecom company as a financial analyst and before that working as an accountant with Pepsi for one year. I also join a nonprofit organization as a finance assistant to my job duties are making payment to client after tax calculation, I have started my professional career from teaching I was teaching to a master's level student for two years in the evening.
My Expert Service
Financial accounting, Financial management, Cost accounting, Human resource management, Business communication and report writing. Financial accounting : • Journal entries • Financial statements including balance sheet, Profit & Loss account, Cash flow statement • Adjustment entries • Ratio analysis • Accounting concepts • Single entry accounting • Double entry accounting • Bills of exchange • Bank reconciliation statements Cost accounting : • Budgeting • Job order costing • Process costing • Cost of goods sold Financial management : • Capital budgeting • Net Present Value (NPV) • Internal Rate of Return (IRR) • Payback period • Discounted cash flows • Financial analysis • Capital assets pricing model • Simple interest, Compound interest & annuities
4.40+
65+ Reviews
86+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
In 1952, A. S. Douglas wrote his University of Cambridge Ph.D. dissertation on human-computer interaction, and created the first graphical computer gamea version of Tic-Tac-Toe. The game was...
-
Write an application that uses a loop to create the pattern of Os shown in Figure 6-32, in which each O is displayed one additional space to the right. Save the file as DiagonalOs.java.
-
a. Write an application that accepts three Strings from the user and, without regard to case, appropriately displays a message that indicates whether the Strings were entered in alphabetical order....
-
What are the key issues associated with managing an international assignment?
-
Jayden, a calendar year taxpayer, paid $16,000 in medical expenses and sustained a $20,000 casualty loss in 2016. He expects $12,000 of the medical expenses and $14,000 of the casualty loss to be...
-
Jonathan has owned and operated a golf driving range for a number of years. The sole proprietorship has been successful and grown to the point where it now also offers golf lessons and sponsors...
-
An exhaust fan, having a small unbalance, weights \(800 \mathrm{~N}\) and operates at a speed of \(600 \mathrm{rpm}\). It is desired to limit the response to a transmissibility of 2.5 as the fan...
-
East Coast Trucking provides service from Boston to Miami using regional offices located in Boston, New York, Philadelphia, Baltimore, Washington, Richmond, Raleigh, Florence, Savannah, Jacksonville,...
-
Strategic Planning is crucial to an organization's sustainability" 1) how does strategic planning differ from strategic management, and where does planning fit in the development of a strategy? 2)...
-
Turner Woodworking, LLC is a small family owned manufacturing business. They have three primary products: Birdhouse Porch swing Freestanding hammock All products are made within their existing...
-
a. Create a class named Circle with fields named radius, diameter, and area. Include a constructor that sets the radius to 1 and calculates the other two values. Also include methods named...
-
Write a program that declares two LocalDate objects and assign values that represent January 31 and December 31 in the current year. Display output that demonstrates the dates displayed when one,...
-
Aaron Hersch is a real estate developer who specializes in residential apartments. A complex of 20 run-down apartments has recently come on the market for $332,500. Hersch predicts that after...
-
JT is auditing the sales of a new client. In one procedure JT performs, she begins with a sample transaction from the accounting records and then obtains and matches the transaction details to the...
-
ZB Company received $6,000 up front from a customer, who does not want their product delivered to them until 6 months later. If ZB Company fails to deliver their product, they will have to refund the...
-
On June 30, 20X4, Prichard Company purchased some stock for $5,000. This stock was worth $6,000 on December 31, 20X4, and it was worth $5,500 on December 31, 20X5. The investment has been properly...
-
The Art Exchange sells art supplies at retail. On December 31, 20X0, the Art Exchange receives a check for $1,000 for supplies which it has in inventory. These are shipped on January 3, 20X1. When...
-
What role is technology playing in finance? 2. What has been the role of globalization in these changes? 3. What are the financial crises aiming for? What are the causes and effects? 4. If you were a...
-
Underground water is to be pumped by a 78 percent efficient 5-kW submerged pump to a pool whose free surface is 30 m above the underground water level. The diameter of the pipe is 7 cm on the intake...
-
Explain the term "Equivalent Units". Why are they calculated in process costing? [4 Marks] [minimum 350 words]
-
When you input data in a loop within a program, the input statement that precedes the loop _____________. a. Is the only part of the program allowed to be unstructured b. Cannot result in eof c. Is...
-
A group of statements that executes as a unit is a _____________. a. Block b. Family c. Chunk d. Cohort
-
Which of the following is acceptable in a structured program? a. Placing a sequence within the true branch of a dual-alternative decision b. Placing a decision within a loop c. Placing a loop within...
-
A 0.55 kg block of ice is sliding by you on a very slippery floor at 3.5 m/s. As it goes by, you give it a kick perpendicular to its path. Your foot is in contact with the ice block for 0.0035...
-
Write a script called ChangeExtensions that accepts two file name extensions as arguments, and renames all files with the first extension to have the second extension. For example, Change Extensions...
-
Write an HTML document that draws the trapezoid (a rectangle that is wider on one side) below in Canvas. (30,30) 50 50 70
Study smarter with the SolutionInn App