Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
need to use a function to calibrate the weight of a alkan.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Create a MATLAB function called molalkan. It should have one parameter containing the number of carbon atoms in the alkane molecule. It should have one value that is the number of grams that 1 mole of this molecule weighs. For example, if I want to know how many grams of 1 mole propane is, I can go to the command window and use it
3 Kommentare
Stephen23
am 12 Sep. 2017
@kjetil Svihus: its great that you have homework. What have you tried so far?
Antworten (1)
John BG
am 12 Sep. 2017
Hi Kjetil Svihus
The function you ask for has already been implemented by Gerhard Nieuwenhuiys in
the description of the function mentions atoms.m that doesn't show in the list of functions, but atoms.m is actually included in the zipped pack.
I have attached Gerhard's solution to this answer for your convenience.
If you find this answer useful would you please be so kind to consider marking my answer as Accepted Answer?
To any other reader, if you find this answer useful please consider clicking on the thumbs-up vote link
thanks in advance
John BG
2 Kommentare
John D'Errico
am 14 Sep. 2017
It does not answer, because a supplied tool will not have been written by the student, therefore is useless.
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!