aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Nayema Ferdoushi <134846919+NAYEMA26@users.noreply.github.com>2024-03-12 00:28:12 +0600
committerLibravatar GitHub <noreply@github.com>2024-03-12 00:28:12 +0600
commit414cfcaf6d69bfad6a0115b973340644f8cf8a14 (patch)
treed7552c42be9cc7dd3a8bd104d0044316f5bd28ed
parent53870004f6367d72d1bfd34663b632af529fb694 (diff)
downloadentropy-calc-414cfcaf6d69bfad6a0115b973340644f8cf8a14.tar.gz
entropy-calc-414cfcaf6d69bfad6a0115b973340644f8cf8a14.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..6955bf3
--- /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(240); // J/kg.K
+ setSpecificHeatSolid(240); // J/kg.K
+
+ // No specific heat capacity for gas
+
+ setLatentHeatOfFusion(104.72); // J/kg
+ setLatentHeatOfVaporization( 2318.83); //J/kg
+
+ setMeltingPoint(1234.8); // k
+ setBoilingPoint(2485); // k
+ }
+ ~Silver();
+};
+
+#endif // SILVER_HPP_INCLUDED