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
Answer:
Customized Toolbar, theme, design, autosave file location, ribbon tabs and groups, quick access buttons, username
Explanation:
Answer:
import random
numbers = []
even = 0
odd = 0
for i in range(100):
numbers.append(random.randint(1, 200))
for i in range(100):
if numbers[i] % 2 == 0:
even += 1
else:
odd += 1
print("Even:", even)
print("Odd:", odd)
Explanation:
Gg ez.
Answer:
x = int(input("What grade are you in? "))
if(x == 9):
print("Freshman")
elif(x == 10):
print("Sophomore")
elif(x == 11):
print("Junior")
elif(x == 12):
print("Senior")
else:
print("Not in High School")
Explanation:
Answer:
Virus is a type of malware which is used in this case.
Explanation: