title: "Percobaan Arham"
author: "Nachsyas Arham"
date: "2023-10-23"
output: html_document
Universitas: Universitas Islam Negeri Maulana Malik Ibrahim Malang
Program Studi: Teknik Informatika
Fakultas: Sains dan Teknologi
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
  1. Kontinuitas

Intuisi di balik kontinuitas sederhana saja: Jika Anda dapat menggambar grafik suatu fungsi tanpa mengangkat pensil dari kertas, maka fungsi tersebut kontinu.

Kontinuitas dapat menjadi atribut penting dari fungsi pemodelan. Seringkali kita berharap bahwa perubahan kecil pada masukan akan menghasilkan perubahan kecil pada keluaran.

  1. Diskontinuitas

Dengan fungsi yang terputus-putus, kami tidak beruntung. menunjukkan apa yang terjadi jika kita menghitung, turunan dari fungsi Heaviside untuk semakin kecil.

H <- makeFun(ifelse(x >=0, 1, 0) ~ x)
DH01   <- makeFun((H(x + 0.1) - H(x))/0.1 ~ x)
DH001  <- makeFun((H(x + 0.01) - H(x))/0.01 ~ x)
DH0001 <- makeFun((H(x + 0.001) - H(x))/0.001 ~ x)
slice_plot(DH01(x) ~ x, bounds(x=-0.02:0.02),
           npts=500, color="red", size=2) %>%
  slice_plot(DH001(x) ~ x,
           color="darkgreen", npts=500, size=3, alpha=0.5) %>%
  slice_plot(DH0001(x) ~ x,
           color="blue", npts=500, alpha=0.5, size=2) 

3. Kelancaran

Kelancaran merupakan konsep yang berbeda dengan kesinambungan, meskipun keduanya berkaitan. Sederhananya, setiap fungsi diskontinu tidak mulus pada masukan mana pun di mana diskontinuitas terjadi. Namun fungsi ramp berkelanjutan pun tidak mulus pada awal ramp.

Untuk masalah teknik dan desain, kehalusan memiliki arti yang sangat berbeda dengan yang dijelaskan oleh konsep matematika di atas.

Sumber: Mosaik Kalkulus .