| At line 1 changed 1 line. |
| [{ColorTitle |
| [{ALLOW view All}] |
| [{ALLOW edit,upload Trusted}] |
| [{ColorTitle bgcolor='#F6931B' |
| At line 6 changed 1 line. |
| Předchozí Další [Obsah|Math]%% |
| [Předchozí|Math7] [Obsah|Math]%% |
| At line 37 added 7 lines. |
| [{nbsp count='5'}][Math8/index_gr_9.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_10.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_11.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_12.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_13.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_14.gif] |
|
| At line 46 added 7 lines. |
| [{nbsp count='5'}][Math8/index_gr_15.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_16.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_17.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_18.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_19.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_20.gif] |
|
| At line 54 added 51 lines. |
|
| [{nbsp count='5'}][Math8/index_gr_21.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_22.gif] |
|
| !Funkce Or |
|
| je logickou funkcí jedné i více logických proměnných /Pozor, zde se M. opět odchyluje od obvyklé výrokové logiky, kde je and rezervováno pro 2 /nebo více/ nezávisle proměnné!/ a znamená "logické nebo" neboli alternativu; nabývá hodnoty True tehdy , když alespoň jeden argument je typu boolean a má hodnotu True, hodnoty False nabývá tehdy, když všechny argumenty jsou typu boolean a mají hodnotu False. Pokud jeden argument není typu boolean a ostatní argumenty jsou typu boolean a mají hodnotu False, je výstupem příkazu Or zmíněný argument jiného typu, než boolean /ovšem může se v některých případech typem boolean stát/, v případě více takových argumentů jejich alternativa. |
|
| [{nbsp count='5'}][Math8/index_gr_23.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_24.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_25.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_26.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_27.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_28.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_29.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_30.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_31.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_32.gif] |
|
| Kde vidíme další syntaxi příkazu Or: |
|
| [{nbsp count='5'}][Math8/index_gr_33.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_34.gif] |
|
| Ovšem ta svislá čára se docela špatně na klávesnici hledá. |
|
| !Funkce Xor |
|
| neboli výlučné nebo je logickou funkcí jedné i více logických proměnných. Pokud lichý počet jejích argumentů má hodnotu True a ostatní mají hodnotu False /nebo se nevyskytují/, má funkce Xor hodnotu True. Pokud sudý počet jejích argumentů má hodnotu True a ostatní mají hodnotu False /nebo se nevyskytují/, funkce Xor má hodnotu False. Rozbor situací, v nichž některý/některé z argumentů funkce Xor není typu boolean ponechávám čtenáři coby cvičení. |
|
| [{nbsp count='5'}][Math8/index_gr_35.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_36.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_37.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_38.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_39.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_40.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_41.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_42.gif] |
|
| !Funkce Implies |
|
| je logickou funkcí dvou proměnných a znamená implikaci; tj. Implies[[p,q]=p=>q, tj. nabývá hodnoty False pokud má p hodnotu True a zároveň q hodnotu False; v ostatních třech možných případech nabývá hodnoty __True__. |
|
| [{nbsp count='5'}][Math8/index_gr_43.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_44.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_45.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_46.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_47.gif]\\ |
| [{nbsp count='5'}][Math8/index_gr_48.gif] |
|
| [8.notebook|Math8/zacmath8.nb] |