aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Nayema Ferdoushi <134846919+NAYEMA26@users.noreply.github.com>2024-03-11 23:40:09 +0600
committerLibravatar GitHub <noreply@github.com>2024-03-11 23:40:09 +0600
commit664c1a38bfdabb05bde02238309efa7b6d610c45 (patch)
tree463b0ff1be783424fd4db3458bccb027ac2de47a
parent53870004f6367d72d1bfd34663b632af529fb694 (diff)
downloadentropy-calc-664c1a38bfdabb05bde02238309efa7b6d610c45.tar.gz
entropy-calc-664c1a38bfdabb05bde02238309efa7b6d610c45.zip
Create Silver.h
-rw-r--r--elements/Silver.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/elements/Silver.h b/elements/Silver.h
new file mode 100644
index 0000000..106b01f
--- /dev/null
+++ b/elements/Silver.h
@@ -0,0 +1,27 @@
+#ifndef SILVER_HPP_INCLUDED
+#define SILVER_HPP_INCLUDED
+
+#include "../headers/baseElement.h"
+
+class Silver : public baseElement
+{
+public:
+ Silver()
+ {
+ setElementName("Silver");
+
+ setSpecificHeatLiquid(0.24); // J/g°C
+ setSpecificHeatSolid(0.24); // J/g°C
+
+ // No specific heat capacity for gas
+
+ setLatentHeatOfFusion(11.3); // kJ/mol
+ setLatentHeatOfVaporization(250); // kJ/mol
+
+ setMeltingPoint(1234.8); // °C
+ setBoilingPoint(2485); // °C
+ }
+ ~Silver();
+};
+
+#endif // SILVER_HPP_INCLUDED