Challenge: Batch Molar Calculations
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 2. Luku 4
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Mahtavaa!
Completion arvosana parantunut arvoon 5.26
Challenge: Batch Molar Calculations
Pyyhkäise näyttääksesi valikon
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 2. Luku 4
single