3 Let the data x be given by x = c(1, 8, 2, 6, 3, 8, 5, 5, 5, 5) Use R to compute the following functions. Note, we use X₁ to denote the first element of x (which is 1) etc. (X1 + X2 + X3...+X10)/10 use sum Find log10(X₂) for each i. (Use the log function which by default is base e) • Find (X44)/2.875 for each i. (Do it all at once) Find the difference between the largest and smallest values of x. (This is the range. You can use max and min or guess a built in command.) ● ● ●
3 Let the data x be given by x = c(1, 8, 2, 6, 3, 8, 5, 5, 5, 5) Use R to compute the following functions. Note, we use X₁ to denote the first element of x (which is 1) etc. (X1 + X2 + X3...+X10)/10 use sum Find log10(X₂) for each i. (Use the log function which by default is base e) • Find (X44)/2.875 for each i. (Do it all at once) Find the difference between the largest and smallest values of x. (This is the range. You can use max and min or guess a built in command.) ● ● ●
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section6.1: Function And Parameter Declarations
Problem 5E: (Statics) An annulus is a cylindrical rod with a hollow center, as shown in Figure 6.7. Its second...
Related questions
Question
Need bullet number 3 only, thanks!
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr