Here you can find the source of vectorLengthDyDx(double dy, double dx)
public static double vectorLengthDyDx(double dy, double dx)
//package com.java2s; public class Main { public static double vectorLengthDyDx(double dy, double dx) { return Math.sqrt(dy * dy + dx * dx); }/* ww w . j a v a 2s .c o m*/ }