## First law of thermodynamics applied to a submarine

Hallo,

I hope someone can help me with the following question:

A submarine conatins 1000m^3 of air and has a temperature and pressure of 15°C and 0.1MPa respectively. Due to the cold seawater a heatflow of 60 MJ/h occurs. The machines on the otherhand adds disspiative Work of 21 kW to the system. The specific heat capacity of air is c(p,air) = 1.005 kJ/Kg*K.

what average Temperature will the air have after one hour of diving?

V=constant=1000m^3
P=constant?
T1=288.15K => T2=?

Firstly i found the density and mass of the gas:

R(air)= 286.9 J/K*Kg => density= P/T*R(air)=1.209 Kg/m^3 => m= V*density= 1209.63 Kg

Secondly i found the total Energy:

Q/h=Wdiss - Q/h = 15600 KJ/h

Then i used the first law:

dW=0 because V=constant

dQ=dU

Q=mcp(T2-T1)= m(R(air)-cv)*(T2-T1)= 288.19K .... which can't possibly be right because that is essentially my T1 temerature. So what did I do wrong?
{"extraction_info": {"found_math": false, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.8018310070037842, "perplexity": 2582.2876584906726}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2013-20/segments/1368703489876/warc/CC-MAIN-20130516112449-00034-ip-10-60-113-184.ec2.internal.warc.gz"}