OA. free
Free
Palo Alto Networks Core Computer Science Core Computer Science Medium

How many are identical terms given two A.Ps of length 100, and every term in the second A.P.

Palo Alto Networks technical mcq question, verified with a worked answer. Free to practise - no sign-up.

How many are identical terms given two A.Ps of length 100, and every term in the second A.P. is twice the corresponding term of the first, and the first term of both sequences are equal?

Select any one of the following options

Choose one option.
Show answer & explanation
Answer: D. D) 52

Relative speed is 100 + 170 = 270 km/h = 75 m/s. In 3 seconds, total distance covered is 75 * 3 = 225 m. Sum of lengths is L + 1.5L = 2.5L = 225 m, giving L = 90 m.

Step-by-step Derivation:
Step 1: Relative speed of two trains moving in opposite directions = 100 + 170 = 270 km/h.
Step 2: Convert to m/s: 270 * (5/18) = 75 m/s.
Step 3: Distance covered in 3 seconds = 75 * 3 = 225 m.
Step 4: Sum of lengths = L_fast + L_slow = L + 1.5L = 2.5L.
Step 5: 2.5L = 225 => L = 225 / 2.5 = 90 m.