Skip to content

Instantly share code, notes, and snippets.

v<-c(5, 0, 1, -2, 3, 4, 0 2, 1)
v<-c(5, 0, 1, -2, 3, 4, 0, 2, 1)
m<-matrix(v, nrow = 3, ncol = 3)
v
m
det(m)
solve(m)
mi<-solve(m)
round(mi, 2)
help
<canvas id="tela" width="600" height="600"></canvas>
<html><head>
<audio src="musica1.mp3" id="sound"></audio>
<audio src="comeu.wav" id="sound2"></audio>
<audio src="batida.wav" id="sound3"></audio>
<script>
var a = parseInt(prompt("Qual nivel 1, 2 ou 3 ?"))
if(a == 1) {
public class Exercicio1 {
static int[][] qtde;
static int[][] queb;
public static void main(String[] args) {
int [] p = {3, 7, 4, 6, 1, 4};
int n = p.length-1;
double inicio, fim, tempo;
int m;
import javafx.beans.property.*;
public class Produto {
private StringProperty nome;
private StringProperty editora;
private StringProperty autor;
private StringProperty genero;
private IntegerProperty numdepag,idlivro;
private DoubleProperty preco;
static private int auxid=1;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import javafx.beans.property.*;
public class Compra {
private DoubleProperty frete = new SimpleDoubleProperty();
private StringProperty metodoPagamento = new SimpleStringProperty();
private IntegerProperty id = new SimpleIntegerProperty();
private IntegerProperty prazo = new SimpleIntegerProperty();;
private IntegerProperty idCliente = new SimpleIntegerProperty();;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Calendar;
import java.text.SimpleDateFormat;
import static java.util.Calendar.*;
import java.util.Date;
import javafx.beans.property.IntegerProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
public class Aluguel {
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import Aluguel.Aluguel;
import java.util.*;
public class Principal {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int matriz[][] = new int[10][10];
for(int i = 0; i<matriz.length; i++ ){
for(int j = 0; j<matriz[i].length; j++){
System.out.println("Informe o numero da linha "+(1+i)+" e coluna "+(j+1));
matriz[i][j] = sc.nextInt();
}