From 2ef7d2bdf1ca4a6b9ee207e4a43f3116f55c0274 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 9 May 2017 19:23:52 -0300 Subject: Several solutions implemented --- Project/Exponential.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Project/Exponential.cpp') 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; +} -- cgit From d44c3a76943c90cfcbf336961d9ba3516a1c80dc Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Sat, 13 May 2017 16:13:12 -0300 Subject: Several bugs fixed, ready to pull --- Project/Exponential.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Project/Exponential.cpp') diff --git a/Project/Exponential.cpp b/Project/Exponential.cpp index a197b93..e0daeef 100644 --- a/Project/Exponential.cpp +++ b/Project/Exponential.cpp @@ -112,7 +112,7 @@ void Exponential::SetValues(double aValue, double bValue) m_bValue = bValue; } -bool Exponential::Solve(double input) +bool Exponential::Solve(double input, double timeStep) { m_output = m_aValue * std::exp(m_bValue * input); return true; -- cgit