Suppose a pentagon is centered at (0, 0) with one point at the 0 o?clock position, as
Question:
Suppose a pentagon is centered at (0, 0) with one point at the 0 o?clock position, as shown in Figure 4.7c. Write a program that prompts the user to enter the radius of the bounding circle of a pentagon and displays the coordinates of the five corner points on the pentagon. Here is a sample run:
Transcribed Image Text:
Oo'clock position P2 (0, 0) Ps P4 (c) Enter the radius of the bounding circle: 100 |JEnter The coordinates of five points on the pentagon are (95.1057, 30.9017) (0.000132679, 100) (-95.1056, 30.9019) (-58.7788, -80.9015) (58.7782, -80.902)
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 60% (10 reviews)
Consider the above pentagon inscribed in a circle with vertex B at 0 oclock position ...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 displays a random coordinate in a rectangle. The rectangle is centered at (0, 0) with width 100 and height 200.
-
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 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...
-
On January 1, 2014, Iron Mountain Ski Corporation purchased a new snow-grooming machine for $50,000. The machine is estimated to have a 10-year life with a $2,000 salvage value. What journal entry...
-
Find all pairs of functions of the same order in this list of functions: n2 + (log n)2, n2 + n, n2 + log 2n + 1, (n + 1)3 (n 1)3, and (n + log n)2.
-
What are the benefits of virtual worlds such as Second Life for Shell?
-
The abridged accounts for N.O. Hope Plc are given below. Profit and Loss Accounts 2000 2001 000 000 Sales 400 440 Cost of Sales (300) (330) Gross Profit 100 110 Administrative expenses (15) (25)...
-
On June 30, 2013, Sharper Corporations common stock is priced at $ 62 per share before any stock dividend or split, and the stockholders equity section of its balance sheet appears as follows. Common...
-
On May 1, 2021, Novak Corp. purchased $1,600,000 of 12% bonds, interest payable on January 1 and July 1, for $1,406,500 plus accrued interest. The bonds mature on January 1, 2027. Amortization is...
-
The mean of 50 consecutive even natural numbers is equal to the mean of 41 consecutive odd natural numbers. The difference of squares of the greatest of those even numbers and the middle number of...
-
Write a program that receives an ASCII code (an integer between 0 and 127) and displays its character. Here is a sample run: Enter an ASCII code: 69 The character for ASCII code 69 is E JEnter
-
Write a program that generates three random points on a circle centered at (0, 0) with radius 40 and display three angles in a triangle formed by these three points, as shown in Figure 4.7a.? (a) A...
-
INVENTORY TURNOVER. A recent annual report for The Limited shows cost of goods sold for the year of approximately $5,286 million and average inventory of approximately $769 million during the year....
-
On March 6, 2011, Bob's Imports purchased merchandise from Watches Inc. with a list price of \(\$ 31,000\), terms \(2 / 10, n / 45\). On March 10, Bob's returned merchandise to Watches Inc. for...
-
The following events apply to Tops Gift Shop for 2012, its first year of operation: 1. Acquired \(\$ 45,000\) cash from the issue of common stock. 2. Issued common stock to Kayla Taylor, one of the...
-
Indicate whether each of the following costs is a product cost or a period (selling and administrative) cost. a. Transportation-in. b. Insurance on the office building. c. Office supplies. d. Costs...
-
Refer to the information presented in M7-9. Suppose that Juanita has developed a rectangular, medium-size ceramic pot. It requires 3 hours of kiln time; however, two medium-size pots can fit m the...
-
Eclipse Company manufactures a variety of sunglasses. Production information for its most popular line, the Total Eclipse (TE), follows: Suppose that Eclipse has been approached about making a...
-
Cingular Wireless bought out its rival AT&T Wireless in 2004 for some $41 billion. According to court filings, Cingular then launched an aggressive program to halve the broadcast tower rental amounts...
-
Consider the activities undertaken by a medical clinic in your area. Required 1. Do you consider a job order cost accounting system appropriate for the clinic? 2. Identify as many factors as possible...
-
Write a program that views, inserts, and updates staff information stored in a database, as shown in Figure 34.27a. The View button displays a record with a specified ID. The Insert button inserts a...
-
Suppose the database contains a student table defined as follows: A full name is in the form of firstname mi lastname or firstname lastname. For example, John K Smith is a full name. Write a program...
-
Write a program that inserts a thousand records to a database, and compare the performance with and without batch updates, as shown in Figure 35.5a. Suppose the table is defined as follows: create...
-
Identify the at least two main ways to invest in real estate indirectly in your country. *MY COUNTRY IS UNITED STATES * Distinguish between direct and indirect investments in real estate.
-
Question 1 (Marks: 10) According to IAS33 Earnings per share there are two types of shareholder, namely ordinary shareholders and preference shareholders. Q.1.1 Why do we call them preference shares...
-
1. The control principle related to not having the same person approach an invoice and sign the check is known as 2. in terms of internal controls aimed at preventing and detecting fraud, an example...
Study smarter with the SolutionInn App