Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

need to use a function to calibrate the weight of a alkan.

조회 수: 1 (최근 30일)
The lord
The lord 2017년 9월 12일
마감: MATLAB Answer Bot 2021년 8월 20일
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
Stephen23
Stephen23 2017년 9월 12일
@kjetil Svihus: its great that you have homework. What have you tried so far?
José-Luis
José-Luis 2017년 9월 12일
편집: José-Luis 2017년 9월 12일
Do you haz teh codez?
Impressive copy/pasting skills.

답변 (1개)

John BG
John BG 2017년 9월 12일
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
Jan
Jan 2017년 9월 14일
I do not see how this answers the question.
John D'Errico
John D'Errico 2017년 9월 14일
It does not answer, because a supplied tool will not have been written by the student, therefore is useless.

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by