Here you can find the source of vectorAbsoluteValue(double X, double Y, double Z)
public static double vectorAbsoluteValue(double X, double Y, double Z)
//package com.java2s; //License from project: Open Source License public class Main { public static double vectorAbsoluteValue(double X, double Y, double Z) { double absoluteValue = Math.sqrt(Math.pow(X, 2) + Math.pow(Y, 2) + Math.pow(Z, 2)); return absoluteValue; }//w ww.j a v a 2 s . c om }