1 / 24

MAT 7003 : Mathematical Foundations (for Software Engineering) J Paul Gibson, A207 paul.gibson@it-sudparis.eu

MAT 7003 : Mathematical Foundations (for Software Engineering) J Paul Gibson, A207 paul.gibson@it-sudparis.eu http://www-public. it-sudparis.eu /~gibson/Teaching/MAT7003/. Introduction http://www-public.it-sudparis.eu/~ gibson/Teaching/MAT7003/L1-Introduction.pdf.

lesa
Download Presentation

MAT 7003 : Mathematical Foundations (for Software Engineering) J Paul Gibson, A207 paul.gibson@it-sudparis.eu

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. MAT 7003 : Mathematical Foundations (for Software Engineering) J Paul Gibson, A207 paul.gibson@it-sudparis.eu http://www-public.it-sudparis.eu/~gibson/Teaching/MAT7003/ Introduction http://www-public.it-sudparis.eu/~gibson/Teaching/MAT7003/L1-Introduction.pdf T&MSP: Mathematical Foundations

  2. FROM MODULE DESCRIPTION (http://www.telecom-sudparis.eu/p_en_formations-post-grade_MSc_1179.html?idm=63&) Objectives: Engineering is a bridge between science and mathematics, and the technological needs of mankind. Engineering disciplines are fundamentally mathematical and problem solving based. Traditional engineering disciplines, such as chemical, civil, electrical and mechanical, rely heavily upon continuous rather than discrete mathematical foundations. Software engineering is an emerging discipline that applies mathematical and computer science principles to the development and maintenance of software systems. It relies primarily upon principles of discrete mathematics, especiallylogic. Skills: Capacity to use mathematical reasoning to derive, understand and debug software systems. With sufficient practice, the underlying mathematical concepts become intrinsic to the thought processes, supporting rather than hindering thinking. Pre-requisites: None T&MSP: Mathematical Foundations

  3. Some Information About Me …. http://www-public.it-sudparis.eu/~gibson/ Now, what about you ..? Leila DZAFAROVA Thi Mai NGUYEN Van Luong NGUYEN Christos SOTIRIOU Diem BUI THI T&MSP: Mathematical Foundations

  4. Web Site On My Local Pages – open access TO DO: Check thatyoucanaccessthis page Please note that - to access internet from C106- you may need to set the proxy server for your web browser to proxy.int-evry.fr and port 81. T&MSP: Mathematical Foundations

  5. Web Site On TMSP Moodle Pages TO DO: Check that you can access this page T&MSP: Mathematical Foundations

  6. TO DO: Complete Initial Questionnaire T&MSP: Mathematical Foundations

  7. Some Information About Problem Based Learning …. TO DO: Find and read some background material on the web about PBL T&MSP: Mathematical Foundations

  8. RODIN – A tool for formal software development We will use it in most of our mathematical problems Its good that you know how to install it yourself It runs on Eclipse … which runs on "any" OS T&MSP: Mathematical Foundations

  9. INSTALLING RODIN - http://www.event-b.org/ T&MSP: Mathematical Foundations

  10. http://www.event-b.org/ http://sourceforge.net/projects/rodin-b-sharp/ T&MSP: Mathematical Foundations

  11. http://sourceforge.net/projects/rodin-b-sharp/ http://sourceforge.net/project/showfiles.php?group_id=108850 T&MSP: Mathematical Foundations

  12. NOTE: The style of thisdowload page changes regularlysoyoumayneed to searcharound for the files youneed: take the most up to date platform (2.6) You do not yet need any of the plug-ins but you will probably need the font specific to the tool T&MSP: Mathematical Foundations

  13. http://sourceforge.net/project/showfiles.php?group_id=108850&package_id=181714http://sourceforge.net/project/showfiles.php?group_id=108850&package_id=181714 The windows and linux versions will match your choice of OS T&MSP: Mathematical Foundations

  14. Rodin - Installation Overview for Windows • (Linux and Mac installations shouldbesimilar) • Latest Java (jre +jdk) fromhttp://www.sun.com – because RODIN isbuilt on Eclipse Platform • Unziprodin-2.6-win32.win32.x86.zip/download(to C:\Program Files, eg) • Place the font file in C:\Windows\fonts • Start Rodin (C:\Program Files\Rodin\Rodin.exe) and install plugins if instructedat the first Rodin (Eclipse) screen. T&MSP: Mathematical Foundations

  15. T&MSP: Mathematical Foundations

  16. Help Software Updates Available Software T&MSP: Mathematical Foundations

  17. These are useful in later modules Atelier B B2Latex ProB Animator T&MSP: Mathematical Foundations

  18. Typical Use of Rodin – default Eclipse window layout T&MSP: Mathematical Foundations

  19. Wewillstart to workwith RODIN in a few weeks time, but pleaseinstallit and playaroundwithit (and the on-line tutorials). For the remainder of today I wantyou to worktogether on a mathematicalproblem. This problemcanbesolved in a number of differentways, and using a number of techniques/skills. My goal is to observe how youchoose to work on the problem and whatmathematicsyouchoose to employ. The problemisbased on a robot walkingaround a rectangulargrid. YourTaskis to specify/defineformally the requiredfunctionality T&MSP: Mathematical Foundations

  20. Robot Walker: step1 • You are to specify a function, f, that: • Takes as input the: • size of a square grid • Calculates the x,yco-ordinates of the robot afterit has walkedhalfwayaround the gridfollowing a spiral walk, startingat 0,0 and movingclockwise. • In the example the function • Calculates • f(6) = (3,0) 0,0 0,5 3,0 5,0 5,5 T&MSP: Mathematical Foundations

  21. Robot Walker: step2 You are to specify a function, f, that: Takes as input the size of a square grid and the starting corner: TopLeft, TopRight, BottomLeft Calculates the x,yco-ordinates of the robot afterit has walkedhalfwayaround the gridfollowing a spiral walk, startingat the specifiedstarting corner and movingclockwise. In the example the function Calculates f(6, TOPLEFT) = (3,0) 0,0 0,5 3,0 5,0 5,5 T&MSP: Mathematical Foundations

  22. Robot Walker: step3 • You are to specify a function, f, that: • Takes as input the • size of a square grid, and • the starting corner: TopLeft, TopRight, BottomLeft, and • The direction: clockwise or anticlockwise • Calculates the x,yco-ordinates of the robot afterit has walkedhalfwayaround the gridfollowing a spiral walk, at the specifiedstarting corner and moving in the specified direction • In the example the function • Calculates • f(6, TOPLEFT, clockwise) = (3,0) 0,0 0,5 3,0 5,0 5,5 T&MSP: Mathematical Foundations

  23. Robot Walker: step4 • You are to specify a function, f, that: • Takes as input the • size of a rectangulargrid, and • the starting corner: TopLeft, TopRight, BottomLeft, and • The directuion: clockwise or anticlockwise • Calculates the x,yco-ordinates of the robot afterit has walkedhalfwayaround the gridfollowing a spiral walk, startingat 0,0 and movingclockwise. • In the example the function • Calculates • f(6,6,TOPLEFT,clockwise) = (3,0) 0,0 0,5 3,0 5,0 5,5 T&MSP: Mathematical Foundations

  24. Robot Walker: step5 – testing each of the previous steps How sure are youthatyourfunctionis correct? Is iteasier to do the maths if the functionallows a degree of error? Whatis the errorbound of yourfunction? Whatmathematicsdidyou (re)use in eachstep? Woulditbeeasier to program a solution? Why not try? Wewill return to the robot walkerlater in the module T&MSP: Mathematical Foundations

More Related