Answer:
Consider the following code.
Explanation:
save the following code in read_and_interp.m
  
function X = read_and_interp(s)
[m, n] = size(s);
X = zeros(m, 1);
for i = 1:m
if(str2num(s(i, 2:5)) == 9999)
% compute value based on previous and next entries in s array
% s(i, 2:5) retrieves columns 2-5 in ith row
X(i,1) = (str2num(s(i-1 ,2:5)) + str2num(s(i+1,2:5)))/2;
else
X(i,1) = str2num(s(i,2:5));
end
end
end
======================
Now you can use teh function as shown below
s = [ 'A' '0096' ; 'B' '0114' ; 'C' '9999' ; 'D' '0105' ; 'E' '0112' ];
read_and_interp(s)
output
ans =
96.000
114.000
109.500
105.000
112.000
 
        
             
        
        
        
1.
name = input("Enter your name: ")
num1 = int(input("Hello "+name+ ", enter an integer: "))
num2 = int(input(name+", enter another integer: "))
try:
    if num1 % num2 == 0:
        print("The first number is divisible by the second number")
    else:
        print("The first number is not divisible by the second number")
except ZeroDivisionError:
    print("The first number is not divisible by the second number")
try:
    if num2 % num1 == 0:
        print("The second number is divisible by the first number")
    else:
        print("The second number is not divisible by the first number")
except ZeroDivisionError:
    print("The second number is not divisible by the first number")
2.
import random, math
num1 = float(input("Enter a small decimal number: "))
num2 = float(input("Enter a large decimal number: "))
r = round(random.uniform(num1, num2), 2)
print("The volume of a sphere with radius " + str(r) + " is " + str(round(((4 / 3) * math.pi * (r ** 3)), 2)))
I hope this helps!
 
        
             
        
        
        
I will hope this helps :p
        
             
        
        
        
Answer:
All of them execpt five and three. 
Explanation:
It is okay to have social media and receive messages.