User Tools

Site Tools


median:code01

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
median:code01 [2026/03/10 02:42] – created hkimscilmedian:code01 [2026/03/10 03:31] (current) hkimscil
Line 1: Line 1:
 <code> <code>
-a <- c(104, 19, 20, 19, 20, 100, 20, 21, 21, 24) +a <- c(104, 19, 20, 19, 20, 100, 20, 21, 21, 24) 
-sort(a) +sort(a) 
- [1]  19  19  20  20  20  21  21  24 100 104 +print(a) 
-print(a) +median(a) 
- [1] 104  19  20  19  20 100  20  21  21  24+mean(a)
 </code> </code>
-$$ \text{median} = \frac {(20 + 21)}{2} $$ 
- 
  
median/code01.1773110531.txt.gz · Last modified: by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki