Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Other Programming (https://www.askmehelpdesk.com/forumdisplay.php?f=437)
-   -   A simple program (https://www.askmehelpdesk.com/showthread.php?t=4491)

  • Apr 21, 2003, 06:19 PM
    robertbob
    A simple program
    Hello,

    I am to write a computer program to express the variation of specific heat Cp of air with
    Temperature as a third- degree polynomial, using the data in Table A-2b, in our book. The formula of Cp isn't important, I couldn't understand how the program is supposed to express the variation of Cp's with temperature as a third degree polynomial...

    For example the table says
    At 250 Kelvin -> Cp = 1.003 kJ/kg.K
    At 300 Kelvin -> Cp = 1.005
    At 350 Kelvin -> Cp = 1.008
    At 400 Kelvin -> Cp = 1.013
    ...

    So what am I supposed to do?(third degree polynomial?)

    I have some knowledge in Java, but do you suggest any other language for this simple program?
    Thanks in advance...
    Bob
  • Jul 23, 2003, 12:16 AM
    CF_Master
    A simple program
    This only goes to show you that programs are not "simple", if they were you wouldn't be having problems creating them and programmers wouldn't be making so much money.

    Anyway this isn't really so much a programming question as it is a math and science question.

    First you need to figure out and know how the calculations are done before you can write a program to automatically perform the calculations. Or was it a list you wanted to make to just call all the measurements?

  • All times are GMT -7. The time now is 07:43 PM.