Statistica
MATLAB Answers
1 Domanda
0 Risposte
RANK
136.745
of 301.472
REPUTAZIONE
0
CONTRIBUTI
1 Domanda
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.0%
VOTI RICEVUTI
0
RANK
of 174.655
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
Check which numbers are a triangle, pentagonal, and hexagonal with these given formulas. T(i) = i(i+1)/2. H(i) = i(3*i-1)/2. P(i) = i(2*i-1). For the first 3 numbers (including 1) that are triangular, pentagonal and hexagonal, all at the same time
Here is my code so far: clc;clear; for i = 1:2 T(i) = i*(i+2)/2; for j = 1:2 P(j) = j*(3*j-2)/2...
oltre 9 anni fa | 2 risposte | 0