Nama mhs : “Achmad Fairuz”

Nim : “220605110071”

Kelas : “C”

Mata kuliah : “kalkulus”

Dosen pengampuh : “Prof.Dr. Muhhamad Suhartono, M.Kom”

Jurusan : “Teknik Informatika”

Universitas : ” UIN Maulana Malik Ibrahim Malang ”

R Markdown

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com.

When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:

summary(cars)
##      speed           dist       
##  Min.   : 4.0   Min.   :  2.00  
##  1st Qu.:12.0   1st Qu.: 26.00  
##  Median :15.0   Median : 36.00  
##  Mean   :15.4   Mean   : 42.98  
##  3rd Qu.:19.0   3rd Qu.: 56.00  
##  Max.   :25.0   Max.   :120.00

Including Plots

You can also embed plots, for example:

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.

x <- 7

exp
## function (x)  .Primitive("exp")
as_daily_income <- function(yearly_income) {
  yearly_income / 365
}
as_daily_income <- function(x) {
  x / 365
  }

as_daily_income <- function(ghskelw) {
  ghskelw / 365
}

as_daily_income(61362)
## [1] 168.1151
as_daily_income <- function(yearly_income, duration) {
  yearly_income / duration
}
as_daily_income(61362, duration = 366)
## [1] 167.6557
100 * exp(-2.5)
## [1] 8.2085
dose <- 100 # mg
duration <- 10 # days
time_constant <- 4 # days
dose * exp(- duration / time_constant)
## [1] 8.2085
drug_remaining <- function(dose, duration, time_constant) {
  dose * exp(- duration / time_constant)
}
drug_remaining(dose = 100, duration = 10, time_constant = 4)
## [1] 8.2085
library(mosaicCalc)
## Loading required package: mosaic
## Registered S3 method overwritten by 'mosaic':
##   method                           from   
##   fortify.SpatialPolygonsDataFrame ggplot2
## 
## The 'mosaic' package masks several functions from core packages in order to add 
## additional features.  The original behavior of these functions should not be affected by this.
## 
## Attaching package: 'mosaic'
## The following objects are masked from 'package:dplyr':
## 
##     count, do, tally
## The following object is masked from 'package:Matrix':
## 
##     mean
## The following object is masked from 'package:ggplot2':
## 
##     stat
## The following objects are masked from 'package:stats':
## 
##     binom.test, cor, cor.test, cov, fivenum, IQR, median, prop.test,
##     quantile, sd, t.test, var
## The following objects are masked from 'package:base':
## 
##     max, mean, min, prod, range, sample, sum
## Loading required package: mosaicCore
## 
## Attaching package: 'mosaicCore'
## The following objects are masked from 'package:dplyr':
## 
##     count, tally
## 
## Attaching package: 'mosaicCalc'
## The following object is masked from 'package:stats':
## 
##     D

DAFTAR PUSTAKA

https://dtkaplan.github.io/RforCalculus/representing-mathematical-functions.html