summaryrefslogtreecommitdiffstats
path: root/R Scripts/background.R
diff options
context:
space:
mode:
Diffstat (limited to 'R Scripts/background.R')
-rw-r--r--R Scripts/background.R3
1 files changed, 3 insertions, 0 deletions
diff --git a/R Scripts/background.R b/R Scripts/background.R
new file mode 100644
index 0000000..0620e16
--- /dev/null
+++ b/R Scripts/background.R
@@ -0,0 +1,3 @@
+background = function(mu0,day){
+ return (mu0 * (1 + 0.43 * sin((2*pi)/(365.24) * day + 4.36)) )
+} \ No newline at end of file