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.)
-
Why does BN form compounds similar to those formed by elemental carbon?
-
While the electromagnetic interaction between the photons and the charged electrons and positrons kept them in equilibrium with each other during the early universe, show that the direct...
-
a. Create a network flow model for this problem. (Consider inserting intermediate nodes in your network to assist in meeting the minimum monthly purchase restrictions for each supplier and the...
-
Without using row reduction, apply block operation on A to compute its inverse. [1 2000 3 50 00 A=0 0 2 00 0007 8 0 0056
-
M/S. Marutham Investment Bond 2013 was issued in January 2014, with a maturity period of 2 years. With a Coupon payment of 7% per annum made every 6 months with Face value of Rs.100. What is the YTM...
-
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...
-
Consider a group of n people. (a) Explain why the pattern below gives the probabilities that the n people have distinct birthdays. n = 2: 365 / 365 · 364 / 365 = 365 · 364 / 3652 n = 3:...
-
what does the sensors module in lenovo diagnostics evolution allow you to do ?
-
finance. Identify and provide descriptions for three applications of Al in the field of
-
If the car's speed decreases at a constant rate from 64 mi/h to 30 mi/h in 3.0 s, what is the magnitude of its acceleration, assuming that it continues to move in a straight line? Express your answer...
-
A capacitor has plates of area 8.89 x 10-4 m. To create a capacitance of 1.11 x 10-8 F, how far apart should the plates be?
-
Could you explore the interdependent connection between emotional intelligence and resonant leadership, analyzing the influence of emotionally intelligent leaders on team dynamics, individual...
-
When the CUDR exceeds the TDR, what courses of action are available to the auditor? Under what circumstances should each of these be followed?
-
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...
-
Crystal Water, a community committed to raise awareness towards water pollution in big cities, permission approved to install CCC an innovation water cleaning device. Administrative costs to obtain...
-
Business Cs net profit is $12,923, depreciation is $24,286, and its working investment (the total of accounts receivable and inventory, less accounts payable and accrued expenses) increased $9,782....
-
Sales Cost of goods sold Accounts receivable 2021 $ 677,594 348,023 32,863 2020 $ 451,729 231,982 26,336 2019 $ 376,441 195,235 25,711 2018 2017 $ 256,956 $ 193,200 132,448 15,083 98,532 13,234...
Study smarter with the SolutionInn App