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...
icon
Related questions
Question

Need bullet number 3 only, thanks!

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.)
●
●
●
Transcribed Image Text: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.) ● ● ●
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
LUP Decomposition
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr