=====================================================
Nama Mahasiswa : โIzzan Nuha Zamroni
NIM : 220605110082
Kelas : C
Mata Kuliah : Linear Algebra
Dosen Pengampuh : Prof.Dr.Suhartono,M.Kom
Jurusan : Teknik Informatika
Universitas : UIN Maulana Malik Ibrahim Malang
=====================================================
library(plotly)
## Loading required package: ggplot2
##
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
##
## last_plot
## The following object is masked from 'package:stats':
##
## filter
## The following object is masked from 'package:graphics':
##
## layout
A <- matrix(c(-2, 4, -5, -1, -1, 1, -5, 0, -3), nrow = 3, ncol = 3)
det(A)
## [1] -13
A <- matrix(sample(-10:10, 25, replace=TRUE), 5, 5)
det(A)
## [1] -92723
x <- c(4, 1, 3, 0)
y <- c(0, 2, 5, 3)
z <- c(0, 5, 1, 0)
intensity <- c(0, 0.33, 0.66, 1)
p<- plot_ly(x = x, y = y, z = z,
type = "mesh3d",
intensity = intensity,
showscale = TRUE
)
p
A <- matrix(c(0, 1, 3, -1, -1, 1, -4, 0, 1, 0, 2, 4, 0, 1, 0, -4),
nrow = 4, ncol = 4, byrow = TRUE)
det(A)
## [1] 30
library(pracma)
A <- matrix(c(0, 1, 3, -1, -1, 1, -4, 0, 1, 0, 2, 4, 0, 1, 0, -4),
nrow = 4, ncol = 4, byrow = TRUE)
det(inv(A))
## [1] 0.03333333
1/30
## [1] 0.03333333