Update app.py
Browse files
app.py
CHANGED
@@ -45,9 +45,7 @@ def calc_molarity_from_density(solute, total_mass, density, molar_mass):
|
|
45 |
return solute / molar_mass / (total_mass / density / 1000)
|
46 |
|
47 |
templates = {
|
48 |
-
"溶質の質量が {solute_mass} g で、溶液の質量が {solution_mass} g の場合、質量パーセント濃度を求めなさい。": calc_mass_percent,
|
49 |
"質量パーセント濃度が {mass_percent}% で、溶液の質量が {solution_mass} g の場合、溶質の質量を求めなさい。": calc_solute_mass_from_percent,
|
50 |
-
"質量パーセント濃度が {mass_percent}% で、溶質の質量が {solute_mass} g の場合、溶液の質量を求めなさい。": calc_solution_mass_from_percent,
|
51 |
"溶質のモル数が {moles_of_solute} mol で、溶液の体積が {volume_of_solution} L の場合、モル濃度を求めなさい。": calc_molarity,
|
52 |
"モル濃度が {molarity} mol/L で、溶液の体積が {volume_of_solution} L の場合、溶質のモル数を求めなさい。": calc_moles_from_molarity,
|
53 |
"モル濃度が {molarity} mol/L で、溶質のモル数が {moles_of_solute} mol の場合、溶液の体積を求めなさい。": calc_volume_from_molarity,
|
|
|
45 |
return solute / molar_mass / (total_mass / density / 1000)
|
46 |
|
47 |
templates = {
|
|
|
48 |
"質量パーセント濃度が {mass_percent}% で、溶液の質量が {solution_mass} g の場合、溶質の質量を求めなさい。": calc_solute_mass_from_percent,
|
|
|
49 |
"溶質のモル数が {moles_of_solute} mol で、溶液の体積が {volume_of_solution} L の場合、モル濃度を求めなさい。": calc_molarity,
|
50 |
"モル濃度が {molarity} mol/L で、溶液の体積が {volume_of_solution} L の場合、溶質のモル数を求めなさい。": calc_moles_from_molarity,
|
51 |
"モル濃度が {molarity} mol/L で、溶質のモル数が {moles_of_solute} mol の場合、溶液の体積を求めなさい。": calc_volume_from_molarity,
|