Paul Sutton

calculator

Solute calculator

There is website tool for calculating the amount of solute needed for a given volume and concentration. This can be found here

I just put this together in python3

V2.0

#Chemical solute calculator
print("Chemical solute calculator")
print(" ")
print("This program will ask you for some basic data and will then calculate how much solute is needed for a given volume and concentration")
print(" ")
print("1 mol solution is formula weight in 1 liter of water")
print("")
print(" ")
print("Mass is the molecular mass of the chemical solution you're making e.,g Copper Sulfate is 249g")
print(" ")
print("Volume the total solution volume in litres,  100ml is written as 0.100")
print(" ")
print("Concentration required in Mols")
print(" ")
mass = input ("Mass in g: ") 
#print("Solute requred")
volume = input("Volume in l: ")
print((volume) + " l")
conc = input ("Required Concentration in M: ") 

solute = float(mass) * float(volume) * float(conc)
print("Solute required: ")
print(str(solute) + " g")
print(" ")
print("Note:  This program is a guide, and you should double check calculations")
#Chemical solute calculator
print("Chemical solute calculator")
print(" ")
print("This program will ask you for some basic data and then calculate how much solute is needed for a given volume and concentration")
print(" ")
mass = input ("Mass in g: ") 
print("Solute requred")
volume = input("Volume in l: ")
print((volume) + " l")
conc = input ("Required Concentration in M: ") 


solute = float(mass) * float(volume) * float(conc)
print(solute)

Note: This is just meant to work and perform a single function. I have not added error checking, so values are numerical.

Tags

#Calculator,#Solute,#Chemistry,#Solution,#Volume,#Mols


MastodonPeertubeQoto sign up

Donate using Liberapay

Home Chemistry 12

I have made a video where I give a basic introduction to using the Molecular solutions calculator from Physiology Web.

I am just using Citric Acid as an example of how the calculator works.

This is a good tool to double check your calculations.

I have uploaded what I hope is an improved version of this.

Tags

#Chemistry,#HomeChemistry,#HomeChemistry12,#MolarSolutions, #Calculator


MastodonPeertubeQoto sign up

Donate using Liberapay

Molecular weight calculator

I decided to write this to help calculate molar weights for chemistry.

molweight

In essence you can enter the Mass of an element or molecular mass of a substance, compound etc, and this will help give you molar weight, for example 0.5 mol.

It is, for example common to have different concentrations of an acid for example. We know that Sodium Hydroxide has a weight of 40 because of the combined weight of its components:

$NaOH$ which equates to

Na = 22 + O = 16 + H = 1 = 39

Therefore 1 mol of NaOH = 39g which is of course equal to Avogadros constant : $6.022 x 10^{23}$

Therefore 0.5 mol is roughly $39 \div 2 = 19.5g$

This program is NOT a substitute for proper calculation. You need to use more accurate values. Values used are just a rough guide.

However it may be useful, for those quick calculations.

The program code base is taken from my Drake equation calculator I made a few weeks ago.

#chemistry,#mol,#molar,#weight,#calculator


MastodonPeertubeQoto sign up

Donate using Liberapay