summaryrefslogtreecommitdiffstats
path: root/Project/Exponential.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Exponential.cpp')
-rw-r--r--Project/Exponential.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Project/Exponential.cpp b/Project/Exponential.cpp
index 7c4f1fe..a197b93 100644
--- a/Project/Exponential.cpp
+++ b/Project/Exponential.cpp
@@ -111,3 +111,9 @@ void Exponential::SetValues(double aValue, double bValue)
m_aValue = aValue;
m_bValue = bValue;
}
+
+bool Exponential::Solve(double input)
+{
+ m_output = m_aValue * std::exp(m_bValue * input);
+ return true;
+}