The area of a pentagon can be computed using the following formula: Write a method that returns
Question:
The area of a pentagon can be computed using the following formula:
Write a method that returns the area of a pentagon using the following header:public static double?area(double?side)Write a main method that prompts the user to enter the side of a pentagon and displays its area. Here is a sample run:
Transcribed Image Text:
5 × s? Area т 4 X tan 5 -Enter Enter the side: 5.5 The area of the pentagon is 52.04444136781625
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 71% (7 reviews)
Output Enter side of pentagon 23 Area 5124998886393561 Program read...View the full answer
Answered By
Ashington Waweru
I am a lecturer, research writer and also a qualified financial analyst and accountant. I am qualified and articulate in many disciplines including English, Accounting, Finance, Quantitative spreadsheet analysis, Economics, and Statistics. I am an expert with sixteen years of experience in online industry-related work. I have a master's in business administration and a bachelor’s degree in education, accounting, and economics options.
I am a writer and proofreading expert with sixteen years of experience in online writing, proofreading, and text editing. I have vast knowledge and experience in writing techniques and styles such as APA, ASA, MLA, Chicago, Turabian, IEEE, and many others.
I am also an online blogger and research writer with sixteen years of writing and proofreading articles and reports. I have written many scripts and articles for blogs, and I also specialize in search engine
I have sixteen years of experience in Excel data entry, Excel data analysis, R-studio quantitative analysis, SPSS quantitative analysis, research writing, and proofreading articles and reports. I will deliver the highest quality online and offline Excel, R, SPSS, and other spreadsheet solutions within your operational deadlines. I have also compiled many original Excel quantitative and text spreadsheets which solve client’s problems in my research writing career.
I have extensive enterprise resource planning accounting, financial modeling, financial reporting, and company analysis: customer relationship management, enterprise resource planning, financial accounting projects, and corporate finance.
I am articulate in psychology, engineering, nursing, counseling, project management, accounting, finance, quantitative spreadsheet analysis, statistical and economic analysis, among many other industry fields and academic disciplines. I work to solve problems and provide accurate and credible solutions and research reports in all industries in the global economy.
I have taught and conducted masters and Ph.D. thesis research for specialists in Quantitative finance, Financial Accounting, Actuarial science, Macroeconomics, Microeconomics, Risk Management, Managerial Economics, Engineering Economics, Financial economics, Taxation and many other disciplines including water engineering, psychology, e-commerce, mechanical engineering, leadership and many others.
I have developed many courses on online websites like Teachable and Thinkific. I also developed an accounting reporting automation software project for Utafiti sacco located at ILRI Uthiru Kenya when I was working there in year 2001.
I am a mature, self-motivated worker who delivers high-quality, on-time reports which solve client’s problems accurately.
I have written many academic and professional industry research papers and tutored many clients from college to university undergraduate, master's and Ph.D. students, and corporate professionals. I anticipate your hiring me.
I know I will deliver the highest quality work you will find anywhere to award me your project work. Please note that I am looking for a long-term work relationship with you. I look forward to you delivering the best service to you.
3.00+
2+ Reviews
10+ Question Solved
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Question Posted:
Students also viewed these Computer science questions
-
Write a program that prompts the user to enter the length from the center of a pentagon to a vertex and computes the area of the pentagon, as shown in the following figure. The formula for computing...
-
The great circle distance is the distance between two points on the surface of a sphere. Let (x 1 , y 1 ) and (x 2 , y 2 ) be the geographical latitude and longitude of two points. The great circle...
-
Write a class named Octagon that extends GeometricObject and implements the Comparable and Cloneable interfaces. Assume that all eight sides of the octagon are of equal size. The area can be computed...
-
Write a filter InfixToPostfix that converts an arithmetic expression from infix to postfix.
-
Show that 2n is O(3n) but that 3n is not O(2n). (Note that this is a special case of Exercise 60.)
-
A management specialist recently commented about the work ethic, saying, You can discover if you personally have a work ethic if you think more about the salary you make than about the quality of the...
-
The balance sheet as of December 31, 1996, for Thompkins Laundry follows. Assets Liabilities and Stockholders Equity Current assets $10,000 Current liabilities $10,000 Noncurrent assets 60,000...
-
Give examples of needs, wants, and demands that JetBlue customers demonstrate, differentiating these three concepts. What are the implications of each for JetBlues practices? In 2007, JetBlue was a...
-
Your business manager forwards the following information to you. Your businesses earned a real rate of return of 7.5% last year and inflation for the same period was 4.1%. What was your nominal rate...
-
Find Rab in the network shown. 4 kQ 5 kQ 4 kQ RAB + 6 kQ 8 kQ 3 kQ 3 kQ BO-
-
A regular polygon is an n-sided polygon in which all sides are of the same length and all angles have the same degree (i.e., the polygon is both equilateral and equiangular). The formula for...
-
Programming Exercise 3.21 uses Zeller?s congruence to calculate the day of the week. Simplify Listing 6.12, PrintCalendar.java, using Zeller?s algorithm to get the start day of the month. Listing...
-
A wave on a rope is given by \(f(x, t)=(0.750 \mathrm{~cm}) \cos \pi\left[\left(4.00 \mathrm{~m}^{-1} ight) x-\left(4.50 \mathrm{~s}^{-1} ight) t ight]\) Calculate the (a) wavelength, (b) angular...
-
It was mentioned that the leader's commitment to leveraging diversity within the team meant that interactions were characterized by inclusivity and openness. Diversity in the workplace has been...
-
A strain gauge transducer uses a Wheatstone bridge circuit to measure strain using resistance as shown in Figure Q4. The maximum permissible instrument gauge current is 0.25 A. (a) (b) R Figure Q4...
-
Describe at least four forces for change and four for the status quo. Then, outline the change(s) you want to see. Describe the end goal and the consequence of the change with one to two sentences....
-
Draw the diagram in one color for the first move and then another color for the second move. 1. Move 1: Translate 5 units right and 1 unit up. Move 2: Rotate 90 clockwise around the origin. List the...
-
QUESTION 3 Kindly refer to the article entitled " What is Digital Banking and How Will it Benefits Malaysians?" , Vulcan Post, 7 April 2020 below and answer the following questions:- (i) Define what...
-
Write an analysis of why a deputy sheriff should not be able to collect a standing reward for capturing a criminal.
-
Portal Manufacturing has total fixed costs of $520,000. A unit of product sells for $15 and variable costs per unit are $11. a). Prepare a contribution margin income statement showing predicted net...
-
Rewrite Programming Exercise 7.4 using streams. Data from Programming Exercise 7.4 Write a program that reads an unspecified number of scores and determines how many scores are above or equal to the...
-
Rewrite Programming Exercise 7.7 using streams. Data from Programming Exercise 7.7 Write a program that generates 100 random integers between 0 and 9 and displays the count for each number. (Hint:...
-
Rewrite Programming Exercise 7.8 using streams. Data from Programming Exercise 7.8 Write two overloaded methods that return the average of an array with the following headers: public static double...
-
Abel Company produces three versions of baseball bats: wood, aluminum, and hard rubber. A condensed segmented income statement for a recent period follows:
-
Which of the following statements is FALSE? Fully hostile takeovers are not very frequent Golden Parachutes are part of the anti takeover defense as if they are huge they might destroy a lot of value...
-
The total market value of securities of a levered firm can be written as (V represent market value, D represents debt and E represents equity) A. V = D E. B. V = E D. C. V = D E D. V = D + E
Study smarter with the SolutionInn App