admin@mazurekgravity.in

An object A with velocity VA (=40 km/sec) is chasing another object B as shown in figure in a A (20, 20) horizontal plane. The object B follows a predetermined path, i.e. (Xb(t), YB(t)). The object A changes its direction after each time interval At (= 10 sec) to orient itself towards the object B. The object B will be considered caught if O (0,0) | B (30, 0) falls within a distance of 25 km, and the pursuit will be over. If the object A is unable to catch the object B within 30- minute, the pursuit will be abandoned. (a) Develop a simulation model (algorithm), and (b) Draw a flow chart for simulation of the problem.

Question-AnswerCategory: Modelling & SimulationAn object A with velocity VA (=40 km/sec) is chasing another object B as shown in figure in a A (20, 20) horizontal plane. The object B follows a predetermined path, i.e. (Xb(t), YB(t)). The object A changes its direction after each time interval At (= 10 sec) to orient itself towards the object B. The object B will be considered caught if O (0,0) | B (30, 0) falls within a distance of 25 km, and the pursuit will be over. If the object A is unable to catch the object B within 30- minute, the pursuit will be abandoned. (a) Develop a simulation model (algorithm), and (b) Draw a flow chart for simulation of the problem.
GME asked 1 year ago

An object A with velocity VA (=40 km/sec) is chasing another object B as shown in figure in a A (20, 20) horizontal plane. The object B follows a predetermined path, i.e. (Xb(t), YB(t)). The object A changes its direction after each time interval At (= 10 sec) to orient itself towards the object B. The object B will be considered caught if O (0,0) | B (30, 0) falls within a distance of 25 km, and the pursuit will be over. If the object A is unable to catch the object B within 30- minute, the pursuit will be abandoned.
(a) Develop a simulation model (algorithm), and
(b) Draw a flow chart for simulation of the problem.

An object A with velocity VA (=40 km/sec) is chasing another object B as shown in figure in a A (20, 20) horizontal plane. Th

 
 

1 Answers
Sazid Ahmad answered 1 year ago

 

(a) Algorithm 1. Initialise A = [20,20], B = [XB (0), Y8(0)],T=0,4T = 10 2. While (A – B| = 25)and(T < 1800) { AB = B - A AB
START A -(20,201 B = [Xplo), 486)] T-O AT310 KA-B1<25 YES # RESULT - CAUCHT NO IS YES T>1800 RESULT - ABANDONED NO AB=B-A VA

Your Answer

13 + 18 =