Nama: Nur Ahada
NIM: 230605110038
Kelas: TI-B
Jurusan: Teknik Informatika
Dosen pembimbing: Suhartono,M.Kom.
Pada artikel ini kita akan membahas tentang optimasi dengan R, operasi ini adalah salah satu yang dipersyaratkan dalam penilian dalam Matakuliah kalkulus. Optimasi sendiri adalah istilah umum yang mencakup maksimalisasi dan minimalisasi.
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
h <- rfun(~ x, seed=7293)
argM(h(x) ~ x, bounds(x=-4:4))
## # A tibble: 2 × 3
## x .output. concavity
## <dbl> <dbl> <dbl>
## 1 -1.68 1.93 1
## 2 0.173 8.25 -1
source from:
https://www.mosaic-web.org/MOSAIC-Calculus/Modeling/06-operations.html