The program to construct the first 15 terms of a geometric sequence with initial term 4 and a common ratio 1/2 is as follows:
def geometric(a, r):
list_of_terms = [a]
length = 0
n = 2
while length < 14:
x = round(a*pow(r, n-1), 5)
length += 1
n += 1
list_of_terms.append(x)
return list_of_terms
print(geometric(4, 0.5))
The code is written in python.
learn more on python here: https://brainly.com/question/26949234