System.out.println(""); | |
System.out.println("================================================"); | |
System.out.println("================ PASSO 7.0 ====================="); | |
System.out.println("================================================"); | |
System.out.println(""); | |
BigDecimal Mass = BigDecimal.ZERO; | |
BigDecimal C = valoresCwxt.get(valoresCwxt.size() - 1); // é o ultimo valor de Cwxt | |
BigDecimal xSource = LENGTH_OF_SOURCE.multiply(new BigDecimal("100")); | |
BigDecimal ySource = WIDTH_OF_SOURCE.multiply(new BigDecimal("100")); | |
Mass = q.multiply(C).divide(xSource.multiply(ySource)); | |
System.out.println("Valore de Mass (8,92E-103): " + nb.format(Mass)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment