Skip to main content

Answer: How to find a set of coordinates in a bounded 2D space?

3 days ago, I posted a Mathematics problem on finding a set of coordinates in a bounded 2D space. I promised to offer my solution to the problem on the coming Sunday which is today.

Question
Given 4 known coordinates, length and breadth of a bounded 2D space, find the set of coordinates (in RED) with its x and y offset in units as shown above.

Answer

Using the method of interpolation,
lon
= (103.69926-103.72147)*263/1000 + (103.708975-103.72147)*2017/4000 + 103.72147
= 103.70932816625

lat
= (1.34192-1.34504)*263/1000 + (1.433975-1.34504)*2017/4000) + 1.34504
= 1.38906491375

It took me quite some time before I recalled there exists a method called interpolation to come out with the answer myself. BTW, this problem is work-related and not school-related.

References to interpolation
http://en.wikipedia.org/wiki/Interpolation
http://www.mathworks.com/moler/interp.pdf

Popular Posts

Ho Ching named 5th most powerful and is mistaken as first lady by Forbes

Forbes named Singapore Prime Minister wife and CEO of Temasek Holdings, Ho Ching, as the 5th most powerful woman in the world. Ho Ching is mistaken as Singapore's first lady! OMG!

I wonder how can Forbes makes such a blunder. For a complete list, refer to here.

How to stop FortiClient from starting automatically?

Installed FortiClient recently but the challenge in disabling the application/service from running automatically on every start-up annoyed me. Attempt to stop 'FortiClient Service Scheduler' only return 'Parameter is incorrect' error message.

An article on Technet help solve my trouble. To stop FortiClient from starting automatically, try the following:
Shut down FortiClient from the system tray.
Run net stop fortishield on command prompt.
Run msconfig.
On msconfig, switch to the Services tab. Clear the FortiClient Service Scheduler check box and click Apply.Run services.msc on command prompt to open up show all available services.Look for FortiClient Service Scheduler. Switch Startup type to Manual.Restart your computer. FortiClient should not be running automatically the next time round. Hope it helps.

LTA's Official 2024 MRT Map

The below is an LTA's official MRT map that includes both current and future train network all the way to year 2024.