1 / 12

مقرر الحوسبة العلمیة عال ٤١٢ scientific computing CS 412

مقرر الحوسبة العلمیة عال ٤١٢ scientific computing CS 412. LECTURE NO .3 BY : Ms. BUSHRA F. AL-HARBI. Maple. Maple provides an interactive problem-solving environment, complete with procedures for performing symbolic, numeric, and graphical computations. Maple Statements.

ardith
Télécharger la présentation

مقرر الحوسبة العلمیة عال ٤١٢ scientific computing CS 412

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. مقررالحوسبة العلمیةعال ٤١٢scientific computingCS 412 LECTURE NO .3 BY : Ms. BUSHRA F. AL-HARBI

  2. Maple Maple provides an interactive problem-solving environment, complete with procedures for performing symbolic, numeric, and graphical computations

  3. Maple Statements Most Maple statements must have a trailing semicolon (;) or colon (:). If you enter a statement with a trailing semicolon, for most statements, the result is displayed. However, if you enter a statement with a trailing colon, the result is computed but not displayed. >2+3; 5 >2+3:

  4. Displaying a Text String The following statement returns a string. The text that forms the string is enclosed in double quotes, and the result (the text string) is displayed because the statement has a trailing semicolon. In the second example, no result is displayed because the statement has a trailing colon. > "Hello World"; “Hello World” > "Hello World":

  5. Performing an Arithmetic Operation The arithmetic operators in Maple are + (addition), - (subtraction), * (multiplication), / (division), and ^ (exponentiation). A statement can be an arithmetic operation that contains any combination of these operators. The standard rules of precedence apply. >103993/33102;

  6. what if we do this …. >8 >/4 >; 2

  7. Assigning to a Name • To assign to a name , use the assignment operator ,

  8. Can you tell me what’s the error with the followings

  9. Defined the Error

  10. Defined the Error

More Related