1. Maple - verze - Maple 18: Standard Worksheet (.mw) - Classic Worksheet Maple 18 (.mws) - starsi pocitace, mene pameti - Command-line Maple 18 - komplexni vypocty - a jine (kalkulacka, vlastni aplikace - maplets) 2. Maple - prostredi Document Mode vs. Worksheet Mode Maple offers two primary modes of problem entry and content creation: Document mode and Worksheet mode. Both modes have respective advantages and you can easily switch from one mode to the other for maximum flexibility. See worksheet for more information on the worksheet interface. Document Mode Quick problem-solving and free-form, rich content composition No prompt () displayed Math is entered and displayed in 2-D Solve math problems with right-click menu on input and output Worksheet Mode Traditional Maple problem-solving environment Enter problems at a prompt () Math entered and displayed in 2-D or 1-D Solve math problems with right-click menu on output Document mode lets you create rich content. For example, the following solves for x without any commands: The command to perform the same operation in Worksheet mode is in 2-D (Math) Input: solutions for x or in 1-D (Maple) Input: solve((x-2)/alpha=1,x); (2.1.1) (2.1.2) Toggle Math/Text entry mode [F5] Toggle 2-D/1-D Math entry mode [F5] 2-D black font, 1 -D red font on toolbar
Evaluate math expression and display result inline [Ctrl][=] Evaluate math expression and display result on new line [Enter] Evaluate math expression and display result on new line [Enter] Continue on next line without executing [Shift][Enter] Switch to Worksheet mode (insert prompt) on toolbar Switch to Document mode Format Create Document Block Show hidden commands View Expand Document Block Hide commands. Show only results. Highlight commands to be hidden. Format Create Document Block Ikonky novy subor (Create a new file ulozeni (Save the active file T (Insert plain text after the current execution group [ (Insert Maple Input after the current execution group (vytvori novy radek, executable) Math mode - text je cerny + radek nemusi byt ukoncen ; nebo : Text mode - text je cerveny + radek musi byt ukoncen ; nebo : novy blok (Enclose the current selection in a document mode, or create a new one) odstavce (Enclose the selection in a subsection Z Remove any section enclosing the selection) restart (Restart Maple server)!!! (Execute the entire worksheet)! (Execute all selected groups) preruseni operace (Interrupt the current operation) Priklad: Warning, computation interrupted klikaci "matematika" (Toggle the display of clickable math popup) zpusob reseni help (Open the help system {F2,Ctrl+mezernik} (napoveda pro dany prikaz) Palety - viz leva cast pracovniho okna - umoznuji rychlejsi zadavani matematickeho vstupu, specialnich symbolu,...
Context menu - prave tlacitko na vybrany vyraz 3. Reseni problemu Cisla (symbol v Open Face palete) - cele cisla = Z/; - racionalni cisla 12325345 (3.1.1) 1 2 (3.1.2) - realne cisla 0.50000000000000000000 (3.1.3) - komplexne cisla 0.5000000000 5 5 (3.1.4) (3.1.5) (3.1.6) Zakladni operace: +, -, *, / Konstanty - hodnota (cislo)
- cislo 3.141592654 0.5772156649 (3.2.1) (3.2.2) (3.2.3) (3.2.4) (3.2.5) exponenciala Pozor: neni Eulerovo cislo! e e 2.718281828 7.389056099 e (3.2.6) (3.2.7) (3.2.8) (3.2.9) (3.2.10) Promenne nazvy - kombinace: male/velke pismena + cislice + "_" mezery v nazvech promennych nepouzivat - Maple chape mezery jako nasobeni (az na 1-D mode) Priklady: promenna1 2 (3.3.1) (3.3.2) (3.3.3) (3.3.4)
(3.3.5) (3.3.6) (3.3.7) (3.3.8) Zapis matematickych vyrazu 1-D Math vs. 2-D Math Input Z 2-D Math Input) int(exp(-x^2), x = 0.. infinity); (3.4.1) (3.4.2) (3.4.3)!!! Pozor na mezery!!! : = ale = Vyhodnoceni vyrazu Document mode: 3 (3.5.1) = 3
Worksheet mode (s [): a) Math (cerny text) (+ Enter) 3 (3.5.2) 10 (+Shift+Enter (nevyhodnoti radek, radky musi matematicky "navazovat")) b) Text (cerveny text) ; 1+2+ 3+4; 10 Hlaseni chyb (3.5.3) (3.5.4) Error, unable to match delimiters sin(x... v Maple 17 zadna chybova hlaska, ale taky zadny vystup v Maple 16 jeste byla chybova hlaska: Warning, premature end of input, use <Shift + <Enter to avoid this message. sin(x; Error, `;` unexpected Error, unable to match delimiters Operace s vyrazy - zjednodusi vyraz 1 2 (3.7.1.1)
(3.7.1.2) 1 (3.7.1.3) (3.7.1.4) (3.7.1.5) (3.7.1.6) 1 (3.7.1.7) (3.7.1.8) (3.7.1.9) - roznasobi soucin (3.7.2.1) (3.7.2.2)
(3.7.2.2) (3.7.2.3) - rozlozi na soucin cinitelu combine - slouci vyrazy stejneho typu (3.7.3.1) (3.7.3.2) (3.7.3.3) (3.7.4.1) (3.7.4.2) (3.7.4.3) convert - ukazeme si jenom prevod na parcialni zlomky (3.7.5.1) (3.7.5.2)
(3.7.6.1) (3.7.6.2) Deleni polynomu - zjisti, zda jsou polynomy delitelne beze zbytku true true (3.7.7.1) (3.7.7.2) (3.7.7.3) false q (3.7.7.4) (3.7.7.5) - vydeli dva polynomy a zbytek ulozi do promenne je jako nahore v casti pro divide, i.e. (3.7.8.1) (3.7.8.2) (3.7.8.3) 3 (3.7.8.4) (3.7.8.5)
- zbytek po deleni dvou polynomu 3 (3.7.9.1) (3.7.9.2)