A point A(4, k) and B(2, 4) subtend a right angle at the origin of the coordinate axes. Find the value of k.

their slopes would have to be negative reciprocals

slope OB = 4/2 = 2
so lope of AO = -1/2 and if A is (4,k)
A must be (4,-2)