My Math Forum  

Go Back   My Math Forum > Welcome > New Users

New Users Post up here and introduce yourself!


Reply
 
LinkBack Thread Tools Display Modes
April 14th, 2017, 06:03 AM   #1
Newbie
 
Joined: Apr 2017
From: India

Posts: 1
Thanks: 0

Let A and B are 2 points in the same plane. If these two points simultaneously start

I tried solving below problem. But didn't got the complete solution. Please help. Any help will be appreciated

Let A and B are 2 points in the same plane. If these two points simultaneously start moving at velocities u and v respectively, will they collide?

Let a: An array of 2 integers giving the initial coordinates of point A in the form of [X, Y].

Let b: An array of 2 integers giving the initial coordinates of point B in the form of [X, Y].

Let u: An array of 2 integers giving the velocity vector of point A in the form of [Vx, Vy].

Let v: An array of 2 integers giving the velocity vector of point B in the form of [Vx, Vy].



Write a function which takes 4 parameters a, b, u and v and returns a Boolean.



Example:

Input:

a: [0, 0]

b: [10, 0]

u: [40, 0]

v: [-30, 0]

Expected Output: true
rohankhude is offline  
 
Reply

  My Math Forum > Welcome > New Users

Tags
jee exam, math, plane, points, simultaneously, start



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Points on a plane rachel1234 Calculus 13 January 3rd, 2017 01:46 PM
Find all points on surface whose tangent plane is parallel to given plane Addez123 Calculus 4 November 12th, 2016 07:51 AM
2 Points in R3 and 1 point on plane. How to find equation of plane? extreme112 Linear Algebra 2 October 13th, 2015 07:34 AM
Points on a plane wnzguitar Algebra 2 March 27th, 2011 06:11 AM
Points in a plane aman_cc Applied Math 5 November 21st, 2009 02:06 AM





Copyright © 2017 My Math Forum. All rights reserved.