Skip to content

Instantly share code, notes, and snippets.

@NetoDevel

NetoDevel/passo7

Created Dec 29, 2015
Embed
What would you like to do?
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
You can’t perform that action at this time.