Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question

There was a sport in air craft on Independence Day. On the air two aircrafts are in the air parallel to ground.Rapidly controller room got information that equally crafts could be colliding. You should contain write a java program to check whether they both collide in some point somewhere or not.

In controller room there is a Map on paper that will help you to find the answer.Motion of two crafts is straight line and horizontal to ground. Activity of both crafts can be represented as A1X+B1Y+C1=0 and A2X+B2Y+C2=0 on the Map.

Write down a java program to check if they will collide or not. If they are going to collide print a message that 'The crafts will collide at (x,y)' where co-ordinates (x,y) are on Map as points of collision. If they are not going to crash print a message 'Both are safe'.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9717910

Have any Question?


Related Questions in Computer Engineering

Research one job and company that interests you one that

Research one job and company that interests you, one that you think might be a good fit for you after graduation. i.Identify why that job and company is a good fit for you Prepare a cover letter for that job. i.Include y ...

A mixture contains 0600 moles of nah2po4 and 00800 moles of

A mixture contains 0.600 moles of NaH2PO4 and 0.0800 moles of K2HPO4. It is titrated with 0.500 molar NaOH (aq) to neutralize it completely. How many mL of the NaOH solution are required?

Be sure to show the equation and proportion from table you

Be sure to show the equation and proportion from table you used to calculate your answer 1) What is the upper arm weight for a 70 kg male? 2) What is the torso mass for a 65 kg female? 3) What is the weight of the right ...

At steady-state the output of a pid controller is 10ma when

At steady-state, the output of a PID controller is 10mA. When the process is upset, the set-point signal increases at a rate of 0.4 mA/min. If the controller gain, reset time, and derivative time are 3, 2 min, and 0.4 mi ...

By chance does any know what percentage of the world gdp

By chance does any know What percentage of the world GDP has the Global 500 contributed most recently?

Question suppose you wanted to delete the trash of all

Question : Suppose you wanted to delete the trash of all users just tonight at 11pm using the just created /root/deleteTrash.bash script. Assuming that the deleteTrash.bsh script which deletes the trash of all users exis ...

Question whats the roles of user roles and why are they

Question : What's the roles of user roles and why are they necessary for Linux? How are these roles and permission similar and different from other types of users and other operating systems?

A study indicates that the weights of adults are normally

A study indicates that the weights of adults are normally distributed with a mean of 140 lbs and a standard deviation of 25 lbs. Find a value of weight x such that only 20% of adults weigh less than that. A. 136 B.190 C. ...

1 investment risk and default risk are interchangeable

1. Investment risk and default risk are interchangeable terms and essentially mean the same thing.   2. Disadvantages of the Capital Asset Pricing Model include that you are using the past to predict the future and that ...

Identify and evaluate at least three considerations that

Identify and evaluate at least three considerations that one must plan for when designing a database. Suggest at least two types of databases that would be useful for small businesses, two types for regional level organi ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As