Answer:
x=[15:-5:-25]'
Step-by-step explanation:
In order to create a vector you need to use this command:
x = [j:i:k]'
This creates a regularly-spaced vector x using i as the increment between elements. j is the initial value and k is the final value. Besides you need to add the character ' at the end in order to convert the arrow vector in a column vector
Answer:
First one: yes
Second one: yes
Third one: no
Step-by-step explanation:
To find the midpoint of a line segment, you take the x and y coordinates of the 2 points, add each of them up, and divide each of them by 2.
First one: x = (1+3)/2 = 2, y = (2+4)/2 = 3, so it's correct.
Second one: x = (-1+3)/2 = 1, y = (1+-1)/2 = 0, so it's correct.
Third one: x = (-3+-1)/2 = -2, y = (0+5)/2 ≠ 2, so it's not correct.
I really hope this helped.
Answer:
The probability is 0.2, or 20%.
Step-by-step explanation:
A probability is the ratio of the number of relevant outcomes and the number of all possible outcomes. If we know that the marble drawn is not red, the number of possible outcomes N is
N = (number of blue marbles) + (number of green marbles) = 25
and the number of relevant outcomes (marble being green) is n:
n = (number of green marbles) = 5
So, the probability is
P = n / N = 5 / 25 = 1 / 5 or 0.2, or 20%
Answer:
4
Step-by-step explanation: