Challenge: Batch Molar Calculations
Oppgave
Swipe to start coding
Given a NumPy array containing the masses of several samples and a common molar mass, compute the number of moles for each sample.
- Divide each value in the
massesarray by themolar_massto obtain the corresponding number of moles. - Return a NumPy array of moles with the same shape as
masses.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 4
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 5.26
Challenge: Batch Molar Calculations
Sveip for å vise menyen
Oppgave
Swipe to start coding
Given a NumPy array containing the masses of several samples and a common molar mass, compute the number of moles for each sample.
- Divide each value in the
massesarray by themolar_massto obtain the corresponding number of moles. - Return a NumPy array of moles with the same shape as
masses.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 4
single