The answers are given in the box. Just please show the calculations/solutions Determine the values of X and Y after each set of code. If your answer has multiple values, separate each answer by one "+" character, e.g. 1+2+3+4. Write "E" if the code provided will result to an error. >a<- seq(4.5, 2.5, -0.75) >x<- sum(1+2*a%/%2) >y<- matrix (4:7, nrow-3, ncol=4, byrow=true) >print(x) #x= 11 >print(y) #the 2nd row value(s) from left to right resulting from print(y) is/are: E

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter4: The Selection Structure
Section: Chapter Questions
Problem 2MQ2
icon
Related questions
Question
The language used was R
The answers are given in the box. Just please show the calculations/solutions
Determine the values of X and Y after each set of code. If your answer has multiple values,
separate each answer by one "+" character, e.g. 1+2+3+4. Write "E" if the code provided will
result to an error.
>a<- seq(4.5, 2.5, -0.75)
>x<- sum(1+2*a%/%2)
>y<- matrix (4:7, nrow-3, ncol=4, byrow=true)
>print(x)
#x= 11
>print(y)
#the 2nd row value(s) from left to right resulting from print(y) is/are: E
Transcribed Image Text:The answers are given in the box. Just please show the calculations/solutions Determine the values of X and Y after each set of code. If your answer has multiple values, separate each answer by one "+" character, e.g. 1+2+3+4. Write "E" if the code provided will result to an error. >a<- seq(4.5, 2.5, -0.75) >x<- sum(1+2*a%/%2) >y<- matrix (4:7, nrow-3, ncol=4, byrow=true) >print(x) #x= 11 >print(y) #the 2nd row value(s) from left to right resulting from print(y) is/are: E
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Function Arguments
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
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,