Research Article
Computing the Reverse Eccentric Connectivity Index for Certain Family of Nanocone and Fullerene Structures
public class EccDivNgu | public double calculate (int ) | if () | throw new IllegalArgumentException (“ must >= 3”); | | // cal 1 – 4 | int ; | double sum = ()/10.0 | +()/(6.0 ()) | +()/(7.0 ()) | +()/(9.0 ()); | // cal 5 − 2n | for (int ; <= 2 ; ++) | int no = − ()/2; | int ecc = ; | sum += ecc/(9.0 no); | | return sum; | | |
|