{{ message }}

Instantly share code, notes, and snippets.

🏠
Working from home

# José Vieira Neto NetoDevel

🏠
Working from home
• São Paulo, Brasil
Created Dec 29, 2015
View Passo 4.5
 /** * Cálculo de B(x,t) */ System.out.println("\n***************************************************"); System.out.println("******************PASSO 4.5 Cálculo de B(x,t)******"); System.out.println("***************************************************\n"); BigDecimal Bxt = BigDecimal.ZERO; BigDecimal x = BigDecimal.ZERO; BigDecimal t = new BigDecimal("365").setScale(30, RoundingMode.HALF_EVEN);
Created Dec 29, 2015
View gist:3121473af5c1f5ebf261
 System.out.println(""); System.out.println("================================================"); System.out.println("================ PASSO 8.0 ====================="); System.out.println("================================================"); System.out.println(""); BigDecimal totalDeMassaNaFonte = BigDecimal.ZERO; //KG totalDeMassaNaFonte = cti.multiply(pb).multiply(xSource).multiply(ySource).multiply(Lw.multiply(new BigDecimal("100"))).multiply(new BigDecimal(Math.pow(10d, -3d))); System.out.println("Valor totalDeMassaNaFonte: " + nb.format(totalDeMassaNaFonte));
Created Dec 29, 2015
View passo7
 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"));
Created Dec 30, 2015
Passo 8
View gist:3c9e05bf892f90fe2be0
 System.out.println(""); System.out.println("================================================"); System.out.println("================ PASSO 8.0 ====================="); System.out.println("================================================"); System.out.println(""); BigDecimal totalDeMassaNaFonte = BigDecimal.ZERO; //KG totalDeMassaNaFonte = cti.multiply(pb).multiply(xSource).multiply(ySource).multiply(Lw.multiply(new BigDecimal("100"))).multiply(new BigDecimal(Math.pow(10d, -3d))).setScale(30, RoundingMode.HALF_EVEN); System.out.println("Valor totalDeMassaNaFonte: " + nb.format(totalDeMassaNaFonte));
Created Jan 7, 2016
 package br.com.sed.seris.domain.simulation.concentration; import java.io.Serializable; import java.math.BigDecimal; import java.math.MathContext; import java.math.RoundingMode; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.ArrayList; import java.util.List;
Created Jan 15, 2016