Challenge: Batch Molar Calculations
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 4
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Génial!
Completion taux amélioré à 5.26
Challenge: Batch Molar Calculations
Glissez pour afficher le menu
Tâche
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.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 4
single