6. Using R as a calculator a) Use the $ notation shown in the video to...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
6. Using R as a calculator a) Use the $ notation shown in the video to write out the equations for the circumference and area of a circle. Remember that C = 2πr and A = r². To get Greek letters to show in an equation, use \pi for example. To get a multiplication sign in the formula use \times. b) Write code to calculate the circumferences and areas of circles with radii of 0.5 and 2 cm. If you want, you can create a variable such as rad <- c (0.5, 2) to save both radii in a single object. Then you can use rad in your calculations to get two circumferences and two areas in one line of code each. [e.g, C <-2 pi* rad will produce the object C that has two values, one for rad 0.5 and one for rad=2] c) Summarize the results of part (b). Remember to use complete sentences and to include units when appropriate. Also, round your answers do not just copy/paste numeric output given in R. This applies to all problems that have computer output. 6. Using R as a calculator a) Use the $ notation shown in the video to write out the equations for the circumference and area of a circle. Remember that C = 2πr and A = r². To get Greek letters to show in an equation, use \pi for example. To get a multiplication sign in the formula use \times. b) Write code to calculate the circumferences and areas of circles with radii of 0.5 and 2 cm. If you want, you can create a variable such as rad <- c (0.5, 2) to save both radii in a single object. Then you can use rad in your calculations to get two circumferences and two areas in one line of code each. [e.g, C <-2 pi* rad will produce the object C that has two values, one for rad 0.5 and one for rad=2] c) Summarize the results of part (b). Remember to use complete sentences and to include units when appropriate. Also, round your answers do not just copy/paste numeric output given in R. This applies to all problems that have computer output.
Expert Answer:
Answer rating: 100% (QA)
a The equation for circumference of a circle is C 2... View the full answer
Related Book For
Discovering Advanced Algebra An Investigative Approach
ISBN: 978-1559539845
1st edition
Authors: Jerald Murdock, Ellen Kamischke, Eric Kamischke
Posted Date:
Students also viewed these mathematics questions
-
What are the radius and area of the circle of maximum area that can be inscribed in an isosceles triangle whose two equal sides have length 1?
-
Find the circumference and area of the circle with equation 2x2 + 2y2 - 2x + 7y - 38 = 0.
-
Write parametric equations for each graph. (You can create parametric equations from a single equation that uses only x and y by letting x = t and changing y to a function of t by replacing x with...
-
The ResultSet object can be created by either executing the or method, which means that the ResultSet instance cannot be created or used without executing a query operation first. a. executeQuery(),...
-
Doctors Care is a walk-in clinic, with locations in Georgetown, Moncks Corner, and Aynor, at which patients may receive treatment for minor injuries, colds, and flu, as well as physical examinations....
-
Reaction of phenol with 1, 2-epoxypropane in aqueous sodium hydroxide at 150C gives a single product, C9H12O2, in 90% yield. Suggest a reasonable structure for this compound.
-
Continuing to focus on evidence associated with the act, concealment, and conversion, use the evidentiary material to continue the examination. In addition, as the examiner also start to think of...
-
Purchase and Self-Constructed Cost of Assets Dane Co. both purchases and constructs various equipment it uses in its operations. The following items for two different types of equipment were recorded...
-
Explain the effect of inflation on UK, Canada, US, Switzerland, China, South Africa, Australia Comparison should be based on house prices, food price, gasoline, energy and so on. I need proper...
-
The case description at the beginning of this chapter presented the situation of a new project leader, Mary Hendricks. Her company, Custom Apps Now, had just promoted her to be a project leader,...
-
Assume $t0 has x's value and $t1 has y's value, convert the following C statements to assembly. if (x != y) { x = y; } x = x + 1;
-
What is one of investors' main concerns during mergers and acquisitions?
-
Which specific risk is primarily addressed by using a realtime gross settlement (RTGS) approach to FX settlement?
-
Sara purchased an apartment using a diminishing Musharaka method of financing from Q Islamic Bank. You have the following information on the transaction: The value of the apartment is USD 500 000. Q...
-
Where should a researcher go first to find guidance on present value measurements?
-
What document would an agent seeking employment from a broker most likely to assist them in an analysis of their potential earnings working with the brokerage?
-
Allegion Plc (ALLE) As one of the first stocks on our list of 30 Indiana Stocks listed in the Indianapolis Business Journal, please look up the company on Yahoo Finance and please answer the...
-
Assessing simultaneous changes in CVP relationships Braun Corporation sells hammocks; variable costs are $75 each, and the hammocks are sold for $125 each. Braun incurs $240,000 of fixed operating...
-
Use P = 1 + 3i, Q = - 2 + i, and R = 3 - 5i to evaluate each expression. Give answers in the form a + bi. a. P + Q - R b. PQ c. Q2 d. P Q
-
Each curve at right is a transformation of the graph of the parent function y = x. Write an equation for each curve. C. b.
-
Consider the geometric sequence 18, - 13.5, 10.125, - 7.59375, . . . . a. Write a recursive formula that generates this sequence. b. Sketch a graph of the sequence. Describe how the graph is similar...
-
State whether you think a business would recognise the following as an expense. When would it be recognised? a Depreciation $350 b Wages to be paid in the next month $1200 c Electricity bill due to...
-
What is the difference between operating expenses and non-operating expenses. Give examples of each.
-
What is the link between the income statement and the statement of owners equity?
Study smarter with the SolutionInn App