Tags: andcelcius, celcius, code, converterfrom, fahrenheit, kelvin, mathlab, matlab, programming, temperature

Please, I need a mathlab code for a temperature co...

On Programmer » Matlab

5,512 words with 7 Comments; publish: Mon, 19 May 2008 01:39:00 GMT; (20046.88, « »)

Please, I need a mathlab code for a temperature converter

from celcius to fahrenheit, fahrenheit to celcius and

celcius to kelvin. Please, tomorrow is the deadline pls

All Comments

Leave a comment...

  • 7 Comments
    • "kay " <kaol500.matlab.questionfor.info.yahoo.com> wrote in message

      <fsdph6$ebq$1.matlab.questionfor.info.fred.mathworks.com>...

      > Please, I need a mathlab code for a temperature converter

      > from celcius to fahrenheit, fahrenheit to celcius and

      > celcius to kelvin. Please, tomorrow is the deadline pls

      >

      Let me just suggest that you leave now so you don't have to

      endure the inevitable ridicule that this thread will soon

      contain.

      #1; Mon, 19 May 2008 01:41:00 GMT
    • "kay " <kaol500.matlab.questionfor.info.yahoo.com> wrote in message

      <fsdph6$ebq$1.matlab.questionfor.info.fred.mathworks.com>...

      > Please, I need a mathlab code for a temperature converter

      > from celcius to fahrenheit, fahrenheit to celcius and

      > celcius to kelvin. Please, tomorrow is the deadline pls

      Sorry, but this is pretty complex stuff for us to

      do for you on such a short deadline.

      Perhaps you should start your homework earlier.

      #2; Mon, 19 May 2008 01:42:00 GMT
    • "kay " <kaol500.matlab.questionfor.info.yahoo.com> wrote in message

      <fsdph6$ebq$1.matlab.questionfor.info.fred.mathworks.com>...

      > Please, I need a mathlab code for a temperature converter

      > from celcius to fahrenheit, fahrenheit to celcius and

      > celcius to kelvin. Please, tomorrow is the deadline pls

      >

      This newsgroup is for the software program MATLAB. Perhaps

      there is a different newsgroup for mathlab? If you were

      asking about MATLAB, I would tell you that folks here do not

      do other people's homework. Post what you have done, ask a

      question about it, and then folks will give you feedback.

      Good luck getting someone else to do your work for you. I

      sure hope that you will not s employment based on

      credentials you receive for passing in the work of others

      for a grade.

      #3; Mon, 19 May 2008 01:43:00 GMT
    • In article <fsdph6$ebq$1.matlab.questionfor.info.fred.mathworks.com>, kay <kaol500.matlab.questionfor.info.yahoo.com> wrote:

      >Please, I need a mathlab code for a temperature converter

      >from celcius to fahrenheit, fahrenheit to celcius and

      >celcius to kelvin. Please, tomorrow is the deadline pls

      Hints:

      1) You can use the \ operator to solve the simultaneous linear equations

      32 * X + Y = 0

      212 * X + Y = 100

      Solve for X and Y. Then for any temperature in fahrenheit, multiply

      the temperature by X and add Y to get the celsius temperature.

      2) In order to convert celsius to kelvin, you can reverse the

      above equation to convert the celsius to fahrenheit; then

      you can make use of the fact that 0 kelvin is -459.67 fahrenheit;

      then you can convert back from fahrenheit to the celsius scale

      (a change of 1 degree kelvin is exactly the same as a change of

      1 degree celsius but the two scales have different 0 points.)

      "No sincere artist was ever completely satisfied with his labour."

      -- Walter J. Phillips

      #4; Mon, 19 May 2008 01:44:00 GMT
    • "kay " <kaol500.matlab.questionfor.info.yahoo.com> wrote in news:fsdph6$ebq$1.matlab.questionfor.info.fred.mathworks.com:

      > Please, I need a mathlab code for a temperature converter

      > from celcius to fahrenheit, fahrenheit to celcius and

      > celcius to kelvin. Please, tomorrow is the deadline pls

      >

      The easiest way might be to use Mathlab to invoke a Google search. For

      example, if you google "20 Degrees Fahrenheit in degrees celsius", it

      returns "20 degrees Fahrenheit = -6.66666667 degrees Celsius"

      Scott

      Reverse name to reply

      #5; Mon, 19 May 2008 01:45:00 GMT
    • In article < Xns9A6D88A1F9032scottseidmanmindspri.matlab.questionfor.info.130

      .133.1.4>,

      Scott Seidman <namdiesttocs.matlab.questionfor.info.mindspring.com> wrote:

      >"kay " <kaol500.matlab.questionfor.info.yahoo.com> wrote in news:fsdph6$ebq$1.matlab.questionfor.info.fred.mathworks.com:

      >The easiest way might be to use Mathlab to invoke a Google search. For

      >example, if you google "20 Degrees Fahrenheit in degrees celsius", it

      >returns "20 degrees Fahrenheit = -6.66666667 degrees Celsius"

      But that will fail for kelvin because kelvin does not use "degrees".

      For example, 330 K is read "330 kelvin", not "330 degrees kelvin".

      It will also fail for celsius to kelvin below about -274,

      and for celsius to kelvin about about 1e308. It will not handle

      infinity or -infinity or NaN either.

      --

      "Why does he stagger his mind with the mathematics of the sky?

      Once the question mark has arisen in the human brain the answer must

      be found, if it takes a hundred years. A thousand years."

      -- Walter Reisch

      #6; Mon, 19 May 2008 01:46:00 GMT
    • roberson.matlab.questionfor.info.ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in news:fse1q0$i4d$1

      .matlab.questionfor.info.canopus.cc.umanitoba.ca:

      > In article < Xns9A6D88A1F9032scottseidmanmindspri.matlab.questionfor.info.130

      .133.1.4>,

      > Scott Seidman <namdiesttocs.matlab.questionfor.info.mindspring.com> wrote:

      >

      >

      > But that will fail for kelvin because kelvin does not use "degrees".

      > For example, 330 K is read "330 kelvin", not "330 degrees kelvin".

      > It will also fail for celsius to kelvin below about -274,

      > and for celsius to kelvin about about 1e308. It will not handle

      > infinity or -infinity or NaN either.

      FWIW, I was just making sport, but

      "20 Degrees Fahrenheit in degrees kelvin" yields

      "20 degrees Fahrenheit = 266.483333 kelvin"

      Scott

      Reverse name to reply

      #7; Mon, 19 May 2008 01:47:00 GMT