Answer:
Explanation:
Below is the complete MATLAB code that performs the given operations.
a = 10:10:99 % Generating first vector
b = 2:2:18 % Generating 2nd vector
c = rdivide(a,b) % Dividing vector a by b and storing in c
d = times(c,c) -19 % Subtracting 19 from each element of vector c
c % Displaying value of c
d % Displaying value of d
Output screenshot
C =
5 5 5 5 5 5 5 5 5
d =
6 6 6 6 6 6 6 6 6
The statement which best explains how algorithms running on a computer can be used to solve problems is; D. Some problems cannot be solved by an algorithm.
<h3>What is an algorithm?</h3>
An algorithm is simply a standard formula or procedures which is made up of a set of finite steps and instructions that must be executed on a computer, so as to proffer solutions to a problem or solve a problem under appropriate conditions.
However, it should be noted that it is not all problems that can be solved by an algorithm, especially because the required parameters and appropriate conditions are not feasible or met.
Read more on algorithm here: brainly.com/question/24793921
She needs to make sure the camera is on and working, if she doesn't than it wont tranfer
Changing the configuration of a database falls under which category of databaseâ administration?
d. operation
Python can be used to implement central of tendencies such as mean, median and mode using the statistic module
The program in Python, where comments are used to explain each line is as follows:
#This imports the statistics module
import statistics
#This defines the function that calculates the mode
def calcMode(myList):
#This prints the mode
print(statistics.multimode(myList))
#This defines the function that calculates the median
def calcMedian(myList):
#This prints the median
print(statistics.median(myList))
#The main method begins here
#This initializes the list
myList = []
#The following iteration gets input for the list
for i in range(10):
myList.append(int(input()))
#This calls the calcMode method
calcMode(myList)
#This calls the calcMedian method
calcMedian(myList)
Read more about similar programs at:
brainly.com/question/25026386