Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Do the following excercies in R langauge and answers the questions. Exercise 6.1 a. Store the following vector: foo 6(13563,-14156,.14319,16981, 12921,11979,9568, 8833,-12968, 8133) Then, do
Do the following excercies in R langauge and answers the questions.
Exercise 6.1 a. Store the following vector: foo 6(13563,-14156,.14319,16981, 12921,11979,9568, 8833,-12968, 8133) Then, do the following: i. Output all elements of foo that, when raised to a power of 75 are NOT infinite Return the elements of foo, excluding those that result in negative infinity when raised ii. to a power of 75. Store the following 3 x 4 matrix as the object bar: b. 77875.40 27551.45 23764.30 -36478.88 35466.25-73333.85 36599.69-70585.69 -39803.81 55976.34 76694.82 47032.00 Now, do the following: i. Identify the coordinate-specific indexes of the entries of bar that are NaN when you raise bar to a power of 65 and divide by infinity Return the values in bar that are NOT NaN when bar is raised to) a powe this is identical to identifying those values in bar that, when raised to a power of 67, are not equal to negative infinity. Identify those values in bar that are either negative infinity OR finite when vou raise bar to a power of 67 ii. r of 67 and infinity is added to the result. Confirm iii. Exercise 6.1 a. Store the following vector: foo 6(13563,-14156,.14319,16981, 12921,11979,9568, 8833,-12968, 8133) Then, do the following: i. Output all elements of foo that, when raised to a power of 75 are NOT infinite Return the elements of foo, excluding those that result in negative infinity when raised ii. to a power of 75. Store the following 3 x 4 matrix as the object bar: b. 77875.40 27551.45 23764.30 -36478.88 35466.25-73333.85 36599.69-70585.69 -39803.81 55976.34 76694.82 47032.00 Now, do the following: i. Identify the coordinate-specific indexes of the entries of bar that are NaN when you raise bar to a power of 65 and divide by infinity Return the values in bar that are NOT NaN when bar is raised to) a powe this is identical to identifying those values in bar that, when raised to a power of 67, are not equal to negative infinity. Identify those values in bar that are either negative infinity OR finite when vou raise bar to a power of 67 ii. r of 67 and infinity is added to the result. ConfirmStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started