INSERT INTO `mdl_logstore_standard_log` (`id`, `eventname`, `component`, `action`, `target`, `objecttable`, `objectid`, `crud`, `edulevel`, `contextid`, `contextlevel`, `contextinstanceid`, `userid`, `courseid`, `relateduserid`, `anonymous`, `other`, `timecreated`, `origin`, `ip`, `realuserid`) VALUES
(1376, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1881, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"defaulttoggleiconsize\",\"oldvalue\":null,\"value\":\"tc-medium\",\"plugin\":\"format_topcoll\"}', 1643541548, 'web', '127.0.0.1', NULL),
(1377, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1882, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"defaulttoggleborderradiustl\",\"oldvalue\":null,\"value\":\"0.7\",\"plugin\":\"format_topcoll\"}', 1643541548, 'web', '127.0.0.1', NULL),
(1378, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1883, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"defaulttoggleborderradiustr\",\"oldvalue\":null,\"value\":\"0.7\",\"plugin\":\"format_topcoll\"}', 1643541548, 'web', '127.0.0.1', NULL),
(1379, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1884, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"defaulttoggleborderradiusbr\",\"oldvalue\":null,\"value\":\"0.7\",\"plugin\":\"format_topcoll\"}', 1643541548, 'web', '127.0.0.1', NULL),
(1380, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1885, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"defaulttoggleborderradiusbl\",\"oldvalue\":null,\"value\":\"0.7\",\"plugin\":\"format_topcoll\"}', 1643541548, 'web', '127.0.0.1', NULL),
(1381, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1886, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"formatresponsive\",\"oldvalue\":null,\"value\":\"0\",\"plugin\":\"format_topcoll\"}', 1643541548, 'web', '127.0.0.1', NULL),
(1382, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1887, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"enableadditionalmoddata\",\"oldvalue\":null,\"value\":\"1\",\"plugin\":\"format_topcoll\"}', 1643541548, 'web', '127.0.0.1', NULL),
(1383, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1888, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"courseadditionalmoddatamaxstudents\",\"oldvalue\":null,\"value\":\"0\",\"plugin\":\"format_topcoll\"}', 1643541549, 'web', '127.0.0.1', NULL),
(1384, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1889, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"defaultshowadditionalmoddata\",\"oldvalue\":null,\"value\":\"2\",\"plugin\":\"format_topcoll\"}', 1643541549, 'web', '127.0.0.1', NULL),
(1385, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1890, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"coursesectionactivityfurtherinformationassign\",\"oldvalue\":null,\"value\":\"2\",\"plugin\":\"format_topcoll\"}', 1643541549, 'web', '127.0.0.1', NULL),
(1386, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1891, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"coursesectionactivityfurtherinformationquiz\",\"oldvalue\":null,\"value\":\"2\",\"plugin\":\"format_topcoll\"}', 1643541549, 'web', '127.0.0.1', NULL),
(1387, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1892, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"coursesectionactivityfurtherinformationchoice\",\"oldvalue\":null,\"value\":\"2\",\"plugin\":\"format_topcoll\"}', 1643541549, 'web', '127.0.0.1', NULL),
(1388, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1893, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"coursesectionactivityfurtherinformationfeedback\",\"oldvalue\":null,\"value\":\"2\",\"plugin\":\"format_topcoll\"}', 1643541549, 'web', '127.0.0.1', NULL),
(1389, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1894, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"coursesectionactivityfurtherinformationforum\",\"oldvalue\":null,\"value\":\"2\",\"plugin\":\"format_topcoll\"}', 1643541549, 'web', '127.0.0.1', NULL),
(1390, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1895, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"coursesectionactivityfurtherinformationlesson\",\"oldvalue\":null,\"value\":\"2\",\"plugin\":\"format_topcoll\"}', 1643541549, 'web', '127.0.0.1', NULL),
(1391, '\\core\\event\\config_log_created', 'core', 'created', 'config_log', 'config_log', 1896, 'c', 0, 1, 10, 0, 2, 0, NULL, 0, '{\"name\":\"coursesectionactivityfurtherinformationdata\",\"oldvalue\":null,\"value\":\"2\",\"plugin\":\"format_topcoll\"}', 1643541549, 'web', '127.0.0.1', NULL);

-- --------------------------------------------------------

--
-- Structure de la table `mdl_log_display`
--

CREATE TABLE `mdl_log_display` (
  `id` bigint(10) NOT NULL,
  `module` varchar(20) NOT NULL DEFAULT '',
  `action` varchar(40) NOT NULL DEFAULT '',
  `mtable` varchar(30) NOT NULL DEFAULT '',
  `field` varchar(200) NOT NULL DEFAULT '',
  `component` varchar(100) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='For a particular module/action, specifies a moodle table/fie' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_log_display`
--

INSERT INTO `mdl_log_display` (`id`, `module`, `action`, `mtable`, `field`, `component`) VALUES
(1, 'course', 'user report', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(2, 'course', 'view', 'course', 'fullname', 'moodle'),
(3, 'course', 'view section', 'course_sections', 'name', 'moodle'),
(4, 'course', 'update', 'course', 'fullname', 'moodle'),
(5, 'course', 'hide', 'course', 'fullname', 'moodle'),
(6, 'course', 'show', 'course', 'fullname', 'moodle'),
(7, 'course', 'move', 'course', 'fullname', 'moodle'),
(8, 'course', 'enrol', 'course', 'fullname', 'moodle'),
(9, 'course', 'unenrol', 'course', 'fullname', 'moodle'),
(10, 'course', 'report log', 'course', 'fullname', 'moodle'),
(11, 'course', 'report live', 'course', 'fullname', 'moodle'),
(12, 'course', 'report outline', 'course', 'fullname', 'moodle'),
(13, 'course', 'report participation', 'course', 'fullname', 'moodle'),
(14, 'course', 'report stats', 'course', 'fullname', 'moodle'),
(15, 'category', 'add', 'course_categories', 'name', 'moodle'),
(16, 'category', 'hide', 'course_categories', 'name', 'moodle'),
(17, 'category', 'move', 'course_categories', 'name', 'moodle'),
(18, 'category', 'show', 'course_categories', 'name', 'moodle'),
(19, 'category', 'update', 'course_categories', 'name', 'moodle'),
(20, 'message', 'write', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(21, 'message', 'read', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(22, 'message', 'add contact', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(23, 'message', 'remove contact', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(24, 'message', 'block contact', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(25, 'message', 'unblock contact', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(26, 'group', 'view', 'groups', 'name', 'moodle'),
(27, 'tag', 'update', 'tag', 'name', 'moodle'),
(28, 'tag', 'flag', 'tag', 'name', 'moodle'),
(29, 'user', 'view', 'user', 'CONCAT(firstname, \' \', lastname)', 'moodle'),
(30, 'assign', 'add', 'assign', 'name', 'mod_assign'),
(31, 'assign', 'delete mod', 'assign', 'name', 'mod_assign'),
(32, 'assign', 'download all submissions', 'assign', 'name', 'mod_assign'),
(33, 'assign', 'grade submission', 'assign', 'name', 'mod_assign'),
(34, 'assign', 'lock submission', 'assign', 'name', 'mod_assign'),
(35, 'assign', 'reveal identities', 'assign', 'name', 'mod_assign'),
(36, 'assign', 'revert submission to draft', 'assign', 'name', 'mod_assign'),
(37, 'assign', 'set marking workflow state', 'assign', 'name', 'mod_assign'),
(38, 'assign', 'submission statement accepted', 'assign', 'name', 'mod_assign'),
(39, 'assign', 'submit', 'assign', 'name', 'mod_assign'),
(40, 'assign', 'submit for grading', 'assign', 'name', 'mod_assign'),
(41, 'assign', 'unlock submission', 'assign', 'name', 'mod_assign'),
(42, 'assign', 'update', 'assign', 'name', 'mod_assign'),
(43, 'assign', 'upload', 'assign', 'name', 'mod_assign'),
(44, 'assign', 'view', 'assign', 'name', 'mod_assign'),
(45, 'assign', 'view all', 'course', 'fullname', 'mod_assign'),
(46, 'assign', 'view confirm submit assignment form', 'assign', 'name', 'mod_assign'),
(47, 'assign', 'view grading form', 'assign', 'name', 'mod_assign'),
(48, 'assign', 'view submission', 'assign', 'name', 'mod_assign'),
(49, 'assign', 'view submission grading table', 'assign', 'name', 'mod_assign'),
(50, 'assign', 'view submit assignment form', 'assign', 'name', 'mod_assign'),
(51, 'assign', 'view feedback', 'assign', 'name', 'mod_assign'),
(52, 'assign', 'view batch set marking workflow state', 'assign', 'name', 'mod_assign'),
(53, 'assignment', 'view', 'assignment', 'name', 'mod_assignment'),
(54, 'assignment', 'add', 'assignment', 'name', 'mod_assignment'),
(55, 'assignment', 'update', 'assignment', 'name', 'mod_assignment'),
(56, 'assignment', 'view submission', 'assignment', 'name', 'mod_assignment'),
(57, 'assignment', 'upload', 'assignment', 'name', 'mod_assignment'),
(58, 'book', 'add', 'book', 'name', 'mod_book'),
(59, 'book', 'update', 'book', 'name', 'mod_book'),
(60, 'book', 'view', 'book', 'name', 'mod_book'),
(61, 'book', 'add chapter', 'book_chapters', 'title', 'mod_book'),
(62, 'book', 'update chapter', 'book_chapters', 'title', 'mod_book'),
(63, 'book', 'view chapter', 'book_chapters', 'title', 'mod_book'),
(64, 'chat', 'view', 'chat', 'name', 'mod_chat'),
(65, 'chat', 'add', 'chat', 'name', 'mod_chat'),
(66, 'chat', 'update', 'chat', 'name', 'mod_chat'),
(67, 'chat', 'report', 'chat', 'name', 'mod_chat'),
(68, 'chat', 'talk', 'chat', 'name', 'mod_chat'),
(69, 'choice', 'view', 'choice', 'name', 'mod_choice'),
(70, 'choice', 'update', 'choice', 'name', 'mod_choice'),
(71, 'choice', 'add', 'choice', 'name', 'mod_choice'),
(72, 'choice', 'report', 'choice', 'name', 'mod_choice'),
(73, 'choice', 'choose', 'choice', 'name', 'mod_choice'),
(74, 'choice', 'choose again', 'choice', 'name', 'mod_choice'),
(75, 'data', 'view', 'data', 'name', 'mod_data'),
(76, 'data', 'add', 'data', 'name', 'mod_data'),
(77, 'data', 'update', 'data', 'name', 'mod_data'),
(78, 'data', 'record delete', 'data', 'name', 'mod_data'),
(79, 'data', 'fields add', 'data_fields', 'name', 'mod_data'),
(80, 'data', 'fields update', 'data_fields', 'name', 'mod_data'),
(81, 'data', 'templates saved', 'data', 'name', 'mod_data'),
(82, 'data', 'templates def', 'data', 'name', 'mod_data'),
(83, 'feedback', 'startcomplete', 'feedback', 'name', 'mod_feedback'),
(84, 'feedback', 'submit', 'feedback', 'name', 'mod_feedback'),
(85, 'feedback', 'delete', 'feedback', 'name', 'mod_feedback'),
(86, 'feedback', 'view', 'feedback', 'name', 'mod_feedback'),
(87, 'feedback', 'view all', 'course', 'shortname', 'mod_feedback'),
(88, 'folder', 'view', 'folder', 'name', 'mod_folder'),
(89, 'folder', 'view all', 'folder', 'name', 'mod_folder'),
(90, 'folder', 'update', 'folder', 'name', 'mod_folder'),
(91, 'folder', 'add', 'folder', 'name', 'mod_folder'),
(92, 'forum', 'add', 'forum', 'name', 'mod_forum'),
(93, 'forum', 'update', 'forum', 'name', 'mod_forum'),
(94, 'forum', 'add discussion', 'forum_discussions', 'name', 'mod_forum'),
(95, 'forum', 'add post', 'forum_posts', 'subject', 'mod_forum'),
(96, 'forum', 'update post', 'forum_posts', 'subject', 'mod_forum'),
(97, 'forum', 'user report', 'user', 'CONCAT(firstname, \' \', lastname)', 'mod_forum'),
(98, 'forum', 'move discussion', 'forum_discussions', 'name', 'mod_forum'),
(99, 'forum', 'view subscribers', 'forum', 'name', 'mod_forum'),
(100, 'forum', 'view discussion', 'forum_discussions', 'name', 'mod_forum'),
(101, 'forum', 'view forum', 'forum', 'name', 'mod_forum'),
(102, 'forum', 'subscribe', 'forum', 'name', 'mod_forum'),
(103, 'forum', 'unsubscribe', 'forum', 'name', 'mod_forum'),
(104, 'forum', 'pin discussion', 'forum_discussions', 'name', 'mod_forum'),
(105, 'forum', 'unpin discussion', 'forum_discussions', 'name', 'mod_forum'),
(106, 'glossary', 'add', 'glossary', 'name', 'mod_glossary'),
(107, 'glossary', 'update', 'glossary', 'name', 'mod_glossary'),
(108, 'glossary', 'view', 'glossary', 'name', 'mod_glossary'),
(109, 'glossary', 'view all', 'glossary', 'name', 'mod_glossary'),
(110, 'glossary', 'add entry', 'glossary', 'name', 'mod_glossary'),
(111, 'glossary', 'update entry', 'glossary', 'name', 'mod_glossary'),
(112, 'glossary', 'add category', 'glossary', 'name', 'mod_glossary'),
(113, 'glossary', 'update category', 'glossary', 'name', 'mod_glossary'),
(114, 'glossary', 'delete category', 'glossary', 'name', 'mod_glossary'),
(115, 'glossary', 'approve entry', 'glossary', 'name', 'mod_glossary'),
(116, 'glossary', 'disapprove entry', 'glossary', 'name', 'mod_glossary'),
(117, 'glossary', 'view entry', 'glossary_entries', 'concept', 'mod_glossary'),
(118, 'imscp', 'view', 'imscp', 'name', 'mod_imscp'),
(119, 'imscp', 'view all', 'imscp', 'name', 'mod_imscp'),
(120, 'imscp', 'update', 'imscp', 'name', 'mod_imscp'),
(121, 'imscp', 'add', 'imscp', 'name', 'mod_imscp'),
(122, 'label', 'add', 'label', 'name', 'mod_label'),
(123, 'label', 'update', 'label', 'name', 'mod_label'),
(124, 'lesson', 'start', 'lesson', 'name', 'mod_lesson'),
(125, 'lesson', 'end', 'lesson', 'name', 'mod_lesson'),
(126, 'lesson', 'view', 'lesson_pages', 'title', 'mod_lesson'),
(127, 'lti', 'view', 'lti', 'name', 'mod_lti'),
(128, 'lti', 'launch', 'lti', 'name', 'mod_lti'),
(129, 'lti', 'view all', 'lti', 'name', 'mod_lti'),
(130, 'page', 'view', 'page', 'name', 'mod_page'),
(131, 'page', 'view all', 'page', 'name', 'mod_page'),
(132, 'page', 'update', 'page', 'name', 'mod_page'),
(133, 'page', 'add', 'page', 'name', 'mod_page'),
(134, 'quiz', 'add', 'quiz', 'name', 'mod_quiz'),
(135, 'quiz', 'update', 'quiz', 'name', 'mod_quiz'),
(136, 'quiz', 'view', 'quiz', 'name', 'mod_quiz'),
(137, 'quiz', 'report', 'quiz', 'name', 'mod_quiz'),
(138, 'quiz', 'attempt', 'quiz', 'name', 'mod_quiz'),
(139, 'quiz', 'submit', 'quiz', 'name', 'mod_quiz'),
(140, 'quiz', 'review', 'quiz', 'name', 'mod_quiz'),
(141, 'quiz', 'editquestions', 'quiz', 'name', 'mod_quiz'),
(142, 'quiz', 'preview', 'quiz', 'name', 'mod_quiz'),
(143, 'quiz', 'start attempt', 'quiz', 'name', 'mod_quiz'),
(144, 'quiz', 'close attempt', 'quiz', 'name', 'mod_quiz'),
(145, 'quiz', 'continue attempt', 'quiz', 'name', 'mod_quiz'),
(146, 'quiz', 'edit override', 'quiz', 'name', 'mod_quiz'),
(147, 'quiz', 'delete override', 'quiz', 'name', 'mod_quiz'),
(148, 'quiz', 'view summary', 'quiz', 'name', 'mod_quiz'),
(149, 'resource', 'view', 'resource', 'name', 'mod_resource'),
(150, 'resource', 'view all', 'resource', 'name', 'mod_resource'),
(151, 'resource', 'update', 'resource', 'name', 'mod_resource'),
(152, 'resource', 'add', 'resource', 'name', 'mod_resource'),
(153, 'scorm', 'view', 'scorm', 'name', 'mod_scorm'),
(154, 'scorm', 'review', 'scorm', 'name', 'mod_scorm'),
(155, 'scorm', 'update', 'scorm', 'name', 'mod_scorm'),
(156, 'scorm', 'add', 'scorm', 'name', 'mod_scorm'),
(157, 'survey', 'add', 'survey', 'name', 'mod_survey'),
(158, 'survey', 'update', 'survey', 'name', 'mod_survey'),
(159, 'survey', 'download', 'survey', 'name', 'mod_survey'),
(160, 'survey', 'view form', 'survey', 'name', 'mod_survey'),
(161, 'survey', 'view graph', 'survey', 'name', 'mod_survey'),
(162, 'survey', 'view report', 'survey', 'name', 'mod_survey'),
(163, 'survey', 'submit', 'survey', 'name', 'mod_survey'),
(164, 'url', 'view', 'url', 'name', 'mod_url'),
(165, 'url', 'view all', 'url', 'name', 'mod_url'),
(166, 'url', 'update', 'url', 'name', 'mod_url'),
(167, 'url', 'add', 'url', 'name', 'mod_url'),
(168, 'workshop', 'add', 'workshop', 'name', 'mod_workshop'),
(169, 'workshop', 'update', 'workshop', 'name', 'mod_workshop'),
(170, 'workshop', 'view', 'workshop', 'name', 'mod_workshop'),
(171, 'workshop', 'view all', 'workshop', 'name', 'mod_workshop'),
(172, 'workshop', 'add submission', 'workshop_submissions', 'title', 'mod_workshop'),
(173, 'workshop', 'update submission', 'workshop_submissions', 'title', 'mod_workshop'),
(174, 'workshop', 'view submission', 'workshop_submissions', 'title', 'mod_workshop'),
(175, 'workshop', 'add assessment', 'workshop_submissions', 'title', 'mod_workshop'),
(176, 'workshop', 'update assessment', 'workshop_submissions', 'title', 'mod_workshop'),
(177, 'workshop', 'add example', 'workshop_submissions', 'title', 'mod_workshop'),
(178, 'workshop', 'update example', 'workshop_submissions', 'title', 'mod_workshop'),
(179, 'workshop', 'view example', 'workshop_submissions', 'title', 'mod_workshop'),
(180, 'workshop', 'add reference assessment', 'workshop_submissions', 'title', 'mod_workshop'),
(181, 'workshop', 'update reference assessment', 'workshop_submissions', 'title', 'mod_workshop'),
(182, 'workshop', 'add example assessment', 'workshop_submissions', 'title', 'mod_workshop'),
(183, 'workshop', 'update example assessment', 'workshop_submissions', 'title', 'mod_workshop'),
(184, 'workshop', 'update aggregate grades', 'workshop', 'name', 'mod_workshop'),
(185, 'workshop', 'update clear aggregated grades', 'workshop', 'name', 'mod_workshop'),
(186, 'workshop', 'update clear assessments', 'workshop', 'name', 'mod_workshop'),
(187, 'book', 'exportimscp', 'book', 'name', 'booktool_exportimscp'),
(188, 'book', 'print', 'book', 'name', 'booktool_print'),
(189, 'book', 'print chapter', 'book_chapters', 'title', 'booktool_print'),
(190, 'geogebra', 'add', 'geogebra', 'name', 'mod_geogebra'),
(191, 'geogebra', 'view', 'geogebra', 'name', 'mod_geogebra'),
(192, 'geogebra', 'update', 'geogebra', 'name', 'mod_geogebra');

-- --------------------------------------------------------

--
-- Structure de la table `mdl_log_queries`
--

CREATE TABLE `mdl_log_queries` (
  `id` bigint(10) NOT NULL,
  `qtype` mediumint(5) NOT NULL,
  `sqltext` longtext NOT NULL,
  `sqlparams` longtext DEFAULT NULL,
  `error` mediumint(5) NOT NULL DEFAULT 0,
  `info` longtext DEFAULT NULL,
  `backtrace` longtext DEFAULT NULL,
  `exectime` decimal(10,5) NOT NULL,
  `timelogged` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Logged database queries.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_lti`
--

CREATE TABLE `mdl_lti` (
  `id` bigint(10) NOT NULL,
  `course` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext DEFAULT NULL,
  `introformat` smallint(4) DEFAULT 0,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0,
  `typeid` bigint(10) DEFAULT NULL,
  `toolurl` longtext NOT NULL,
  `securetoolurl` longtext DEFAULT NULL,
  `instructorchoicesendname` tinyint(1) DEFAULT NULL,
  `instructorchoicesendemailaddr` tinyint(1) DEFAULT NULL,
  `instructorchoiceallowroster` tinyint(1) DEFAULT NULL,
  `instructorchoiceallowsetting` tinyint(1) DEFAULT NULL,
  `instructorcustomparameters` longtext DEFAULT NULL,
  `instructorchoiceacceptgrades` tinyint(1) DEFAULT NULL,
  `grade` bigint(10) NOT NULL DEFAULT 100,
  `launchcontainer` tinyint(2) NOT NULL DEFAULT 1,
  `resourcekey` varchar(255) DEFAULT NULL,
  `password` varchar(255) DEFAULT NULL,
  `debuglaunch` tinyint(1) NOT NULL DEFAULT 0,
  `showtitlelaunch` tinyint(1) NOT NULL DEFAULT 0,
  `showdescriptionlaunch` tinyint(1) NOT NULL DEFAULT 0,
  `servicesalt` varchar(40) DEFAULT NULL,
  `icon` longtext DEFAULT NULL,
  `secureicon` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='This table contains Basic LTI activities instances' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_ltiservice_gradebookservices`
--

CREATE TABLE `mdl_ltiservice_gradebookservices` (
  `id` bigint(10) NOT NULL,
  `gradeitemid` bigint(10) NOT NULL,
  `courseid` bigint(10) NOT NULL,
  `toolproxyid` bigint(10) DEFAULT NULL,
  `typeid` bigint(10) DEFAULT NULL,
  `baseurl` longtext DEFAULT NULL,
  `ltilinkid` bigint(10) DEFAULT NULL,
  `resourceid` varchar(512) DEFAULT NULL,
  `tag` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='This file records the grade items created by the LTI Gradebo' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_lti_access_tokens`
--

CREATE TABLE `mdl_lti_access_tokens` (
  `id` bigint(10) NOT NULL,
  `typeid` bigint(10) NOT NULL,
  `scope` longtext NOT NULL,
  `token` varchar(128) NOT NULL DEFAULT '',
  `validuntil` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `lastaccess` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Security tokens for accessing of LTI services' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_lti_submission`
--

CREATE TABLE `mdl_lti_submission` (
  `id` bigint(10) NOT NULL,
  `ltiid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `datesubmitted` bigint(10) NOT NULL,
  `dateupdated` bigint(10) NOT NULL,
  `gradepercent` decimal(10,5) NOT NULL,
  `originalgrade` decimal(10,5) NOT NULL,
  `launchid` bigint(10) NOT NULL,
  `state` tinyint(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Keeps track of individual submissions for LTI activities.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_lti_tool_proxies`
--

CREATE TABLE `mdl_lti_tool_proxies` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT 'Tool Provider',
  `regurl` longtext DEFAULT NULL,
  `state` tinyint(2) NOT NULL DEFAULT 1,
  `guid` varchar(255) DEFAULT NULL,
  `secret` varchar(255) DEFAULT NULL,
  `vendorcode` varchar(255) DEFAULT NULL,
  `capabilityoffered` longtext NOT NULL,
  `serviceoffered` longtext NOT NULL,
  `toolproxy` longtext DEFAULT NULL,
  `createdby` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='LTI tool proxy registrations' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_lti_tool_settings`
--

CREATE TABLE `mdl_lti_tool_settings` (
  `id` bigint(10) NOT NULL,
  `toolproxyid` bigint(10) NOT NULL,
  `typeid` bigint(10) DEFAULT NULL,
  `course` bigint(10) DEFAULT NULL,
  `coursemoduleid` bigint(10) DEFAULT NULL,
  `settings` longtext NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='LTI tool setting values' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_lti_types`
--

CREATE TABLE `mdl_lti_types` (
  `id` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT 'basiclti Activity',
  `baseurl` longtext NOT NULL,
  `tooldomain` varchar(255) NOT NULL DEFAULT '',
  `state` tinyint(2) NOT NULL DEFAULT 2,
  `course` bigint(10) NOT NULL,
  `coursevisible` tinyint(1) NOT NULL DEFAULT 0,
  `ltiversion` varchar(10) NOT NULL DEFAULT '',
  `clientid` varchar(255) DEFAULT NULL,
  `toolproxyid` bigint(10) DEFAULT NULL,
  `enabledcapability` longtext DEFAULT NULL,
  `parameter` longtext DEFAULT NULL,
  `icon` longtext DEFAULT NULL,
  `secureicon` longtext DEFAULT NULL,
  `createdby` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `description` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Basic LTI pre-configured activities' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_lti_types_config`
--

CREATE TABLE `mdl_lti_types_config` (
  `id` bigint(10) NOT NULL,
  `typeid` bigint(10) NOT NULL,
  `name` varchar(100) NOT NULL DEFAULT '',
  `value` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Basic LTI types configuration' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message`
--

CREATE TABLE `mdl_message` (
  `id` bigint(10) NOT NULL,
  `useridfrom` bigint(10) NOT NULL DEFAULT 0,
  `useridto` bigint(10) NOT NULL DEFAULT 0,
  `subject` longtext DEFAULT NULL,
  `fullmessage` longtext DEFAULT NULL,
  `fullmessageformat` smallint(4) DEFAULT 0,
  `fullmessagehtml` longtext DEFAULT NULL,
  `smallmessage` longtext DEFAULT NULL,
  `notification` tinyint(1) DEFAULT 0,
  `contexturl` longtext DEFAULT NULL,
  `contexturlname` longtext DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timeuserfromdeleted` bigint(10) NOT NULL DEFAULT 0,
  `timeusertodeleted` bigint(10) NOT NULL DEFAULT 0,
  `component` varchar(100) DEFAULT NULL,
  `eventtype` varchar(100) DEFAULT NULL,
  `customdata` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Stores all unread messages' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_messageinbound_datakeys`
--

CREATE TABLE `mdl_messageinbound_datakeys` (
  `id` bigint(10) NOT NULL,
  `handler` bigint(10) NOT NULL,
  `datavalue` bigint(10) NOT NULL,
  `datakey` varchar(64) DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL,
  `expires` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Inbound Message data item secret keys.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_messageinbound_handlers`
--

CREATE TABLE `mdl_messageinbound_handlers` (
  `id` bigint(10) NOT NULL,
  `component` varchar(100) NOT NULL DEFAULT '',
  `classname` varchar(255) NOT NULL DEFAULT '',
  `defaultexpiration` bigint(10) NOT NULL DEFAULT 86400,
  `validateaddress` tinyint(1) NOT NULL DEFAULT 1,
  `enabled` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Inbound Message Handler definitions.' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_messageinbound_handlers`
--

INSERT INTO `mdl_messageinbound_handlers` (`id`, `component`, `classname`, `defaultexpiration`, `validateaddress`, `enabled`) VALUES
(1, 'core', '\\core\\message\\inbound\\private_files_handler', 0, 1, 0),
(2, 'mod_forum', '\\mod_forum\\message\\inbound\\reply_handler', 604800, 1, 0),
(3, 'tool_messageinbound', '\\tool_messageinbound\\message\\inbound\\invalid_recipient_handler', 604800, 0, 1);

-- --------------------------------------------------------

--
-- Structure de la table `mdl_messageinbound_messagelist`
--

CREATE TABLE `mdl_messageinbound_messagelist` (
  `id` bigint(10) NOT NULL,
  `messageid` longtext NOT NULL,
  `userid` bigint(10) NOT NULL,
  `address` longtext NOT NULL,
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='A list of message IDs for existing replies' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_messages`
--

CREATE TABLE `mdl_messages` (
  `id` bigint(10) NOT NULL,
  `useridfrom` bigint(10) NOT NULL,
  `conversationid` bigint(10) NOT NULL,
  `subject` longtext DEFAULT NULL,
  `fullmessage` longtext DEFAULT NULL,
  `fullmessageformat` tinyint(1) NOT NULL DEFAULT 0,
  `fullmessagehtml` longtext DEFAULT NULL,
  `smallmessage` longtext DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL,
  `fullmessagetrust` tinyint(2) NOT NULL DEFAULT 0,
  `customdata` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Stores all messages' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_airnotifier_devices`
--

CREATE TABLE `mdl_message_airnotifier_devices` (
  `id` bigint(10) NOT NULL,
  `userdeviceid` bigint(10) NOT NULL,
  `enable` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Store information about the devices registered in Airnotifie' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_contacts`
--

CREATE TABLE `mdl_message_contacts` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `contactid` bigint(10) NOT NULL,
  `timecreated` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Maintains lists of contacts between users' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_contact_requests`
--

CREATE TABLE `mdl_message_contact_requests` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `requesteduserid` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Maintains list of contact requests between users' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_conversations`
--

CREATE TABLE `mdl_message_conversations` (
  `id` bigint(10) NOT NULL,
  `type` bigint(10) NOT NULL DEFAULT 1,
  `name` varchar(255) DEFAULT NULL,
  `convhash` varchar(40) DEFAULT NULL,
  `component` varchar(100) DEFAULT NULL,
  `itemtype` varchar(100) DEFAULT NULL,
  `itemid` bigint(10) DEFAULT NULL,
  `contextid` bigint(10) DEFAULT NULL,
  `enabled` tinyint(1) NOT NULL DEFAULT 0,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Stores all message conversations' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_conversation_actions`
--

CREATE TABLE `mdl_message_conversation_actions` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `conversationid` bigint(10) NOT NULL,
  `action` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Stores all per-user actions on individual conversations' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_conversation_members`
--

CREATE TABLE `mdl_message_conversation_members` (
  `id` bigint(10) NOT NULL,
  `conversationid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Stores all members in a conversations' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_email_messages`
--

CREATE TABLE `mdl_message_email_messages` (
  `id` bigint(10) NOT NULL,
  `useridto` bigint(10) NOT NULL,
  `conversationid` bigint(10) NOT NULL,
  `messageid` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Keeps track of what emails to send in an email digest' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_popup`
--

CREATE TABLE `mdl_message_popup` (
  `id` bigint(10) NOT NULL,
  `messageid` bigint(10) NOT NULL,
  `isread` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Keep state of notifications for the popup message processor' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_popup_notifications`
--

CREATE TABLE `mdl_message_popup_notifications` (
  `id` bigint(10) NOT NULL,
  `notificationid` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='List of notifications to display in the message output popup' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_processors`
--

CREATE TABLE `mdl_message_processors` (
  `id` bigint(10) NOT NULL,
  `name` varchar(166) NOT NULL DEFAULT '',
  `enabled` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='List of message output plugins' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_message_processors`
--

INSERT INTO `mdl_message_processors` (`id`, `name`, `enabled`) VALUES
(1, 'airnotifier', 1),
(2, 'email', 1),
(3, 'jabber', 1),
(4, 'popup', 1);

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_providers`
--

CREATE TABLE `mdl_message_providers` (
  `id` bigint(10) NOT NULL,
  `name` varchar(100) NOT NULL DEFAULT '',
  `component` varchar(200) NOT NULL DEFAULT '',
  `capability` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='This table stores the message providers (modules and core sy' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_message_providers`
--

INSERT INTO `mdl_message_providers` (`id`, `name`, `component`, `capability`) VALUES
(1, 'notices', 'moodle', 'moodle/site:config'),
(2, 'errors', 'moodle', 'moodle/site:config'),
(3, 'availableupdate', 'moodle', 'moodle/site:config'),
(4, 'instantmessage', 'moodle', NULL),
(5, 'backup', 'moodle', 'moodle/site:config'),
(6, 'courserequested', 'moodle', 'moodle/site:approvecourse'),
(7, 'courserequestapproved', 'moodle', 'moodle/course:request'),
(8, 'courserequestrejected', 'moodle', 'moodle/course:request'),
(9, 'badgerecipientnotice', 'moodle', 'moodle/badges:earnbadge'),
(10, 'badgecreatornotice', 'moodle', NULL),
(11, 'competencyplancomment', 'moodle', NULL),
(12, 'competencyusercompcomment', 'moodle', NULL),
(13, 'insights', 'moodle', NULL),
(14, 'messagecontactrequests', 'moodle', NULL),
(15, 'asyncbackupnotification', 'moodle', NULL),
(16, 'gradenotifications', 'moodle', NULL),
(17, 'assign_notification', 'mod_assign', NULL),
(18, 'assignment_updates', 'mod_assignment', NULL),
(19, 'submission', 'mod_feedback', NULL),
(20, 'message', 'mod_feedback', NULL),
(21, 'posts', 'mod_forum', NULL),
(22, 'digests', 'mod_forum', NULL),
(23, 'graded_essay', 'mod_lesson', NULL),
(24, 'submission', 'mod_quiz', 'mod/quiz:emailnotifysubmission'),
(25, 'confirmation', 'mod_quiz', 'mod/quiz:emailconfirmsubmission'),
(26, 'attempt_overdue', 'mod_quiz', 'mod/quiz:emailwarnoverdue'),
(27, 'flatfile_enrolment', 'enrol_flatfile', NULL),
(28, 'imsenterprise_enrolment', 'enrol_imsenterprise', NULL),
(29, 'expiry_notification', 'enrol_manual', NULL),
(30, 'paypal_enrolment', 'enrol_paypal', NULL),
(31, 'expiry_notification', 'enrol_self', NULL),
(32, 'contactdataprotectionofficer', 'tool_dataprivacy', 'tool/dataprivacy:managedatarequests'),
(33, 'datarequestprocessingresults', 'tool_dataprivacy', NULL),
(34, 'notifyexceptions', 'tool_dataprivacy', 'tool/dataprivacy:managedatarequests'),
(35, 'invalidrecipienthandler', 'tool_messageinbound', NULL),
(36, 'messageprocessingerror', 'tool_messageinbound', NULL),
(37, 'messageprocessingsuccess', 'tool_messageinbound', NULL),
(38, 'notification', 'tool_monitor', 'tool/monitor:subscribe'),
(39, 'submission', 'mod_hvp', 'mod/hvp:emailnotifysubmission'),
(40, 'confirmation', 'mod_hvp', 'mod/hvp:emailconfirmsubmission');

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_read`
--

CREATE TABLE `mdl_message_read` (
  `id` bigint(10) NOT NULL,
  `useridfrom` bigint(10) NOT NULL DEFAULT 0,
  `useridto` bigint(10) NOT NULL DEFAULT 0,
  `subject` longtext DEFAULT NULL,
  `fullmessage` longtext DEFAULT NULL,
  `fullmessageformat` smallint(4) DEFAULT 0,
  `fullmessagehtml` longtext DEFAULT NULL,
  `smallmessage` longtext DEFAULT NULL,
  `notification` tinyint(1) DEFAULT 0,
  `contexturl` longtext DEFAULT NULL,
  `contexturlname` longtext DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL DEFAULT 0,
  `timeread` bigint(10) NOT NULL DEFAULT 0,
  `timeuserfromdeleted` bigint(10) NOT NULL DEFAULT 0,
  `timeusertodeleted` bigint(10) NOT NULL DEFAULT 0,
  `component` varchar(100) DEFAULT NULL,
  `eventtype` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Stores all messages that have been read' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_users_blocked`
--

CREATE TABLE `mdl_message_users_blocked` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `blockeduserid` bigint(10) NOT NULL,
  `timecreated` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Maintains lists of blocked users' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_message_user_actions`
--

CREATE TABLE `mdl_message_user_actions` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `messageid` bigint(10) NOT NULL,
  `action` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Stores all per-user actions on individual messages' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_mnetservice_enrol_courses`
--

CREATE TABLE `mdl_mnetservice_enrol_courses` (
  `id` bigint(10) NOT NULL,
  `hostid` bigint(10) NOT NULL,
  `remoteid` bigint(10) NOT NULL,
  `categoryid` bigint(10) NOT NULL,
  `categoryname` varchar(255) NOT NULL DEFAULT '',
  `sortorder` bigint(10) NOT NULL DEFAULT 0,
  `fullname` varchar(254) NOT NULL DEFAULT '',
  `shortname` varchar(100) NOT NULL DEFAULT '',
  `idnumber` varchar(100) NOT NULL DEFAULT '',
  `summary` longtext NOT NULL,
  `summaryformat` smallint(3) DEFAULT 0,
  `startdate` bigint(10) NOT NULL,
  `roleid` bigint(10) NOT NULL,
  `rolename` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Caches the information fetched via XML-RPC about courses on ' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_mnetservice_enrol_enrolments`
--

CREATE TABLE `mdl_mnetservice_enrol_enrolments` (
  `id` bigint(10) NOT NULL,
  `hostid` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `remotecourseid` bigint(10) NOT NULL,
  `rolename` varchar(255) NOT NULL DEFAULT '',
  `enroltime` bigint(10) NOT NULL DEFAULT 0,
  `enroltype` varchar(20) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Caches the information about enrolments of our local users i' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_mnet_application`
--

CREATE TABLE `mdl_mnet_application` (
  `id` bigint(10) NOT NULL,
  `name` varchar(50) NOT NULL DEFAULT '',
  `display_name` varchar(50) NOT NULL DEFAULT '',
  `xmlrpc_server_url` varchar(255) NOT NULL DEFAULT '',
  `sso_land_url` varchar(255) NOT NULL DEFAULT '',
  `sso_jump_url` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Information about applications on remote hosts' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_mnet_application`
--

INSERT INTO `mdl_mnet_application` (`id`, `name`, `display_name`, `xmlrpc_server_url`, `sso_land_url`, `sso_jump_url`) VALUES
(1, 'moodle', 'Moodle', '/mnet/xmlrpc/server.php', '/auth/mnet/land.php', '/auth/mnet/jump.php'),
(2, 'mahara', 'Mahara', '/api/xmlrpc/server.php', '/auth/xmlrpc/land.php', '/auth/xmlrpc/jump.php');

-- --------------------------------------------------------

--
-- Structure de la table `mdl_mnet_host`
--

CREATE TABLE `mdl_mnet_host` (
  `id` bigint(10) NOT NULL,
  `deleted` tinyint(1) NOT NULL DEFAULT 0,
  `wwwroot` varchar(255) NOT NULL DEFAULT '',
  `ip_address` varchar(45) NOT NULL DEFAULT '',
  `name` varchar(80) NOT NULL DEFAULT '',
  `public_key` longtext NOT NULL,
  `public_key_expires` bigint(10) NOT NULL DEFAULT 0,
  `transport` tinyint(2) NOT NULL DEFAULT 0,
  `portno` mediumint(5) NOT NULL DEFAULT 0,
  `last_connect_time` bigint(10) NOT NULL DEFAULT 0,
  `last_log_id` bigint(10) NOT NULL DEFAULT 0,
  `force_theme` tinyint(1) NOT NULL DEFAULT 0,
  `theme` varchar(100) DEFAULT NULL,
  `applicationid` bigint(10) NOT NULL DEFAULT 1,
  `sslverification` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Information about the local and remote hosts for RPC' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_mnet_host`
--

INSERT INTO `mdl_mnet_host` (`id`, `deleted`, `wwwroot`, `ip_address`, `name`, `public_key`, `public_key_expires`, `transport`, `portno`, `last_connect_time`, `last_log_id`, `force_theme`, `theme`, `applicationid`, `sslverification`) VALUES
(1, 0, 'http://localhost/moodle', '127.0.0.1', '', '', 0, 0, 0, 0, 0, 0, NULL, 1, 0),
(2, 0, '', '', 'All Hosts', '', 0, 0, 0, 0, 0, 0, NULL, 1, 0);

-- --------------------------------------------------------

--
-- Structure de la table `mdl_mnet_host2service`
--

CREATE TABLE `mdl_mnet_host2service` (
  `id` bigint(10) NOT NULL,
  `hostid` bigint(10) NOT NULL DEFAULT 0,
  `serviceid` bigint(10) NOT NULL DEFAULT 0,
  `publish` tinyint(1) NOT NULL DEFAULT 0,
  `subscribe` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Information about the services for a given host' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_mnet_log`
--

CREATE TABLE `mdl_mnet_log` (
  `id` bigint(10) NOT NULL,
  `hostid` bigint(10) NOT NULL DEFAULT 0,
  `remoteid` bigint(10) NOT NULL DEFAULT 0,
  `time` bigint(10) NOT NULL DEFAULT 0,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `ip` varchar(45) NOT NULL DEFAULT '',
  `course` bigint(10) NOT NULL DEFAULT 0,
  `coursename` varchar(40) NOT NULL DEFAULT '',
  `module` varchar(20) NOT NULL DEFAULT '',
  `cmid` bigint(10) NOT NULL DEFAULT 0,
  `action` varchar(40) NOT NULL DEFAULT '',
  `url` varchar(100) NOT NULL DEFAULT '',
  `info` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Store session data from users migrating to other sites' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_mnet_remote_rpc`
--

CREATE TABLE `mdl_mnet_remote_rpc` (
  `id` bigint(10) NOT NULL,
  `functionname` varchar(40) NOT NULL DEFAULT '',
  `xmlrpcpath` varchar(80) NOT NULL DEFAULT '',
  `plugintype` varchar(20) NOT NULL DEFAULT '',
  `pluginname` varchar(20) NOT NULL DEFAULT '',
  `enabled` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='This table describes functions that might be called remotely' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_mnet_remote_rpc`
--

INSERT INTO `mdl_mnet_remote_rpc` (`id`, `functionname`, `xmlrpcpath`, `plugintype`, `pluginname`, `enabled`) VALUES
(1, 'user_authorise', 'auth/mnet/auth.php/user_authorise', 'auth', 'mnet', 1),
(2, 'keepalive_server', 'auth/mnet/auth.php/keepalive_server', 'auth', 'mnet', 1),
(3, 'kill_children', 'auth/mnet/auth.php/kill_children', 'auth', 'mnet', 1),
(4, 'refresh_log', 'auth/mnet/auth.php/refresh_log', 'auth', 'mnet', 1),
(5, 'fetch_user_image', 'auth/mnet/auth.php/fetch_user_image', 'auth', 'mnet', 1),
(6, 'fetch_theme_info', 'auth/mnet/auth.php/fetch_theme_info', 'auth', 'mnet', 1),
(7, 'update_enrolments', 'auth/mnet/auth.php/update_enrolments', 'auth', 'mnet', 1),
(8, 'keepalive_client', 'auth/mnet/auth.php/keepalive_client', 'auth', 'mnet', 1),
(9, 'kill_child', 'auth/mnet/auth.php/kill_child', 'auth', 'mnet', 1),
(10, 'available_courses', 'enrol/mnet/enrol.php/available_courses', 'enrol', 'mnet', 1),
(11, 'user_enrolments', 'enrol/mnet/enrol.php/user_enrolments', 'enrol', 'mnet', 1),
(12, 'enrol_user', 'enrol/mnet/enrol.php/enrol_user', 'enrol', 'mnet', 1),
(13, 'unenrol_user', 'enrol/mnet/enrol.php/unenrol_user', 'enrol', 'mnet', 1),
(14, 'course_enrolments', 'enrol/mnet/enrol.php/course_enrolments', 'enrol', 'mnet', 1),
(15, 'send_content_intent', 'portfolio/mahara/lib.php/send_content_intent', 'portfolio', 'mahara', 1),
(16, 'send_content_ready', 'portfolio/mahara/lib.php/send_content_ready', 'portfolio', 'mahara', 1);

-- --------------------------------------------------------

--
-- Structure de la table `mdl_mnet_remote_service2rpc`
--

CREATE TABLE `mdl_mnet_remote_service2rpc` (
  `id` bigint(10) NOT NULL,
  `serviceid` bigint(10) NOT NULL DEFAULT 0,
  `rpcid` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Group functions or methods under a service' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_mnet_remote_service2rpc`
--

INSERT INTO `mdl_mnet_remote_service2rpc` (`id`, `serviceid`, `rpcid`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 1, 3),
(4, 1, 4),
(5, 1, 5),
(6, 1, 6),
(7, 1, 7),
(8, 2, 8),
(9, 2, 9),
(10, 3, 10),
(11, 3, 11),
(12, 3, 12),
(13, 3, 13),
(14, 3, 14),
(15, 4, 15),
(16, 4, 16);

-- --------------------------------------------------------

--
-- Structure de la table `mdl_mnet_rpc`
--

CREATE TABLE `mdl_mnet_rpc` (
  `id` bigint(10) NOT NULL,
  `functionname` varchar(40) NOT NULL DEFAULT '',
  `xmlrpcpath` varchar(80) NOT NULL DEFAULT '',
  `plugintype` varchar(20) NOT NULL DEFAULT '',
  `pluginname` varchar(20) NOT NULL DEFAULT '',
  `enabled` tinyint(1) NOT NULL DEFAULT 0,
  `help` longtext NOT NULL,
  `profile` longtext NOT NULL,
  `filename` varchar(100) NOT NULL DEFAULT '',
  `classname` varchar(150) DEFAULT NULL,
  `static` tinyint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Functions or methods that we may publish or subscribe to' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_mnet_rpc`
--

INSERT INTO `mdl_mnet_rpc` (`id`, `functionname`, `xmlrpcpath`, `plugintype`, `pluginname`, `enabled`, `help`, `profile`, `filename`, `classname`, `static`) VALUES
(1, 'user_authorise', 'auth/mnet/auth.php/user_authorise', 'auth', 'mnet', 1, 'Return user data for the provided token, compare with user_agent string.', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:5:\"token\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:37:\"The unique ID provided by remotehost.\";}i:1;a:3:{s:4:\"name\";s:9:\"useragent\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:18:\"User Agent string.\";}}s:6:\"return\";a:2:{s:4:\"type\";s:5:\"array\";s:11:\"description\";s:44:\"$userdata Array of user info for remote host\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(2, 'keepalive_server', 'auth/mnet/auth.php/keepalive_server', 'auth', 'mnet', 1, 'Receives an array of usernames from a remote machine and prods their\nsessions to keep them alive', 'a:2:{s:10:\"parameters\";a:1:{i:0;a:3:{s:4:\"name\";s:5:\"array\";s:4:\"type\";s:5:\"array\";s:11:\"description\";s:21:\"An array of usernames\";}}s:6:\"return\";a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:28:\"\"All ok\" or an error message\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(3, 'kill_children', 'auth/mnet/auth.php/kill_children', 'auth', 'mnet', 1, 'The IdP uses this function to kill child sessions on other hosts', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:8:\"username\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:28:\"Username for session to kill\";}i:1;a:3:{s:4:\"name\";s:9:\"useragent\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:35:\"SHA1 hash of user agent to look for\";}}s:6:\"return\";a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:39:\"A plaintext report of what has happened\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(4, 'refresh_log', 'auth/mnet/auth.php/refresh_log', 'auth', 'mnet', 1, 'Receives an array of log entries from an SP and adds them to the mnet_log\ntable', 'a:2:{s:10:\"parameters\";a:1:{i:0;a:3:{s:4:\"name\";s:5:\"array\";s:4:\"type\";s:5:\"array\";s:11:\"description\";s:21:\"An array of usernames\";}}s:6:\"return\";a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:28:\"\"All ok\" or an error message\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(5, 'fetch_user_image', 'auth/mnet/auth.php/fetch_user_image', 'auth', 'mnet', 1, 'Returns the user\'s profile image info\nIf the user exists and has a profile picture, the returned array will contain keys:\nf1          - the content of the default 100x100px image\nf1_mimetype - the mimetype of the f1 file\nf2          - the content of the 35x35px variant of the image\nf2_mimetype - the mimetype of the f2 file\nThe mimetype information was added in Moodle 2.0. In Moodle 1.x, images are always jpegs.', 'a:2:{s:10:\"parameters\";a:1:{i:0;a:3:{s:4:\"name\";s:8:\"username\";s:4:\"type\";s:3:\"int\";s:11:\"description\";s:18:\"The id of the user\";}}s:6:\"return\";a:2:{s:4:\"type\";s:11:\"false|array\";s:11:\"description\";s:84:\"false if user not found, empty array if no picture exists, array with data otherwise\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(6, 'fetch_theme_info', 'auth/mnet/auth.php/fetch_theme_info', 'auth', 'mnet', 1, 'Returns the theme information and logo url as strings.', 'a:2:{s:10:\"parameters\";a:0:{}s:6:\"return\";a:2:{s:4:\"type\";s:6:\"string\";s:11:\"description\";s:14:\"The theme info\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(7, 'update_enrolments', 'auth/mnet/auth.php/update_enrolments', 'auth', 'mnet', 1, 'Invoke this function _on_ the IDP to update it with enrolment info local to\nthe SP right after calling user_authorise()\nNormally called by the SP after calling user_authorise()', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:8:\"username\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:12:\"The username\";}i:1;a:3:{s:4:\"name\";s:7:\"courses\";s:4:\"type\";s:5:\"array\";s:11:\"description\";s:75:\"Assoc array of courses following the structure of mnetservice_enrol_courses\";}}s:6:\"return\";a:2:{s:4:\"type\";s:4:\"bool\";s:11:\"description\";s:0:\"\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(8, 'keepalive_client', 'auth/mnet/auth.php/keepalive_client', 'auth', 'mnet', 1, 'Poll the IdP server to let it know that a user it has authenticated is still\nonline', 'a:2:{s:10:\"parameters\";a:0:{}s:6:\"return\";a:2:{s:4:\"type\";s:4:\"void\";s:11:\"description\";s:0:\"\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(9, 'kill_child', 'auth/mnet/auth.php/kill_child', 'auth', 'mnet', 1, 'When the IdP requests that child sessions are terminated,\nthis function will be called on each of the child hosts. The machine that\ncalls the function (over xmlrpc) provides us with the mnethostid we need.', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:8:\"username\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:28:\"Username for session to kill\";}i:1;a:3:{s:4:\"name\";s:9:\"useragent\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:35:\"SHA1 hash of user agent to look for\";}}s:6:\"return\";a:2:{s:4:\"type\";s:4:\"bool\";s:11:\"description\";s:15:\"True on success\";}}', 'auth.php', 'auth_plugin_mnet', 0),
(10, 'available_courses', 'enrol/mnet/enrol.php/available_courses', 'enrol', 'mnet', 1, 'Returns list of courses that we offer to the caller for remote enrolment of their users\nSince Moodle 2.0, courses are made available for MNet peers by creating an instance\nof enrol_mnet plugin for the course. Hidden courses are not returned. If there are two\ninstances - one specific for the host and one for \'All hosts\', the setting of the specific\none is used. The id of the peer is kept in customint1, no other custom fields are used.', 'a:2:{s:10:\"parameters\";a:0:{}s:6:\"return\";a:2:{s:4:\"type\";s:5:\"array\";s:11:\"description\";s:0:\"\";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0),
(11, 'user_enrolments', 'enrol/mnet/enrol.php/user_enrolments', 'enrol', 'mnet', 1, 'This method has never been implemented in Moodle MNet API', 'a:2:{s:10:\"parameters\";a:0:{}s:6:\"return\";a:2:{s:4:\"type\";s:5:\"array\";s:11:\"description\";s:11:\"empty array\";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0),
(12, 'enrol_user', 'enrol/mnet/enrol.php/enrol_user', 'enrol', 'mnet', 1, 'Enrol remote user to our course\nIf we do not have local record for the remote user in our database,\nit gets created here.', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:8:\"userdata\";s:4:\"type\";s:5:\"array\";s:11:\"description\";s:43:\"user details {@see mnet_fields_to_import()}\";}i:1;a:3:{s:4:\"name\";s:8:\"courseid\";s:4:\"type\";s:3:\"int\";s:11:\"description\";s:19:\"our local course id\";}}s:6:\"return\";a:2:{s:4:\"type\";s:4:\"bool\";s:11:\"description\";s:69:\"true if the enrolment has been successful, throws exception otherwise\";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0),
(13, 'unenrol_user', 'enrol/mnet/enrol.php/unenrol_user', 'enrol', 'mnet', 1, 'Unenrol remote user from our course\nOnly users enrolled via enrol_mnet plugin can be unenrolled remotely. If the\nremote user is enrolled into the local course via some other enrol plugin\n(enrol_manual for example), the remote host can\'t touch such enrolment. Please\ndo not report this behaviour as bug, it is a feature ;-)', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:8:\"username\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:18:\"of the remote user\";}i:1;a:3:{s:4:\"name\";s:8:\"courseid\";s:4:\"type\";s:3:\"int\";s:11:\"description\";s:19:\"of our local course\";}}s:6:\"return\";a:2:{s:4:\"type\";s:4:\"bool\";s:11:\"description\";s:71:\"true if the unenrolment has been successful, throws exception otherwise\";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0),
(14, 'course_enrolments', 'enrol/mnet/enrol.php/course_enrolments', 'enrol', 'mnet', 1, 'Returns a list of users from the client server who are enrolled in our course\nSuitable instance of enrol_mnet must be created in the course. This method will not\nreturn any information about the enrolments in courses that are not available for\nremote enrolment, even if their users are enrolled into them via other plugin\n(note the difference from {@link self::user_enrolments()}).\nThis method will return enrolment information for users from hosts regardless\nthe enrolment plugin. It does not matter if the user was enrolled remotely by\ntheir admin or locally. Once the course is available for remote enrolments, we\nwill tell them everything about their users.\nIn Moodle 1.x the returned array used to be indexed by username. The side effect\nof MDL-19219 fix is that we do not need to use such index and therefore we can\nreturn all enrolment records. MNet clients 1.x will only use the last record for\nthe student, if she is enrolled via multiple plugins.', 'a:2:{s:10:\"parameters\";a:2:{i:0;a:3:{s:4:\"name\";s:8:\"courseid\";s:4:\"type\";s:3:\"int\";s:11:\"description\";s:16:\"ID of our course\";}i:1;a:3:{s:4:\"name\";s:5:\"roles\";s:4:\"type\";s:12:\"string|array\";s:11:\"description\";s:58:\"comma separated list of role shortnames (or array of them)\";}}s:6:\"return\";a:2:{s:4:\"type\";s:5:\"array\";s:11:\"description\";s:0:\"\";}}', 'enrol.php', 'enrol_mnet_mnetservice_enrol', 0),
(15, 'fetch_file', 'portfolio/mahara/lib.php/fetch_file', 'portfolio', 'mahara', 1, 'xmlrpc (mnet) function to get the file.\nreads in the file and returns it base_64 encoded\nso that it can be enrypted by mnet.', 'a:2:{s:10:\"parameters\";a:1:{i:0;a:3:{s:4:\"name\";s:5:\"token\";s:4:\"type\";s:6:\"string\";s:11:\"description\";s:56:\"the token recieved previously during send_content_intent\";}}s:6:\"return\";a:2:{s:4:\"type\";s:4:\"void\";s:11:\"description\";s:0:\"\";}}', 'lib.php', 'portfolio_plugin_mahara', 1);

-- --------------------------------------------------------

--
-- Structure de la table `mdl_mnet_service`
--

CREATE TABLE `mdl_mnet_service` (
  `id` bigint(10) NOT NULL,
  `name` varchar(40) NOT NULL DEFAULT '',
  `description` varchar(40) NOT NULL DEFAULT '',
  `apiversion` varchar(10) NOT NULL DEFAULT '',
  `offer` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='A service is a group of functions' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_mnet_service`
--

INSERT INTO `mdl_mnet_service` (`id`, `name`, `description`, `apiversion`, `offer`) VALUES
(1, 'sso_idp', '', '1', 1),
(2, 'sso_sp', '', '1', 1),
(3, 'mnet_enrol', '', '1', 1),
(4, 'pf', '', '1', 1);

-- --------------------------------------------------------

--
-- Structure de la table `mdl_mnet_service2rpc`
--

CREATE TABLE `mdl_mnet_service2rpc` (
  `id` bigint(10) NOT NULL,
  `serviceid` bigint(10) NOT NULL DEFAULT 0,
  `rpcid` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Group functions or methods under a service' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_mnet_service2rpc`
--

INSERT INTO `mdl_mnet_service2rpc` (`id`, `serviceid`, `rpcid`) VALUES
(1, 1, 1),
(2, 1, 2),
(3, 1, 3),
(4, 1, 4),
(5, 1, 5),
(6, 1, 6),
(7, 1, 7),
(8, 2, 8),
(9, 2, 9),
(10, 3, 10),
(11, 3, 11),
(12, 3, 12),
(13, 3, 13),
(14, 3, 14),
(15, 4, 15);

-- --------------------------------------------------------

--
-- Structure de la table `mdl_mnet_session`
--

CREATE TABLE `mdl_mnet_session` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `username` varchar(100) NOT NULL DEFAULT '',
  `token` varchar(40) NOT NULL DEFAULT '',
  `mnethostid` bigint(10) NOT NULL DEFAULT 0,
  `useragent` varchar(40) NOT NULL DEFAULT '',
  `confirm_timeout` bigint(10) NOT NULL DEFAULT 0,
  `session_id` varchar(40) NOT NULL DEFAULT '',
  `expires` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Store session data from users migrating to other sites' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_mnet_sso_access_control`
--

CREATE TABLE `mdl_mnet_sso_access_control` (
  `id` bigint(10) NOT NULL,
  `username` varchar(100) NOT NULL DEFAULT '',
  `mnet_host_id` bigint(10) NOT NULL DEFAULT 0,
  `accessctrl` varchar(20) NOT NULL DEFAULT 'allow'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Users by host permitted (or not) to login from a remote prov' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_modules`
--

CREATE TABLE `mdl_modules` (
  `id` bigint(10) NOT NULL,
  `name` varchar(20) NOT NULL DEFAULT '',
  `cron` bigint(10) NOT NULL DEFAULT 0,
  `lastcron` bigint(10) NOT NULL DEFAULT 0,
  `search` varchar(255) NOT NULL DEFAULT '',
  `visible` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='modules available in the site' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_modules`
--

INSERT INTO `mdl_modules` (`id`, `name`, `cron`, `lastcron`, `search`, `visible`) VALUES
(1, 'assign', 0, 0, '', 1),
(2, 'assignment', 60, 0, '', 0),
(3, 'book', 0, 0, '', 1),
(4, 'chat', 0, 0, '', 1),
(5, 'choice', 0, 0, '', 1),
(6, 'data', 0, 0, '', 1),
(7, 'feedback', 0, 0, '', 1),
(8, 'folder', 0, 0, '', 1),
(9, 'forum', 0, 0, '', 1),
(10, 'glossary', 0, 0, '', 1),
(11, 'h5pactivity', 0, 0, '', 1),
(12, 'imscp', 0, 0, '', 1),
(13, 'label', 0, 0, '', 1),
(14, 'lesson', 0, 0, '', 1),
(15, 'lti', 0, 0, '', 1),
(16, 'page', 0, 0, '', 1),
(17, 'quiz', 0, 0, '', 1),
(18, 'resource', 0, 0, '', 1),
(19, 'scorm', 0, 0, '', 1),
(20, 'survey', 0, 0, '', 1),
(21, 'url', 0, 0, '', 1),
(22, 'wiki', 0, 0, '', 1),
(23, 'workshop', 0, 0, '', 1),
(24, 'hvp', 0, 0, '', 1),
(25, 'geogebra', 0, 0, '', 1);

-- --------------------------------------------------------

--
-- Structure de la table `mdl_my_pages`
--

CREATE TABLE `mdl_my_pages` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) DEFAULT 0,
  `name` varchar(200) NOT NULL DEFAULT '',
  `private` tinyint(1) NOT NULL DEFAULT 1,
  `sortorder` mediumint(6) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Extra user pages for the My Moodle system' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_my_pages`
--

INSERT INTO `mdl_my_pages` (`id`, `userid`, `name`, `private`, `sortorder`) VALUES
(1, NULL, '__default', 0, 0),
(2, NULL, '__default', 1, 0),
(3, 2, '__default', 1, 0);

-- --------------------------------------------------------

--
-- Structure de la table `mdl_notifications`
--

CREATE TABLE `mdl_notifications` (
  `id` bigint(10) NOT NULL,
  `useridfrom` bigint(10) NOT NULL,
  `useridto` bigint(10) NOT NULL,
  `subject` longtext DEFAULT NULL,
  `fullmessage` longtext DEFAULT NULL,
  `fullmessageformat` tinyint(1) NOT NULL DEFAULT 0,
  `fullmessagehtml` longtext DEFAULT NULL,
  `smallmessage` longtext DEFAULT NULL,
  `component` varchar(100) DEFAULT NULL,
  `eventtype` varchar(100) DEFAULT NULL,
  `contexturl` longtext DEFAULT NULL,
  `contexturlname` longtext DEFAULT NULL,
  `timeread` bigint(10) DEFAULT NULL,
  `timecreated` bigint(10) NOT NULL,
  `customdata` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Stores all notifications' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_oauth2_access_token`
--

CREATE TABLE `mdl_oauth2_access_token` (
  `id` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `usermodified` bigint(10) NOT NULL,
  `issuerid` bigint(10) NOT NULL,
  `token` longtext NOT NULL,
  `expires` bigint(10) NOT NULL,
  `scope` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Stores access tokens for system accounts in order to be able' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_oauth2_endpoint`
--

CREATE TABLE `mdl_oauth2_endpoint` (
  `id` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `usermodified` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `url` longtext NOT NULL,
  `issuerid` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Describes the named endpoint for an oauth2 service.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_oauth2_issuer`
--

CREATE TABLE `mdl_oauth2_issuer` (
  `id` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `usermodified` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `image` longtext NOT NULL,
  `baseurl` longtext NOT NULL,
  `clientid` longtext NOT NULL,
  `clientsecret` longtext NOT NULL,
  `loginscopes` longtext NOT NULL,
  `loginscopesoffline` longtext NOT NULL,
  `loginparams` longtext NOT NULL,
  `loginparamsoffline` longtext NOT NULL,
  `alloweddomains` longtext NOT NULL,
  `scopessupported` longtext DEFAULT NULL,
  `enabled` tinyint(2) NOT NULL DEFAULT 1,
  `showonloginpage` tinyint(2) NOT NULL DEFAULT 1,
  `basicauth` tinyint(2) NOT NULL DEFAULT 0,
  `sortorder` bigint(10) NOT NULL,
  `requireconfirmation` tinyint(2) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Details for an oauth 2 connect identity issuer.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_oauth2_system_account`
--

CREATE TABLE `mdl_oauth2_system_account` (
  `id` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `usermodified` bigint(10) NOT NULL,
  `issuerid` bigint(10) NOT NULL,
  `refreshtoken` longtext NOT NULL,
  `grantedscopes` longtext NOT NULL,
  `email` longtext DEFAULT NULL,
  `username` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Stored details used to get an access token as a system user ' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_oauth2_user_field_mapping`
--

CREATE TABLE `mdl_oauth2_user_field_mapping` (
  `id` bigint(10) NOT NULL,
  `timemodified` bigint(10) NOT NULL,
  `timecreated` bigint(10) NOT NULL,
  `usermodified` bigint(10) NOT NULL,
  `issuerid` bigint(10) NOT NULL,
  `externalfield` varchar(64) NOT NULL DEFAULT '',
  `internalfield` varchar(64) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Mapping of oauth user fields to moodle fields.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_page`
--

CREATE TABLE `mdl_page` (
  `id` bigint(10) NOT NULL,
  `course` bigint(10) NOT NULL DEFAULT 0,
  `name` varchar(255) NOT NULL DEFAULT '',
  `intro` longtext DEFAULT NULL,
  `introformat` smallint(4) NOT NULL DEFAULT 0,
  `content` longtext DEFAULT NULL,
  `contentformat` smallint(4) NOT NULL DEFAULT 0,
  `legacyfiles` smallint(4) NOT NULL DEFAULT 0,
  `legacyfileslast` bigint(10) DEFAULT NULL,
  `display` smallint(4) NOT NULL DEFAULT 0,
  `displayoptions` longtext DEFAULT NULL,
  `revision` bigint(10) NOT NULL DEFAULT 0,
  `timemodified` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Each record is one page and its config data' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_page`
--

INSERT INTO `mdl_page` (`id`, `course`, `name`, `intro`, `introformat`, `content`, `contentformat`, `legacyfiles`, `legacyfileslast`, `display`, `displayoptions`, `revision`, `timemodified`) VALUES
(1, 2, 'Fonction sinus et cosinus', '', 1, '<div class=\"container-fluid mt-3\">\n    <h1 style=\"text-align: center; font-weight: normal; color: #ab1f01;\"><em><strong>Etude analytique des fonctions trigonométriques <br></strong></em></h1>\n</div>\n<div class=\"accordion\" id=\"accordionExample\">\n    <!-- Accordion card One  -->\n    <!-- <div class=\"card border border-danger  rounded\">-->\n    <div class=\"card border border-warning rounded\">\n        <!--avec bordure  -->\n        <!-- Card header -->\n        <div class=\"card text-dark bg-info\" id=\"headingOne\">\n            <!-- on peu changer la couleur  ds div class=\"card text-dark bg-\"info\"  le info peu changé en success secondry primary ou autre -->\n            <h5 class=\"mb-0\">\n                <button class=\"btn btn-danger btn-lg rounded\" type=\"button\" data-toggle=\"collapse\" data-target=\"#collapseOne\" aria-expanded=\"true\" aria-controls=\"collapseOne\">\n               <!-- la coleur du button class=\"btn btn-\"primary\" btn-lg collapsed peu changé primary peu changé en success secondry warning ou autre --> <strong> A.Fonction sinus  \\(f(x)=\\sin(x)\\)</strong> \n            </button>\n            </h5>\n        </div>\n        <!-- Card body -->\n        <div id=\"collapseOne\" class=\"collapse show\" aria-labelledby=\"headingOne\" style=\"\">\n            <!--data-parent=\"#accordionExample\"-->\n            <div class=\"card-body\">\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong> A1_ <em> Définition: </em></strong></h4>\n                <p></p>\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row row-fluid\">\n                        <div class=\"col-md-8 span8\">\n                            <h4></h4>\n                            <h4>On munit le plan d’un repère orthonormé (O; I, J). Le cercle trigonométrique C est le cercle de centre O et de <strong><span style=\"color: #ff0000;\">rayon&nbsp; R=1</span></strong>, sur lequel on choisit un sens de parcours\n                                :\n                            </h4>\n                            <div style=\"margin-left: 30px;\" class=\"editor-indent\">\n                                <ul>\n                                    <li>\n                                        <h4>le sens direct (ou positif ou encore trigonométrique) est contraire au sens de rotation des aiguilles d’une montre ;</h4>\n                                    </li>\n                                    <li>\n                                        <h4>le sens indirect (ou négatif) est le sens de rotation des aiguilles d’une montre.</h4>\n                                    </li>\n                                </ul>\n                            </div>\n                        </div>\n                        <div class=\"col-md-4 span4\">\n                            <p><img src=\"@@PLUGINFILE@@/CercleTrigonometrique01.png\" alt=\"Cercle Trigonometrique01\" class=\"img-responsive atto_image_button_text-bottom\" width=\"300\" height=\"250\"></p>\n                        </div>\n                    </div>\n                </div>\n                <br>\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong>A2_ <em> Propriété </em></strong></h4>\n                <p></p>\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row row-fluid\">\n                        <div class=\"col-md-8 span8\">\n                            <p></p>\n                            <h4>Pour repérer un point M du cercle trigonométrique, on enroule autour du cercle un axe orienté, gradué, d’origine<br>le point I. On peut alors associer au point M un réel x, abscisse d’un point de l’axe qui vient se superposer\n                                au <br>point M.\n                            </h4>\n                            <h4><em><strong><span style=\"color: #ef4540;\">REMARQUE :</span></strong></em></h4>\n                            <p></p>\n                            <div style=\"margin-left: 30px;\" class=\"editor-indent\">\n                                <ul>\n                                    <li>\n                                        <h4>Lorsqu’on enroule l’axe dans le sens <em><strong> <span style=\"color: #ef4540;\">direct</span></strong></em>, ce sont des points d’ <em><strong><span style=\"color: #ef4540;\">abscisses positives</span></strong></em>                                            qui se superposent à M,dans le sens <em><strong><span style=\"color: #ef4540;\">indirect</span></strong></em>, ce sont des points d’<em><strong><span style=\"color: #ef4540;\">abscisses négatives</span></strong></em>.</h4>\n                                    </li>\n                                    <li>\n                                        <h4>Tout point sur le cercle trigonométrique se repère par <em><strong> plusieurs nombres réels</strong></em>, distants d’un multiple de 2p, selon le nombre de tours complets de l’enroulement de l’axe.</h4>\n                                    </li>\n                                </ul>\n                                <br>\n                                <h4></h4>\n                                <ul></ul>\n                            </div>\n                        </div>\n                        <div class=\"col-md-4 span4\">\n                            <p><img src=\"@@PLUGINFILE@@/CercleTrigonometrique02.png\" alt=\"ِcercle Trigonomètrique02\" class=\"img-responsive atto_image_button_text-bottom\" width=\"350\" height=\"483\"></p>\n                        </div>\n                    </div>\n                </div>\n                <h4 style=\"font-weight: normal; color: #ec7600;\">Exemple avec geogebra</h4>\n                <!--Debut de geogebra--><iframe scrolling=\"no\" title=\"autour du cercle trigonométrique\" src=\"https://www.geogebra.org/material/iframe/id/jfh8h4d2/width/602/height/502/border/888888/sfsb/true/smb/false/stb/false/stbh/false/ai/false/asb/false/sri/false/rc/false/ld/false/sdz/false/ctl/false\" style=\"border: 0px;\" data-ruffle-polyfilled=\"\" width=\"602px\" height=\"502px\"> </iframe>\n                <!--Fin de geogebra-->\n                <div></div>\n                <h4 style=\"font-weight: normal; color: #ec7600;\"></h4>\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong>A3_<em> Le radian : <br></em></strong></h4>\n                <p></p>\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row row-fluid\">\n                        <div class=\"col-md-8 span8\">\n                            <h4>La mesure en radian d’un angle est égale à la longueur de l’arc du cercle trigonométrique qu’il intercepte.</h4>\n                            <h4>Le symbole associé à cette mesure est rad ou rd.</h4>\n                            <p></p>\n                            <h4><em><strong><span style=\"color: #ef4540;\">Remarque :</span></strong></em></h4>\n                            <h4>Dans ces conditions, 360° correspondent à \\(2\\pi\\) rad.<br>• Par proportionnalité, on obtient que 30° correspondent à \\(\\frac{\\pi}{6}\\) rad ; 45° correspondent à \\(\\frac{\\pi}{4}\\) rad ; 90° correspondent à \\(\\frac{\\pi}{2}\\)\n                                rad. <br>• Il faut faire attention au paramétrage de sa calculatrice selon le mode degré ou radian choisi.\n                            </h4>\n                            <h4><em><strong><span style=\"color: #ffcf35;\">Méthode : Convertir entre degrés et radius</span></strong></em></h4>\n                            <p></p>\n                            <div class=\"atto_bsgrid container-fluid\">\n                                <div class=\"row-fluid\">\n                                    <div class=\"col-md-6 span6\">\n                                        <h4><strong><span style=\"color: #7d9fd3;\">Exercice d’application</span></strong></h4>\n                                        <h4>Calculer les nombres x, y et z dans le tableau suivant de conversion entre degrés et radians.</h4>\n                                        <p></p>\n                                        <table class=\"table-bordered\">\n                                            <caption></caption>\n                                            <thead>\n                                                <tr>\n                                                    <th scope=\"col\" style=\"text-align: center;\">\n                                                        <h6><span style=\"font-weight: normal;\">Mesure en degré&nbsp;&nbsp; <br></span></h6>\n                                                    </th>\n                                                    <th scope=\"col\" style=\"text-align: center;\">\n                                                        <h6><span style=\"font-weight: normal;\">&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; <br></span></h6>\n                                                    </th>\n                                                    <th scope=\"col\" style=\"text-align: center;\">\n                                                        <h6><span style=\"font-weight: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 30 <br></span></h6>\n                                                    </th>\n                                                    <th scope=\"col\" style=\"text-align: center;\">\n                                                        <h6><span style=\"font-weight: normal;\">\\(y\\)&nbsp; <br></span></h6>\n                                                    </th>\n                                                    <th scope=\"col\" style=\"text-align: center;\">\n                                                        <h6><span style=\"font-weight: normal;\">150</span></h6>\n                                                    </th>\n                                                    <th scope=\"col\" style=\"text-align: center;\">\n                                                        <h6><span style=\"font-weight: normal;\">&nbsp;&nbsp; 180</span></h6>\n                                                    </th>\n                                                </tr>\n                                            </thead>\n                                            <tbody>\n                                                <tr>\n                                                    <td style=\"text-align: center;\">\n                                                        <h6>Mesure en radian&nbsp;</h6>\n                                                    </td>\n                                                    <td style=\"text-align: center;\">\n                                                        <h6>&nbsp;&nbsp; 0&nbsp;&nbsp;</h6>\n                                                    </td>\n                                                    <td style=\"text-align: center;\">\n                                                        <h6>\\(x\\)</h6>\n                                                    </td>\n                                                    <td style=\"text-align: center;\">\n                                                        <h6>\\(\\frac{\\pi}{2}\\)&nbsp;&nbsp;&nbsp;</h6>\n                                                    </td>\n                                                    <td style=\"text-align: center;\">\n                                                        <h6>&nbsp;&nbsp;&nbsp; \\(x\\)</h6>\n                                                    </td>\n                                                    <td style=\"text-align: center;\">\n                                                        <h6>&nbsp;&nbsp;&nbsp;&nbsp; \\(\\pi\\)</h6>\n                                                    </td>\n                                                </tr>\n                                            </tbody>\n                                        </table>\n                                        <br><br>\n                                        <p></p>\n                                        <p></p>\n                                    </div>\n                                    <div class=\"col-md-6 span6\">\n                                        <p></p>\n                                        <h4><strong><span style=\"color: #7d9fd3;\">Solution</span></strong></h4>\n                                        <h4>On utilisant la proportionnalité pour trouver \\(x\\)</h4>\n                                        <h4>\\(x = \\frac{30\\times\\pi}{180} = \\frac{\\pi}{6}\\) rad</h4>\n                                        <h4>pour \\(y\\) ;&nbsp; \\(y = \\frac{180}{\\pi}\\times \\frac{\\pi}{2} =90°\\)</h4>\n                                        <h4>et&nbsp; \\(z=\\frac{150\\times \\pi}{180}=\\frac{5\\pi}{6}\\)</h4>\n                                        <p></p>\n                                        <p></p>\n                                    </div>\n                                </div>\n                            </div>\n                            <h4><em><strong><span><span style=\"color: #ef4540;\">Remarque :&nbsp;</span> </span></strong></em><strong><em><strong><span></span></strong><span>Les mesures des angles en degré et en radian sont proportionnelles.</span></em>\n                                </strong><em><strong><span><br></span></strong></em>\n                            </h4>\n                            <br>\n                            <p></p>\n                            <p></p>\n                        </div>\n                        <div class=\"col-md-4 span4\">\n                            <p><img src=\"@@PLUGINFILE@@/CercleTrigonometriqueRadian.png\" alt=\"radian\" class=\"img-responsive atto_image_button_text-bottom\" width=\"406\" height=\"470\"></p>\n                        </div>\n                    </div>\n                </div>\n                <h4><strong><em><strong><span><span style=\"color: #ef4540;\">Remarque :&nbsp;{Q{Def01/ST_03|f035ff76b7c1e487cec64679bc458e364d39e085529eb2478f74114c225f3392}Q}</span></span></strong></em>\n                    </strong>\n                </h4>\n                <br>\n                <p></p>\n                <p></p>\n                <p></p>\n                <p></p>\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong>A3_<em> Exercices d\'applications(avec solution) :&nbsp;</em></strong></h4>\n                <p></p>\n                <p></p>\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row row-fluid\">\n                        <div class=\"col-md-8 span8\">\n                            <h4><em><strong><span style=\"color: #7d9fd3;\"> Exercice1 :Comment lire l\'abscisse associè à un point.</span></strong></em></h4>\n                            <h4>Donner un nombre associé aux points J et A sur le cercle trigonométrique ci-contre sachant que&nbsp; \\(\\widehat{IOJ } = 90°\\)&nbsp; et \\(\\widehat{IOA} = 120°\\).</h4>\n                            <h4><em><strong><span style=\"color: #7d9fd3;\">Solution :</span></strong></em></h4>\n                            <p></p>\n                            <h4>Charchons le nombre associé au point J</h4>\n                            <h4>on sait que \\(\\widehat{IOJ} = 90°\\) donc&nbsp; \\(\\stackrel \\frown{IJ}\\) mésure un quart de la longueur du cercle dans le sens positif.&nbsp;</h4>\n                            <h4>\\(\\frac{2\\pi}{4}=\\frac{\\pi}{2}\\) don un nombre associé à J est \\(\\frac{\\pi}{2}\\).</h4>\n                            <p></p>\n                            <h4>Charchons le nombre associé au point A</h4>\n                            <p></p>\n                            <h5>\\(\\widehat{IOA} = 120°\\) donc l\'arc&nbsp; \\(\\stackrel \\frown{IA}\\)&nbsp; mesure un tièrs de la longueur du cercle dans le sens négatif.</h5>\n                            <h4>Donc un nombre asocié à A est&nbsp; -\\(\\frac{120 \\times \\pi}{180}\\) =-\\(\\frac{2\\pi}{3}\\)</h4>\n                            <h4>Tous les nombres associés à A s’écrivent sous la forme -\\(\\frac{2\\pi}{3} +2k\\pi \\in Z\\)</h4>\n                            <p></p>\n                            <p></p>\n                            <h4><em><strong><span> <span style=\"color: #7d9fd3;\">Exercice2 :Placer un point sur un cercle.</span></span></strong></em></h4>\n                            <h4>Tracer un cercle trigonométrique et placer les points associés aux réels \\(\\pi ;\\; -\\frac{\\pi}{2}; \\; \\frac{\\pi}{3}; \\; et\\,-\\frac{\\pi}{6}\\) .</h4>\n                            <h4><em><strong><span style=\"color: #7d9fd3;\">Solution :</span></strong></em></h4>\n                            <p></p>\n                            <h4>La longueur d’un cercle est donnée par la formule :\\(L = 2\\pi\\times r\\).<br>Pour le cercle trigonométrique ( \\( r=1\\)), cette longueur est donc de \\(L = 2\\pi\\).<br>Le nombre \\(\\pi\\) correspond à un parcours d’un demi-cercle\n                                dans le sens positif soit 180°.<br>Le nombre −\\(\\frac{\\pi}{2}\\) correspond à un parcours d’un quart de cercle dans le sens négatif soit 90°.\n                            </h4>\n                            <h4>Le nombre \\(\\frac{\\pi}{3}\\) correspond à un parcours d’un quart de cercle dans le sens négatif soit 60°.</h4>\n                            <h4>Le nombre −\\(\\frac{\\pi}{6}\\) correspond à un parcours d’un quart de cercle dans le sens négatif soit 30°.</h4>\n                            <br>\n                            <p></p>\n                            <h4></h4>\n                            <br><br>\n                            <p></p>\n                        </div>\n                        <div class=\"col-md-4 span4\">\n                            <p><img src=\"@@PLUGINFILE@@/CercleTrigonometrique03.png\" alt=\"TRig03\" class=\"img-responsive atto_image_button_text-bottom\" width=\"437\" height=\"415\"></p>\n                            <p><img src=\"@@PLUGINFILE@@/CercleTrigonometrique04.png\" alt=\"tri1\" class=\"img-responsive atto_image_button_text-bottom\" width=\"437\" height=\"415\"></p>\n                        </div>\n                    </div>\n                </div>\n                <br>\n                <p></p>\n                <p></p>\n                <p></p>\n                <p></p>\n                <h4></h4>\n            </div>\n        </div>\n        <!-- fin de collapsOne-->\n    </div>\n    <!-- fin de card One- et fin accordion One-->\n    <div class=\"card border border-info rounded\">\n        <!--debut  Accordion card two -->\n        <!-- Card header -->\n        <div class=\"card text-dark bg-info \" id=\"headingTwo\">\n            <h5 class=\"mb-0\">\n                <button class=\"btn btn-danger btn-lg rounded\" type=\"button\" data-toggle=\"collapse\" data-target=\"#collapseTwo\" aria-expanded=\"true\" aria-controls=\"collapseTwo\">\n               <!-- button class=\"btn btn-\"primary\" btn-lg collapsed  est changé en rouge \"danger\" selon bootstrap--> \n			   <strong> B.Fonction cosinus  \\(f(x)=\\cos(x)\\) </strong> \n            </button>\n            </h5>\n        </div>\n        <!-- Card body -->\n        <div id=\"collapseTwo\" class=\"collapse show\" aria-labelledby=\"headingTwo\" style=\"\">\n            <!--data-parent=\"#accordionExample\"-->\n            <div class=\"card-body\">\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong> B1_ <em>Définition : </em></strong></h4>\n                <p></p>\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row row-fluid\">\n                        <div class=\"col-md-8 span8\">\n                            <p></p>\n                            <h5>On considère le cercle trigonométrique dans un repère (O; I, J).</h5>\n                            <h4>Pour tout nombre \\(x\\), le cosinus et le sinus de \\(x\\),notés \\(\\cos x\\) et \\(\\sin x\\), sont les coordonnées du point M du</h4>\n                            <h4>cercle associé à \\(x\\). On écrit alors M(\\(\\cos x \\;; \\sin x\\)).</h4>\n                            <h4>Pour tout nombre \\(x \\neq \\frac{\\pi}{2} + k +2\\pi\\) (avec k entier relatif),</h4>\n                            <br>\n                            <h4>la tangente du nombre \\(x\\) est définie par :</h4>\n                            <h4 style=\"text-align: center;\">\\(\\tan x = \\frac{\\sin x}{\\cos x}\\)</h4>\n                            <br>\n                            <p>.</p>\n                            <p></p>\n                        </div>\n                        <div class=\"col-md-4 span4\">\n                            <p><img src=\"@@PLUGINFILE@@/CercleTrigonometriqueCos-Sin.png\" alt=\"Sin cos\" class=\"img-responsive atto_image_button_text-bottom\" width=\"449\" height=\"474\"></p>\n                        </div>\n                    </div>\n                </div>\n                <br>\n                <p></p>\n                <h5></h5>\n                <br>\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong> B2_ <em>PROPRIÉTÉ </em></strong></h4>\n                <h4><em><strong>Notation :&nbsp; </strong>Pour simplifier l’écriture, on peut utiliser \\((\\cos x)^2 = \\cos^2 x\\)&nbsp; et <em>\\((\\sin x)^2 = \\sin^2 x\\)</em></em>\n                </h4>\n                <h5>Pour tout nombre réel x :</h5>\n                <div>\n                    <h4>\\(\\cos^2(x) + \\sin^2(x) = 1\\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \\( -1 \\leq \\cos(x)\\leq1\\) &nbsp; &nbsp; &nbsp; &nbsp;\n                        \\( -1 \\leq \\sin(x)\\leq1\\)\n                    </h4>\n                </div>\n            </div>\n            <!-- fin de card-body two-->\n        </div>\n        <!-- fin collapseTwo-->\n    </div>\n    <!-- fin  Accordion card two -->\n    <!-- Accordion card three -->\n    <div class=\"card border border-warning rounded\">\n        <!-- Card header -->\n        <div class=\"card text-dark bg-info border border-warning\" id=\"headingThree\">\n            <h5 class=\"mb-0\"><button class=\"btn btn-danger btn-lg rounded\" type=\"button\" data-toggle=\"collapse\" data-target=\"#collapseThree\" aria-expanded=\"true\" aria-controls=\"collapseThree\"> <strong> C. Etude des cas ,Exemples </strong> </button></h5>\n        </div>\n        <!-- Card body -->\n        <div id=\"collapseThree\" class=\"collapse show\" aria-labelledby=\"headingThree\" style=\"\">\n            <!--data-parent=\"#accordionExample\"-->\n            <div class=\"card-body\">\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong> C1_ Propriétés : tableau de valeurs remarquables </strong></h4>\n                <p></p>\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row-fluid\">\n                        <div class=\"col-md-6 span6\">\n                            <p></p>\n                            <table style=\"height: 200px; ; width: 400px;\" border=\"2\">\n                                <tbody>\n                                    <tr>\n                                        <td><br></td>\n                                        <td><br></td>\n                                        <td><br></td>\n                                        <td><br></td>\n                                        <td><br></td>\n                                        <td><br></td>\n                                    </tr>\n                                    <tr>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                    </tr>\n                                    <tr>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                    </tr>\n                                    <tr>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                    </tr>\n                                    <tr>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                        <td style=\"text-align: center;\"><br></td>\n                                    </tr>\n                                </tbody>\n                            </table>\n                            <p></p>\n                        </div>\n                        <div class=\"col-md-6 span6\">\n                            <p><br></p>\n                        </div>\n                    </div>\n                </div>\n                <br>\n                <p></p>\n            </div>\n            <div class=\"card-body\">\n                <h4><em>Animation des fonctions sin et cos</em></h4>\n                <p>******************************************************************<br></p>\n            \n\n\n\n    <div style=\"border: 2px solid #D5CC5A; overflow: hidden; margin: 15px auto; max-width: 675px;\">\n        <iframe scrolling=\"no\" src=\"https://https://phet.colorado.edu/sims/html/trig-tour/latest/trig-tour_fr.html\" style=\"border: 0px none; margin-left: -06px; height: 950px; margin-top: -100px; width: 650px;\" data-ruffle-polyfilled=\"\">\n</iframe>\n    </div>\n\n            </div>\n            <div class=\"card-body\">\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row-fluid\">\n                        <div class=\"col-md-6 span6\">\n                            <p><br></p>\n                        </div>\n                        <br>\n                        <div class=\"col-md-6 span6\">\n\n                        </div>\n                    </div>\n                </div>\n            </div>\n            <div class=\"card-body\"></div>\n        </div>\n        <!--fin de card three-->\n    </div>\n    <!-- fin Accordion card three -->\n</div>\n<!-- fin de l\'accordion -->\n<script src=\"https://code.jquery.com/jquery-3.3.1.slim.min.js\" type=\"text/javascript\"></script>\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js\" type=\"text/javascript\"></script>', 1, 0, NULL, 5, 'a:3:{s:12:\"printheading\";s:1:\"1\";s:10:\"printintro\";s:1:\"0\";s:17:\"printlastmodified\";s:1:\"1\";}', 2, 1642066195);
INSERT INTO `mdl_page` (`id`, `course`, `name`, `intro`, `introformat`, `content`, `contentformat`, `legacyfiles`, `legacyfileslast`, `display`, `displayoptions`, `revision`, `timemodified`) VALUES
(2, 2, 'Comment imprimer du html (en cours)', '', 1, '<div class=\"container-fluid mt-3\">\n    <h1 style=\"text-align: center; font-weight: normal; color: #ab1f01;\"><em><strong>Les bases de la trigonométrie <br></strong></em></h1>\n</div>\n<div class=\"accordion\" id=\"accordionExample\">\n    <!-- Accordion card One  -->\n    <!-- <div class=\"card border border-danger  rounded\">-->\n    <div class=\"card border border-warning rounded\">\n        <!--avec bordure  -->\n        <!-- Card header -->\n        <div class=\"card text-dark bg-info\" id=\"headingOne\">\n            <!-- on peu changer la couleur  ds div class=\"card text-dark bg-\"info\"  le info peu changé en success secondry primary ou autre -->\n            <h5 class=\"mb-0\"><button class=\"btn btn-danger btn-lg rounded\" type=\"button\" data-toggle=\"collapse\" data-target=\"#collapseOne\" aria-expanded=\"true\" aria-controls=\"collapseOne\"> <!-- la coleur du button class=\"btn btn-\"primary\" btn-lg collapsed peu changé primary peu changé en success secondry warning ou autre --> <strong> A.Repérage sur un cercle trigonométrique </strong> </button></h5>\n        </div>\n        <!-- Card body -->\n        <!--<div id=\"collapseOne\" class=\"collapse\" aria-labelledby=\"headingOne\" data-parent=\"#accordionExample\">-->\n        <div id=\"collapseOne\" class=\"collapse show\" aria-labelledby=\"headingOne\" style=\"\">\n            <!-- data-parent=\"#accordionExample\"-->\n            <div class=\"card-body\">\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong> A1_ <em> Définition: Cercle trigonométrique </em></strong></h4>\n                <p></p>\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row row-fluid\">\n                        <div class=\"col-md-8 span8\">\n                            <h4></h4>\n                            <h4>On munit le plan d’un repère orthonormé (O; I, J). Le cercle trigonométrique C est le cercle de centre O et de <strong><em><strong><span class=\"\" style=\"color: rgb(239, 69, 64);\">rayon R=1</span></strong></em></strong>, sur lequel on choisit un sens de parcours :</h4>\n                            <div style=\"margin-left: 30px;\" class=\"editor-indent\">\n                                <ul>\n                                    <li>\n                                        <h4>le sens direct (ou positif ou encore trigonométrique) est contraire au sens de rotation des aiguilles d’une montre ;</h4>\n                                    </li>\n                                    <li>\n                                        <h4>le sens indirect (ou négatif) est le sens de rotation des aiguilles d’une montre.</h4>\n                                    </li>\n                                </ul>\n                            </div>\n                        </div>\n                        <div class=\"col-md-4 span4\">\n                            <p><img src=\"@@PLUGINFILE@@/CercleTrigonometrique01.png\" alt=\"Cercle Trigonometrique01\" class=\"img-responsive atto_image_button_text-bottom\" width=\"300\" height=\"250\"></p>\n                        </div>\n                    </div>\n                </div>\n                <br>\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong>A2_ <em> Propriété </em></strong></h4>\n                <p></p>\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row row-fluid\">\n                        <div class=\"col-md-8 span8\">\n                            <p></p>\n                            <h4>Pour repérer un point M du cercle trigonométrique, on enroule autour du cercle un axe orienté, gradué, d’origine<br>le point I. On peut alors associer au point M un réel x, abscisse d’un point de l’axe qui vient se superposer\n                                au <br>point M.</h4>\n                            <h4><em><strong><span style=\"color: #ef4540;\">REMARQUE :</span></strong></em></h4>\n                            <p></p>\n                            <div style=\"margin-left: 30px;\" class=\"editor-indent\">\n                                <ul>\n                                    <li>\n                                        <h4>Lorsqu’on enroule l’axe dans le sens <em><strong> <span style=\"color: #ef4540;\">direct</span></strong></em>, ce sont des points d’ <em><strong><span style=\"color: #ef4540;\">abscisses positives</span></strong></em>                                            qui se superposent à M,dans le sens <em><strong><span style=\"color: #ef4540;\">indirect</span></strong></em>, ce sont des points d’<em><strong><span style=\"color: #ef4540;\">abscisses négatives</span></strong></em>.</h4>\n                                    </li>\n                                    <li>\n                                        <h4>Tout point sur le cercle trigonométrique se repère par <em><strong> plusieurs nombres réels</strong></em>, distants d’un multiple de 2p, selon le nombre de tours complets de l’enroulement de l’axe.</h4>\n                                    </li>\n                                </ul>\n                            </div>\n                        </div>\n                        <div class=\"col-md-4 span4\">\n                            <p><img src=\"@@PLUGINFILE@@/CercleTrigonometrique02.png?time=1641404539627\" alt=\"ِcercle Trigonomètrique02\" class=\"img-responsive atto_image_button_text-bottom\" width=\"450\" height=\"621\"></p>\n                        </div>\n                    </div>\n                </div>\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong>A3_<em> Le radian : <br></em></strong></h4>\n                <p></p>\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row row-fluid\">\n                        <div class=\"col-md-8 span8\">\n                            <h4>La mesure en radian d’un angle est égale à la longueur de l’arc du cercle trigonométrique qu’il intercepte.</h4>\n                            <h4>Le symbole associé à cette mesure est rad ou rd.</h4>\n                            <p></p>\n                            <h4><em><strong><span style=\"color: #ef4540;\">Remarque :</span></strong></em></h4>\n                            <h4>Dans ces conditions, 360° correspondent à \\(2\\pi\\) rad.<br>• Par proportionnalité, on obtient que 30° correspondent à \\(\\frac{\\pi}{6}\\) rad ; 45° correspondent à \\(\\frac{\\pi}{4}\\) rad ; 90° correspondent à \\(\\frac{\\pi}{2}\\)\n                                rad. <br>• Il faut faire attention au paramétrage de sa calculatrice selon le mode degré ou radian choisi.</h4>\n                            <h4><em><strong><span style=\"color: #ffcf35;\">Méthode : Convertir entre degrés et radius</span></strong></em></h4>\n                            <p></p>\n                            <div class=\"atto_bsgrid container-fluid\">\n                                <div class=\"row-fluid\">\n                                    <div class=\"col-md-6 span6\">\n                                        <h4><strong><span style=\"color: #7d9fd3;\">Exercice d’application</span></strong></h4>\n                                        <h4>Calculer les nombres x, y et z dans le tableau suivant de conversion entre degrés et radians.</h4>\n                                        <p></p>\n                                        <table class=\"table-bordered\">\n                                            <caption></caption>\n                                            <thead>\n                                                <tr>\n                                                    <th scope=\"col\" style=\"text-align: center;\">\n                                                        <h6><span style=\"font-weight: normal;\">Mesure en degré&nbsp;&nbsp; <br></span></h6>\n                                                    </th>\n                                                    <th scope=\"col\" style=\"text-align: center;\">\n                                                        <h6><span style=\"font-weight: normal;\">&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; <br></span></h6>\n                                                    </th>\n                                                    <th scope=\"col\" style=\"text-align: center;\">\n                                                        <h6><span style=\"font-weight: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 30 <br></span></h6>\n                                                    </th>\n                                                    <th scope=\"col\" style=\"text-align: center;\">\n                                                        <h6><span style=\"font-weight: normal;\">\\(y\\)&nbsp; <br></span></h6>\n                                                    </th>\n                                                    <th scope=\"col\" style=\"text-align: center;\">\n                                                        <h6><span style=\"font-weight: normal;\">150</span></h6>\n                                                    </th>\n                                                    <th scope=\"col\" style=\"text-align: center;\">\n                                                        <h6><span style=\"font-weight: normal;\">&nbsp;&nbsp; 180</span></h6>\n                                                    </th>\n                                                </tr>\n                                            </thead>\n                                            <tbody>\n                                                <tr>\n                                                    <td style=\"text-align: center;\">\n                                                        <h6>Mesure en radian&nbsp;</h6>\n                                                    </td>\n                                                    <td style=\"text-align: center;\">\n                                                        <h6>&nbsp;&nbsp; 0&nbsp;&nbsp;</h6>\n                                                    </td>\n                                                    <td style=\"text-align: center;\">\n                                                        <h6>\\(x\\)</h6>\n                                                    </td>\n                                                    <td style=\"text-align: center;\">\n                                                        <h6>\\(\\frac{\\pi}{2}\\)&nbsp;&nbsp;&nbsp;</h6>\n                                                    </td>\n                                                    <td style=\"text-align: center;\">\n                                                        <h6>&nbsp;&nbsp;&nbsp; \\(x\\)</h6>\n                                                    </td>\n                                                    <td style=\"text-align: center;\">\n                                                        <h6>&nbsp;&nbsp;&nbsp;&nbsp; \\(\\pi\\)</h6>\n                                                    </td>\n                                                </tr>\n                                            </tbody>\n                                        </table>\n                                        <br><br>\n                                        <p></p>\n                                        <p></p>\n                                    </div>\n                                    <div class=\"col-md-6 span6\">\n                                        <p></p>\n                                        <h4><strong><span style=\"color: #7d9fd3;\">Solution</span></strong></h4>\n                                        <h4>On utilisant la proportionnalité pour trouver \\(x\\)</h4>\n                                        <h4>\\(x = \\frac{30\\times\\pi}{180} = \\frac{\\pi}{6}\\) rad</h4>\n                                        <h4>pour \\(y\\) ;&nbsp; \\(y = \\frac{180}{\\pi}\\times \\frac{\\pi}{2} =90°\\)</h4>\n                                        <h4>et&nbsp; \\(z=\\frac{150\\times \\pi}{180}=\\frac{5\\pi}{6}\\)</h4>\n                                        <p></p>\n                                        <p></p>\n                                    </div>\n                                </div>\n                            </div>\n                            <h4><em><strong><span><span style=\"color: #ef4540;\">Remarque :&nbsp;</span> </span></strong></em><strong><em><strong><span></span></strong><span>Les mesures des angles en degré et en radian sont proportionnelles.</span></em>\n                                </strong><em><strong><span><br></span></strong></em></h4>\n                            <br>\n                            <p></p>\n                            <p></p>\n                        </div>\n                        <div class=\"col-md-4 span4\">\n                            <p><img src=\"@@PLUGINFILE@@/CercleTrigonometriqueRadian.png\" alt=\"radian\" class=\"img-responsive atto_image_button_text-bottom\" width=\"406\" height=\"470\"></p>\n                        </div>\n                    </div>\n                </div>\n                <br>\n                <p></p>\n                <p></p>\n                <p></p>\n                <p></p>\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong>A3_<em> Exercices d\'applications(avec solution) :&nbsp;</em></strong></h4>\n                <p></p>\n                <p></p>\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row row-fluid\">\n                        <div class=\"col-md-8 span8\">\n                            <h4><em><strong><span style=\"color: #7d9fd3;\"> Exercice1 :Comment lire l\'abscisse associè à un point.</span></strong></em></h4>\n                            <h4>Donner un nombre associé aux points J et A sur le cercle trigonométrique ci-contre sachant que&nbsp; \\(\\widehat{IOJ } = 90°\\)&nbsp; et \\(\\widehat{IOA} = 120°\\).</h4>\n                            <h4><em><strong><span style=\"color: #7d9fd3;\">Solution :</span></strong></em></h4>\n                            <p></p>\n                            <h4>Charchons le nombre associé au point J</h4>\n                            <h4>on sait que \\(\\widehat{IOJ} = 90°\\) donc&nbsp; \\(\\stackrel \\frown{IJ}\\) mésure un quart de la longueur du cercle dans le sens positif.&nbsp;</h4>\n                            <h4>\\(\\frac{2\\pi}{4}=\\frac{\\pi}{2}\\) don un nombre associé à J est (\\frac{\\pi}{2}\\).</h4>\n                            <p></p>\n                            <h4>Charchons le nombre associé au point A</h4>\n                            <p></p>\n                            <h5>\\(\\widehat{IOA} = 120°\\) donc l\'arc&nbsp; \\(\\stackrel \\frown{IA}\\)&nbsp; mesure un tièrs de la longueur du cercle dans le sens négatif.</h5>\n                            <h4>Donc un nombre asocié à A est&nbsp; -\\(\\frac{120 \\times \\pi}{180}\\) =-\\(\\frac{2\\pi}{3}\\)</h4>\n                            <h4>Tous les nombres associés à A s’écrivent sous la forme -\\(\\frac{2\\pi}{3} +2k\\pi \\in Z\\)</h4>\n                            <p></p>\n                            <p></p>\n                            <h4><em><strong><span> <span style=\"color: #7d9fd3;\">Exercice2 :Placer un point sur un cercle.</span></span></strong></em></h4>\n                            <h4>Tracer un cercle trigonométrique et placer les points associés aux réels \\(\\pi ;\\; -\\frac{\\pi}{2}; \\; \\frac{\\pi}{3}; \\; et\\,-\\frac{\\pi}{6}\\) .</h4>\n                            <h4><em><strong><span style=\"color: #7d9fd3;\">Solution :</span></strong></em></h4>\n                            <p></p>\n                            <h4>La longueur d’un cercle est donnée par la formule :\\(L = 2\\pi\\times r\\).<br>Pour le cercle trigonométrique ( \\( r=1\\)), cette longueur est donc de \\(L = 2\\pi\\).<br>Le nombre \\(\\pi\\) correspond à un parcours d’un demi-cercle\n                                dans le sens positif soit 180°.<br>Le nombre −\\(\\frac{\\pi}{2}\\) correspond à un parcours d’un quart de cercle dans le sens négatif soit 90°.</h4>\n                            <h4>Le nombre \\(\\frac{\\pi}{3}\\) correspond à un parcours d’un quart de cercle dans le sens négatif soit 60°.</h4>\n                            <h4>Le nombre −\\(\\frac{\\pi}{6}\\) correspond à un parcours d’un quart de cercle dans le sens négatif soit 30°.</h4>\n                            <br>\n                            <p></p>\n                            <h4></h4>\n                            <br><br>\n                            <p></p>\n                        </div>\n                        <div class=\"col-md-4 span4\">\n                            <p><img src=\"@@PLUGINFILE@@/CercleTrigonometrique03.png\" alt=\"TRig03\" class=\"img-responsive atto_image_button_text-bottom\" width=\"437\" height=\"415\"></p>\n                            <p><img src=\"@@PLUGINFILE@@/CercleTrigonometrique04.png\" alt=\"tri1\" class=\"img-responsive atto_image_button_text-bottom\" width=\"437\" height=\"415\"></p>\n                        </div>\n                    </div>\n                </div>\n                <br>\n                <p></p>\n                <p></p>\n                <p></p>\n                <p></p>\n                <h4></h4>\n            </div>\n        </div>\n        <!-- fin de collapsOne-->\n    </div>\n    <!-- fin de card One- et fin accordion One-->\n    <div class=\"card border border-info rounded\">\n        <!--debut  Accordion card two -->\n        <!-- Card header -->\n        <div class=\"card text-dark bg-info \" id=\"headingTwo\">\n            <h5 class=\"mb-0\"><button class=\"btn btn-danger btn-lg rounded collapsed\" type=\"button\" data-toggle=\"collapse\" data-target=\"#collapseTwo\" aria-expanded=\"false\" aria-controls=\"collapseTwo\"><!-- button class=\"btn btn-\"primary\" btn-lg collapsed  est changé en rouge \"danger\" selon bootstrap--> <strong> B.Coordonnées d’un point du cercle trigonométrique </strong> </button></h5>\n        </div>\n        <!-- Card body -->\n        <div id=\"collapseTwo\" class=\"collapse\" aria-labelledby=\"headingTwo\">\n            <!--data-parent=\"#accordionExample\"-->\n            <div class=\"card-body\">\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong> B1_ <em>Définition : Sinus, cosinus et tangente </em></strong></h4>\n                <p></p>\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row row-fluid\">\n                        <div class=\"col-md-8 span8\">\n                            <p></p>\n                            <h5>On considère le cercle trigonométrique dans un repère (O; I, J).</h5>\n                            <h4>Pour tout nombre \\(x\\), le cosinus et le sinus de \\(x\\),notés \\(\\cos x\\) et \\(\\sin x\\), sont les coordonnées du point M du</h4>\n                            <h4>cercle associé à \\(x\\). On écrit alors M(\\(\\cos x \\;; \\sin x\\)).</h4>\n                            <h4>Pour tout nombre \\(x \\neq \\frac{\\pi}{2} + k +2\\pi\\) (avec k entier relatif),</h4>\n                            <br>\n                            <h4>la tangente du nombre \\(x\\) est définie par :</h4>\n                            <h4 style=\"text-align: center;\">\\(\\tan x = \\frac{\\sin x}{\\cos x}\\)</h4>\n                            <br>\n                            <p>.</p>\n                            <p></p>\n                        </div>\n                        <div class=\"col-md-4 span4\">\n                            <p><img src=\"@@PLUGINFILE@@/CercleTrigonometriqueCos-Sin.png\" alt=\"Sin cos\" class=\"img-responsive atto_image_button_text-bottom\" width=\"449\" height=\"474\"></p>\n                        </div>\n                    </div>\n                </div>\n                <br>\n                <p></p>\n                <h5></h5>\n                <br>\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong> B2_ <em>PROPRIÉTÉ </em></strong></h4>\n                <h4><em><strong>Notation :&nbsp; </strong>Pour simplifier l’écriture, on peut utiliser \\((\\cos x)^2 = \\cos^2 x\\)&nbsp; et <em>\\((\\sin x)^2 = \\sin^2 x\\)</em></em>\n                </h4>\n                <h5>Pour tout nombre réel x :</h5>\n                <div>\n                    <h4>\\(\\cos^2(x) + \\sin^2(x) = 1\\)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \\( -1 \\leq \\cos(x)\\leq1\\) &nbsp; &nbsp; &nbsp; &nbsp;\n                        \\( -1 \\leq \\sin(x)\\leq1\\)</h4>\n                </div>\n            </div>\n            <!-- fin de card-body two-->\n        </div>\n        <!-- fin collapseTwo-->\n    </div>\n    <!-- fin  Accordion card two -->\n    <!-- Accordion card three -->\n    <div class=\"card border border-warning rounded\">\n        <!-- Card header -->\n        <div class=\"card text-dark bg-info border border-warning\" id=\"headingThree\">\n            <h5 class=\"mb-0\"><button class=\"btn btn-danger btn-lg rounded\" type=\"button\" data-toggle=\"collapse\" data-target=\"#collapseThree\" aria-expanded=\"true\" aria-controls=\"collapseThree\"> <strong> C. Valeurs remarquables </strong> </button></h5>\n        </div>\n        <!-- Card body -->\n        <div id=\"collapseThree\" class=\"collapse\" aria-labelledby=\"headingThree\">\n            <!--data-parent=\"#accordionExample\"-->\n            <div class=\"card-body\">\n                <h4 style=\"font-weight: normal; color: #ec7600;\"><strong> C1_ Propriété : tablea de valeurs remarquables </strong></h4>\n                <p></p>\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row-fluid\">\n                        <div class=\"col-md-6 span6\">\n                            <p></p>\n                            <h4>Soit M<sub>x</sub> un point du cercle trigonométrique, image d’un réel x. Alors :</h4>\n                            <table style=\"height: 200px; ; width: 400px;\" border=\"2\">\n                                <tbody>\n                                    <tr>\n                                        <td></td>\n                                        <td></td>\n                                        <td></td>\n                                        <td></td>\n                                        <td></td>\n                                        <td></td>\n                                    </tr>\n                                    <tr>\n                                        <td style=\"text-align: center;\">Angle \\(\\widehat{IOM}\\)</td>\n                                        <td style=\"text-align: center;\">&nbsp;0°</td>\n                                        <td style=\"text-align: center;\">30°</td>\n                                        <td style=\"text-align: center;\">45°</td>\n                                        <td style=\"text-align: center;\">60°</td>\n                                        <td style=\"text-align: center;\">90°</td>\n                                    </tr>\n                                    <tr>\n                                        <td style=\"text-align: center;\">Réel x</td>\n                                        <td style=\"text-align: center;\">0</td>\n                                        <td style=\"text-align: center;\">\\(\\frac{\\pi}{6}\\)</td>\n                                        <td style=\"text-align: center;\">\\(\\frac{\\pi}{4}\\)</td>\n                                        <td style=\"text-align: center;\">\\(\\frac{\\pi}{3}\\)</td>\n                                        <td style=\"text-align: center;\">\\(\\frac{\\pi}{2}\\)</td>\n                                    </tr>\n                                    <tr>\n                                        <td style=\"text-align: center;\">\\(\\cos x\\)<br>\\(\\cos\\widehat{IOM}\\)</td>\n                                        <td style=\"text-align: center;\">1</td>\n                                        <td style=\"text-align: center;\">\\(\\frac{\\sqrt{3}}{2}\\)</td>\n                                        <td style=\"text-align: center;\">\\(\\frac{\\sqrt{2}}{2}\\)</td>\n                                        <td style=\"text-align: center;\">\\(\\frac{\\sqrt{1}}{2}\\)</td>\n                                        <td style=\"text-align: center;\">0</td>\n                                    </tr>\n                                    <tr>\n                                        <td style=\"text-align: center;\">\\(\\sin x\\)<br>\\(\\sin\\widehat{IOM}\\)</td>\n                                        <td style=\"text-align: center;\">0</td>\n                                        <td style=\"text-align: center;\">\\(\\frac{\\sqrt{1}}{2}\\)</td>\n                                        <td style=\"text-align: center;\">\\(\\frac{\\sqrt{2}}{2}\\)</td>\n                                        <td style=\"text-align: center;\">\\(\\frac{\\sqrt{3}}{2}\\)</td>\n                                        <td style=\"text-align: center;\">1</td>\n                                    </tr>\n                                </tbody>\n                            </table>\n                            <p></p>\n                        </div>\n                        <div class=\"col-md-6 span6\">\n                            <p><img src=\"@@PLUGINFILE@@/kisspng-trigonometry-angle-trigonometric-functions-mathema-mathematics.png\" alt=\"Tab02\" class=\"img-responsive atto_image_button_text-bottom\" width=\"500\" height=\"336\"></p>\n                        </div>\n                    </div>\n                </div>\n                <br>\n                <p></p>\n            </div>\n            <div class=\"card-body\">\n                <h4><em>Voici les cercles trigonométriques avec les points remarquables.</em></h4>\n            </div>\n            <div class=\"card-body\">\n                <div class=\"atto_bsgrid container-fluid\">\n                    <div class=\"row-fluid\">\n                        <div class=\"col-md-6 span6\">\n                            <p><img src=\"@@PLUGINFILE@@/kisspng-unit-circle-mathematics-trigonometry-area.png\" alt=\"Points Reamarquables\" width=\"450\" height=\"449\"></p>\n                        </div>\n                        <img src=\"@@PLUGINFILE@@/kisspng-unit-circle-trigonometry-trigonometric-functions-r-mathematics.png\" alt=\"Points Reamarquables\" class=\"img-responsive atto_image_button_text-bottom\" width=\"450\" height=\"450\">\n                        <div class=\"col-md-6 span6\"></div>\n                    </div>\n                </div>\n            </div>\n            <div class=\"card-body\"></div>\n        </div>\n        <!--fin de card three-->\n    </div>\n    <!-- fin Accordion card three -->\n</div>\n<!-- fin de l\'accordion -->\n<script type=\"text/javascript\">\n    // <![CDATA[\n    new function htmlpdf() {\n        const doc = new jsPDF({\n            orientation: \"landscape\",\n            unit: \"in\",\n            format: [4, 2]\n        });\n\n        doc.text(\"Hello world!\", 1, 1);\n        doc.save(\"two-by-four.pdf\");\n    }\n    // ]]>\n</script>\n<script src=\"https://code.jquery.com/jquery-3.3.1.slim.min.js\" type=\"text/javascript\"></script>\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.0/jspdf.umd.min.js\" type=\"text/javascript\"></script>\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js\" type=\"text/javascript\"></script>\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js\" type=\"text/javascript\"></script>\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/numjs/0.16.0/numjs.min.js\" type=\"text/javascript\"></script>', 1, 0, NULL, 5, 'a:3:{s:12:\"printheading\";s:1:\"1\";s:10:\"printintro\";s:1:\"0\";s:17:\"printlastmodified\";s:1:\"1\";}', 10, 1641406237);

-- --------------------------------------------------------

--
-- Structure de la table `mdl_portfolio_instance`
--

CREATE TABLE `mdl_portfolio_instance` (
  `id` bigint(10) NOT NULL,
  `plugin` varchar(50) NOT NULL DEFAULT '',
  `name` varchar(255) NOT NULL DEFAULT '',
  `visible` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='base table (not including config data) for instances of port' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_portfolio_instance_config`
--

CREATE TABLE `mdl_portfolio_instance_config` (
  `id` bigint(10) NOT NULL,
  `instance` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='config for portfolio plugin instances' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_portfolio_instance_user`
--

CREATE TABLE `mdl_portfolio_instance_user` (
  `id` bigint(10) NOT NULL,
  `instance` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `name` varchar(255) NOT NULL DEFAULT '',
  `value` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='user data for portfolio instances.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_portfolio_log`
--

CREATE TABLE `mdl_portfolio_log` (
  `id` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `time` bigint(10) NOT NULL,
  `portfolio` bigint(10) NOT NULL,
  `caller_class` varchar(150) NOT NULL DEFAULT '',
  `caller_file` varchar(255) NOT NULL DEFAULT '',
  `caller_component` varchar(255) DEFAULT NULL,
  `caller_sha1` varchar(255) NOT NULL DEFAULT '',
  `tempdataid` bigint(10) NOT NULL DEFAULT 0,
  `returnurl` varchar(255) NOT NULL DEFAULT '',
  `continueurl` varchar(255) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='log of portfolio transfers (used to later check for duplicat' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_portfolio_mahara_queue`
--

CREATE TABLE `mdl_portfolio_mahara_queue` (
  `id` bigint(10) NOT NULL,
  `transferid` bigint(10) NOT NULL,
  `token` varchar(50) NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='maps mahara tokens to transfer ids' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_portfolio_tempdata`
--

CREATE TABLE `mdl_portfolio_tempdata` (
  `id` bigint(10) NOT NULL,
  `data` longtext DEFAULT NULL,
  `expirytime` bigint(10) NOT NULL,
  `userid` bigint(10) NOT NULL,
  `instance` bigint(10) DEFAULT 0,
  `queued` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='stores temporary data for portfolio exports. the id of this ' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_post`
--

CREATE TABLE `mdl_post` (
  `id` bigint(10) NOT NULL,
  `module` varchar(20) NOT NULL DEFAULT '',
  `userid` bigint(10) NOT NULL DEFAULT 0,
  `courseid` bigint(10) NOT NULL DEFAULT 0,
  `groupid` bigint(10) NOT NULL DEFAULT 0,
  `moduleid` bigint(10) NOT NULL DEFAULT 0,
  `coursemoduleid` bigint(10) NOT NULL DEFAULT 0,
  `subject` varchar(128) NOT NULL DEFAULT '',
  `summary` longtext DEFAULT NULL,
  `content` longtext DEFAULT NULL,
  `uniquehash` varchar(255) NOT NULL DEFAULT '',
  `rating` bigint(10) NOT NULL DEFAULT 0,
  `format` bigint(10) NOT NULL DEFAULT 0,
  `summaryformat` tinyint(2) NOT NULL DEFAULT 0,
  `attachment` varchar(100) DEFAULT NULL,
  `publishstate` varchar(20) NOT NULL DEFAULT 'draft',
  `lastmodified` bigint(10) NOT NULL DEFAULT 0,
  `created` bigint(10) NOT NULL DEFAULT 0,
  `usermodified` bigint(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Generic post table to hold data blog entries etc in differen' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_profiling`
--

CREATE TABLE `mdl_profiling` (
  `id` bigint(10) NOT NULL,
  `runid` varchar(32) NOT NULL DEFAULT '',
  `url` varchar(255) NOT NULL DEFAULT '',
  `data` longtext NOT NULL,
  `totalexecutiontime` bigint(10) NOT NULL,
  `totalcputime` bigint(10) NOT NULL,
  `totalcalls` bigint(10) NOT NULL,
  `totalmemory` bigint(10) NOT NULL,
  `runreference` tinyint(2) NOT NULL DEFAULT 0,
  `runcomment` varchar(255) NOT NULL DEFAULT '',
  `timecreated` bigint(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Stores the results of all the profiling runs' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_qtype_ddimageortext`
--

CREATE TABLE `mdl_qtype_ddimageortext` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `shuffleanswers` smallint(4) NOT NULL DEFAULT 1,
  `correctfeedback` longtext NOT NULL,
  `correctfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `partiallycorrectfeedback` longtext NOT NULL,
  `partiallycorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `incorrectfeedback` longtext NOT NULL,
  `incorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `shownumcorrect` tinyint(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Defines drag and drop (text or images onto a background imag' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_qtype_ddimageortext_drags`
--

CREATE TABLE `mdl_qtype_ddimageortext_drags` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `no` bigint(10) NOT NULL DEFAULT 0,
  `draggroup` bigint(10) NOT NULL DEFAULT 0,
  `infinite` smallint(4) NOT NULL DEFAULT 0,
  `label` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Images to drag. Actual file names are not stored here we use' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_qtype_ddimageortext_drops`
--

CREATE TABLE `mdl_qtype_ddimageortext_drops` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `no` bigint(10) NOT NULL DEFAULT 0,
  `xleft` bigint(10) NOT NULL DEFAULT 0,
  `ytop` bigint(10) NOT NULL DEFAULT 0,
  `choice` bigint(10) NOT NULL DEFAULT 0,
  `label` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Drop boxes' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_qtype_ddmarker`
--

CREATE TABLE `mdl_qtype_ddmarker` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `shuffleanswers` smallint(4) NOT NULL DEFAULT 1,
  `correctfeedback` longtext NOT NULL,
  `correctfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `partiallycorrectfeedback` longtext NOT NULL,
  `partiallycorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `incorrectfeedback` longtext NOT NULL,
  `incorrectfeedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `shownumcorrect` tinyint(2) NOT NULL DEFAULT 0,
  `showmisplaced` smallint(4) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Defines drag and drop (text or images onto a background imag' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_qtype_ddmarker_drags`
--

CREATE TABLE `mdl_qtype_ddmarker_drags` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `no` bigint(10) NOT NULL DEFAULT 0,
  `label` longtext NOT NULL,
  `infinite` smallint(4) NOT NULL DEFAULT 0,
  `noofdrags` bigint(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Labels for markers to drag.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_qtype_ddmarker_drops`
--

CREATE TABLE `mdl_qtype_ddmarker_drops` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `no` bigint(10) NOT NULL DEFAULT 0,
  `shape` varchar(255) DEFAULT NULL,
  `coords` longtext NOT NULL,
  `choice` bigint(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='drop regions' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_qtype_essay_options`
--

CREATE TABLE `mdl_qtype_essay_options` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL,
  `responseformat` varchar(16) NOT NULL DEFAULT 'editor',
  `responserequired` tinyint(2) NOT NULL DEFAULT 1,
  `responsefieldlines` smallint(4) NOT NULL DEFAULT 15,
  `attachments` smallint(4) NOT NULL DEFAULT 0,
  `attachmentsrequired` smallint(4) NOT NULL DEFAULT 0,
  `graderinfo` longtext DEFAULT NULL,
  `graderinfoformat` smallint(4) NOT NULL DEFAULT 0,
  `responsetemplate` longtext DEFAULT NULL,
  `responsetemplateformat` smallint(4) NOT NULL DEFAULT 0,
  `filetypeslist` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Extra options for essay questions.' ROW_FORMAT=COMPRESSED;

-- --------------------------------------------------------

--
-- Structure de la table `mdl_qtype_formulas_answers`
--

CREATE TABLE `mdl_qtype_formulas_answers` (
  `id` bigint(10) NOT NULL,
  `questionid` bigint(10) NOT NULL DEFAULT 0,
  `partindex` bigint(10) NOT NULL DEFAULT 0,
  `placeholder` varchar(40) DEFAULT NULL,
  `answermark` double NOT NULL,
  `answertype` bigint(10) NOT NULL DEFAULT 0,
  `numbox` bigint(10) NOT NULL,
  `vars1` longtext DEFAULT NULL,
  `answer` longtext NOT NULL,
  `vars2` longtext DEFAULT NULL,
  `correctness` longtext NOT NULL,
  `unitpenalty` double DEFAULT NULL,
  `postunit` longtext DEFAULT NULL,
  `ruleid` bigint(10) NOT NULL,
  `otherrule` longtext DEFAULT NULL,
  `subqtext` longtext DEFAULT NULL,
  `subqtextformat` tinyint(2) NOT NULL DEFAULT 0,
  `feedback` longtext DEFAULT NULL,
  `feedbackformat` tinyint(2) NOT NULL DEFAULT 0,
  `partcorrectfb` longtext DEFAULT NULL,
  `partcorrectfbformat` tinyint(2) NOT NULL DEFAULT 0,
  `partpartiallycorrectfb` longtext DEFAULT NULL,
  `partpartiallycorrectfbformat` tinyint(2) NOT NULL DEFAULT 0,
  `partincorrectfb` longtext DEFAULT NULL,
  `partincorrectfbformat` tinyint(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Answers for formulas question type' ROW_FORMAT=COMPRESSED;

--
-- Déchargement des données de la table `mdl_qtype_formulas_answers`
--

INSERT INTO `mdl_qtype_formulas_answers` (`id`, `questionid`, `partindex`, `placeholder`, `answermark`, `answertype`, `numbox`, `vars1`, `answer`, `vars2`, `correctness`, `unitpenalty`, `postunit`, `ruleid`, `otherrule`, `subqtext`, `subqtextformat`, `feedback`, `feedbackformat`, `partcorrectfb`, `partcorrectfbformat`, `partpartiallycorrectfb`, `partpartiallycorrectfbformat`, `partincorrectfb`, `partincorrectfbformat`) VALUES
(1, 1, 0, '', 1, 0, 1, '', '1', '', '_relerr < 0.01', 0.1, '', 1, '', '<p>\n    <script type=\"text/javascript\" src=\"https://jsxgraph.org/distrib/jsxgraphcore.js\"></script>\n    <script type=\"text/javascript\" src=\"https://code.jquery.com/jquery-3.1.0.min.js\"></script>\n\n</p>\n<div id=\"box1\" class=\"jxgbox\" style=\"width: 600px; height: 600px; margin-left: 1px; margin-right: auto;\">&nbsp;</div>\n<p>\n    <script type=\"text/javascript\">\n        var nameSpace1 = {};\n        nameSpace1.board = JXG.JSXGraph.initBoard(\'box1\', {\n            boundingbox: [-10, 10, 10, -10],\n            axis: true\n        });\n        nameSpace1.O = nameSpace1.board.create(\'point\', [0, 0], {\n            fixed: true,\n            size: 1,\n            name: \'O\',\n            withLabel: true\n        });\n        nameSpace1.alpha = nameSpace1.board.create(\'slider\', [\n            [-9, 8],\n            [0, 8],\n            [0, 90, 360]\n        ], {\n            name: \'alpha\',\n            withLabel: true,\n            snapWidth: 1\n        });\n        nameSpace1.p1 = nameSpace1.board.create(\'point\', [0, 3], {\n            visible: true,\n            size: 1,\n            name: \'M\'\n        });\n        nameSpace1.sliderVal = function() {\n            return \"<center>La valeur de l\'angle α est: \" + nameSpace1.alpha.Value().toFixed(2) + \"<\\center>\";\n        };\n        nameSpace1.alphatext = nameSpace1.board.create(\'text\', [-9, 9, nameSpace1.sliderVal]);\n        nameSpace1.px = function(a, b) {\n            var angle = nameSpace1.alpha.Value() * Math.PI / 180;\n            return a * Math.cos(angle) - b * Math.sin(angle);\n\n\n        }\n        nameSpace1.py = function(a, b) {\n            var angle = nameSpace1.alpha.Value() * Math.PI / 180;\n            return a * Math.sin(angle) + b * Math.cos(angle);\n        }\n\n        nameSpace1.p2x = function() {\n            return nameSpace1.px(nameSpace1.p1.X(), nameSpace1.p1.Y());\n        }\n        nameSpace1.p2y = function() {\n            return nameSpace1.py(nameSpace1.p1.X(), nameSpace1.p1.Y());\n        }\n\n        nameSpace1.li1 = nameSpace1.board.create(\'line\', [nameSpace1.O, nameSpace1.p1], {\n            color: \'red\',\n            straightFirst: false,\n            straightLast: false,\n            strokeWidth: 1,\n            lastArrow: true,\n            name: \"Vecteur OM\",\n            withLabel: false,\n            label: {\n                position: \'top\',\n                offsets: [0, 10],\n                color: \'red\'\n            }\n        });\n        nameSpace1.p2 = nameSpace1.board.create(\'point\', [nameSpace1.p2x, nameSpace1.p2y], {\n            visible: true,\n            color: \'blue\',\n            size: 1,\n            name: \"M\'\"\n        });\n        nameSpace1.li2 = nameSpace1.board.create(\'line\', [nameSpace1.O, nameSpace1.p2], {\n            color: \'blue\',\n            straightFirst: false,\n            straightLast: false,\n            strokeWidth: 1,\n            lastArrow: true,\n            name: \"Vecteur OM\'\",\n            withLabel: false,\n            label: {\n                position: \'top\',\n                offsets: [0, 10],\n                color: \'blue\'\n            }\n        });\n        nameSpace1.MOM1 = nameSpace1.board.create(\'angle\', [nameSpace1.p1, nameSpace1.O, nameSpace1.p2])\n\n        nameSpace1.ci = nameSpace1.board.createElement(\'circle\', [\"O\", \"M\"], {\n            strokeColor: \'#00ff00\',\n            strokeWidth: 1\n        });\n        nameSpace1.txt = nameSpace1.board.create(\'text\', [-9.5, -9.5, \"Rotation d\'angle α\"], {\n            fontSize: 15,\n            color: \'green\'\n        });\n    </script>\n</p>', 1, '', 1, '', 1, '', 1, '', 1),
(2, 2, 0, '', 1, 0, 1, '', '1', '', '_relerr < 0.01', 0.1, '', 1, '', '<p>\n    <script type=\"text/javascript\" src=\"https://jsxgraph.org/distrib/jsxgraphcore.js\"></script>\n    <script type=\"text/javascript\" src=\"https://code.jquery.com/jquery-3.1.0.min.js\"></script>\n\n</p>\n<div id=\"box2\" class=\"jxgbox\" style=\"width: 600px; height: 600px; margin-left: 1px; margin-right: auto;\">&nbsp;</div>\n<p>\n    <script type=\"text/javascript\">\n        var nameSpace2 = {};\n        nameSpace2.board = JXG.JSXGraph.initBoard(\'box2\', {\n            boundingbox: [-10, 10, 10, -10],\n            axis: true\n        });\n        nameSpace2.O = nameSpace2.board.create(\'point\', [0, 0], {\n            fixed: true,\n            size: 1,\n            name: \'O\',\n            withLabel: true,\n            visible: false\n        });\n        nameSpace2.alpha = nameSpace2.board.create(\'slider\', [\n            [-9, 8],\n            [0, 8],\n            [0, 90, 360]\n        ], {\n            name: \'alpha\',\n            withLabel: true,\n            snapWidth: 1\n        });\n        nameSpace2.p1 = nameSpace2.board.create(\'point\', [1, 1], {\n            visible: true,\n            size: 1,\n            name: \'A\'\n        });\n        nameSpace2.p2 = nameSpace2.board.create(\'point\', [1, 4], {\n            visible: true,\n            size: 1,\n            name: \'B\'\n        });\n        nameSpace2.p3 = nameSpace2.board.create(\'point\', [2, 5], {\n            visible: true,\n            size: 1,\n            name: \'C\'\n        });\n        nameSpace2.p4 = nameSpace2.board.create(\'point\', [3, 4], {\n            visible: true,\n            size: 1,\n            name: \'D\'\n        });\n        nameSpace2.p5 = nameSpace2.board.create(\'point\', [3, 1], {\n            visible: true,\n            size: 1,\n            name: \'E\'\n        });\n        nameSpace2.poly1 = nameSpace2.board.create(\'polygon\', [\"A\", \"B\", \"C\", \"D\", \"E\"], {\n            color: \'red\'\n        });\n        nameSpace2.sliderVal = function() {\n            return \"<center>La valeur de l\'angle &alpha; est: \" + nameSpace2.alpha.Value().toFixed(2) + \"<\\center>\";\n        };\n        nameSpace2.alphatext = nameSpace2.board.create(\'text\', [-9, 9, nameSpace2.sliderVal]);\n        nameSpace2.qx = function(a, b) {\n            var angle = nameSpace2.alpha.Value() * Math.PI / 180;\n            return a * Math.cos(angle) - b * Math.sin(angle);\n\n\n        }\n        nameSpace2.qy = function(a, b) {\n            var angle = nameSpace2.alpha.Value() * Math.PI / 180;\n            return a * Math.sin(angle) + b * Math.cos(angle);\n        }\n\n        nameSpace2.q1x = function() {\n            return nameSpace2.qx(nameSpace2.p1.X(), nameSpace2.p1.Y());\n        }\n        nameSpace2.q1y = function() {\n            return nameSpace2.qy(nameSpace2.p1.X(), nameSpace2.p1.Y());\n        }\n\n        nameSpace2.q2x = function() {\n            return nameSpace2.qx(nameSpace2.p2.X(), nameSpace2.p2.Y());\n        }\n        nameSpace2.q2y = function() {\n            return nameSpace2.qy(nameSpace2.p2.X(), nameSpace2.p2.Y());\n        }\n\n        nameSpace2.q3x = function() {\n            return nameSpace2.qx(nameSpace2.p3.X(), nameSpace2.p3.Y());\n        }\n        nameSpace2.q3y = function() {\n            return nameSpace2.qy(nameSpace2.p3.X(), nameSpace2.p3.Y());\n        }\n        nameSpace2.q4x = function() {\n            return nameSpace2.qx(nameSpace2.p4.X(), nameSpace2.p4.Y());\n        }\n        nameSpace2.q4y = function() {\n            return nameSpace2.qy(nameSpace2.p4.X(), nameSpace2.p4.Y());\n        }\n\n        nameSpace2.q5x = function() {\n            return nameSpace2.qx(nameSpace2.p5.X(), nameSpace2.p5.Y());\n        }\n        nameSpace2.q5y = function() {\n            return nameSpace2.qy(nameSpace2.p5.X(), nameSpace2.p5.Y());\n        }\n        nameSpace2.q1 = nameSpace2.board.create(\'point\', [nameSpace2.q1x, nameSpace2.q1y], {\n            visible: true,\n            color: \'blue\',\n            size: 1,\n            name: \"A\'\"\n        });\n        nameSpace2.q2 = nameSpace2.board.create(\'point\', [nameSpace2.q2x, nameSpace2.q2y], {\n            visible: true,\n            color: \'blue\',\n            size: 1,\n            name: \"B\'\"\n        });\n        nameSpace2.q3 = nameSpace2.board.create(\'point\', [nameSpace2.q3x, nameSpace2.q3y], {\n            visible: true,\n            color: \'blue\',\n            size: 1,\n            name: \"C\'\"\n        });\n        nameSpace2.q4 = nameSpace2.board.create(\'point\', [nameSpace2.q4x, nameSpace2.q4y], {\n            visible: true,\n            color: \'blue\',\n            size: 1,\n            name: \"D\'\"\n        });\n        nameSpace2.q5 = nameSpace2.board.create(\'point\', [nameSpace2.q5x, nameSpace2.q5y], {\n            visible: true,\n            color: \'blue\',\n            size: 1,\n            name: \"E\'\"\n        });\n\n        nameSpace2.poly2 = nameSpace2.board.create(\'polygon\', [\"A\'\", \"B\'\", \"C\'\", \"D\'\", \"E\'\"], {\n            color: \'blue\'\n        });\n        nameSpace2.txt = nameSpace2.board.create(\'text\', [-9.5, -9.5, \"Rotation d\'angle &alpha;\"], {\n            fontSize: 15,\n            color: \'green\'\n        });\n    </script>\n</p>', 1, '', 1, '', 1, '', 1, '', 1),
(3, 3, 0, '', 1, 0, 1, '', '1', '', '_relerr < 0.01', 0.1, '', 1, '', '<p>\n    <script type=\"text/javascript\" src=\"https://jsxgraph.org/distrib/jsxgraphcore.js\"></script>\n    <script type=\"text/javascript\" src=\"https://code.jquery.com/jquery-3.1.0.min.js\"></script>\n\n</p>\n<div id=\"box4\" class=\"jxgbox\" style=\"width: 600px; height: 600px; margin-left: 1px; margin-right: auto;\">&nbsp;</div>\n<p>\n    <script type=\"text/javascript\">\n        var nameSpace4 = {};\n        nameSpace4.board = JXG.JSXGraph.initBoard(\'box4\', {\n            boundingbox: [-10, 10, 10, -10],\n            axis: true\n        });\n        nameSpace4.p0 = nameSpace4.board.create(\'point\', [0, 0], {\n            fixed: true,\n            size: 1,\n            name: \'O\',\n            visible: false\n        });\n        nameSpace4.p1 = nameSpace4.board.create(\'point\', [5, 1], {\n            visible: true,\n            size: 1,\n            name: \'U\',\n            withLabel: false\n        });\n        nameSpace4.bx = function() {\n            return -nameSpace4.p1.Y();\n        }\n        nameSpace4.by = function() {\n            return nameSpace4.p1.X();\n        }\n\n        nameSpace4.p2 = nameSpace4.board.create(\'point\', [nameSpace4.bx, nameSpace4.by], {\n            visible: false,\n            size: 1,\n            name: \'V\'\n        });\n        nameSpace4.d1 = nameSpace4.board.create(\'line\', [nameSpace4.p0, nameSpace4.p1], {\n            color: \'blue\',\n            straightFirst: true,\n            straightLast: true,\n            strokeWidth: 1,\n            name: \"(OU)\"\n        });\n        nameSpace4.d2 = nameSpace4.board.create(\'line\', [nameSpace4.p0, nameSpace4.p2], {\n            color: \'green\',\n            straightFirst: true,\n            straightLast: true,\n            strokeWidth: 1,\n            name: \"(OV)\",\n            visible: false\n        });\n\n\n        nameSpace4.p3 = nameSpace4.board.create(\'point\', [1, 1], {\n            visible: true,\n            size: 1,\n            name: \'A\'\n        });\n        nameSpace4.par3 = nameSpace4.board.create(\'parallel\', [nameSpace4.d2, nameSpace4.p3], {\n            strokeWidth: 1,\n            visible: false\n        });\n        nameSpace4.I3 = nameSpace4.board.create(\'intersection\', [nameSpace4.par3, nameSpace4.d1], {\n            name: \"IA\",\n            size: 1,\n            visible: false\n        });\n        nameSpace4.q3x = function() {\n            return 2 * nameSpace4.I3.X() - nameSpace4.p3.X();\n        }\n        nameSpace4.q3y = function() {\n            return 2 * nameSpace4.I3.Y() - nameSpace4.p3.Y();\n        }\n        nameSpace4.q3 = nameSpace4.board.create(\'point\', [nameSpace4.q3x, nameSpace4.q3y], {\n            color: \'blue\',\n            name: \"A\'\",\n            size: 1,\n            visible: true\n        });\n\n\n        nameSpace4.p4 = nameSpace4.board.create(\'point\', [1, 4], {\n            visible: true,\n            size: 1,\n            name: \'B\'\n        });\n        nameSpace4.par4 = nameSpace4.board.create(\'parallel\', [nameSpace4.d2, nameSpace4.p4], {\n            strokeWidth: 1,\n            visible: false\n        });\n        nameSpace4.I4 = nameSpace4.board.create(\'intersection\', [nameSpace4.par4, nameSpace4.d1], {\n            name: \"IB\",\n            size: 1,\n            visible: false\n        });\n        nameSpace4.q4x = function() {\n            return 2 * nameSpace4.I4.X() - nameSpace4.p4.X();\n        }\n        nameSpace4.q4y = function() {\n            return 2 * nameSpace4.I4.Y() - nameSpace4.p4.Y();\n        }\n        nameSpace4.q4 = nameSpace4.board.create(\'point\', [nameSpace4.q4x, nameSpace4.q4y], {\n            color: \'blue\',\n            name: \"B\'\",\n            size: 1,\n            visible: true\n        });\n\n        nameSpace4.p5 = nameSpace4.board.create(\'point\', [2, 5], {\n            visible: true,\n            size: 1,\n            name: \'C\'\n        });\n        nameSpace4.par5 = nameSpace4.board.create(\'parallel\', [nameSpace4.d2, nameSpace4.p5], {\n            strokeWidth: 1,\n            visible: false\n        });\n        nameSpace4.I5 = nameSpace4.board.create(\'intersection\', [nameSpace4.par5, nameSpace4.d1], {\n            name: \"IC\",\n            size: 1,\n            visible: false\n        });\n        nameSpace4.q5x = function() {\n            return 2 * nameSpace4.I5.X() - nameSpace4.p5.X();\n        }\n        nameSpace4.q5y = function() {\n            return 2 * nameSpace4.I5.Y() - nameSpace4.p5.Y();\n        }\n        nameSpace4.q5 = nameSpace4.board.create(\'point\', [nameSpace4.q5x, nameSpace4.q5y], {\n            color: \'blue\',\n            name: \"C\'\",\n            size: 1,\n            visible: true\n        });\n\n        nameSpace4.p6 = nameSpace4.board.create(\'point\', [3, 4], {\n            visible: true,\n            size: 1,\n            name: \'D\'\n        });\n        nameSpace4.par6 = nameSpace4.board.create(\'parallel\', [nameSpace4.d2, nameSpace4.p6], {\n            strokeWidth: 1,\n            visible: false\n        });\n        nameSpace4.I6 = nameSpace4.board.create(\'intersection\', [nameSpace4.par6, nameSpace4.d1], {\n            name: \"ID\",\n            size: 1,\n            visible: false\n        });\n        nameSpace4.q6x = function() {\n            return 2 * nameSpace4.I6.X() - nameSpace4.p6.X();\n        }\n        nameSpace4.q6y = function() {\n            return 2 * nameSpace4.I6.Y() - nameSpace4.p6.Y();\n        }\n        nameSpace4.q6 = nameSpace4.board.create(\'point\', [nameSpace4.q6x, nameSpace4.q6y], {\n            color: \'blue\',\n            name: \"D\'\",\n            size: 1,\n            visible: true\n        });\n\n        nameSpace4.p7 = nameSpace4.board.create(\'point\', [3, 1], {\n            visible: true,\n            size: 1,\n            name: \'E\'\n        });\n        nameSpace4.par7 = nameSpace4.board.create(\'parallel\', [nameSpace4.d2, nameSpace4.p7], {\n            strokeWidth: 1,\n            visible: false\n        });\n        nameSpace4.I7 = nameSpace4.board.create(\'intersection\', [nameSpace4.par7, nameSpace4.d1], {\n            name: \"IE\",\n            size: 1,\n            visible: false\n        });\n        nameSpace4.q7x = function() {\n            return 2 * nameSpace4.I7.X() - nameSpace4.p7.X();\n        }\n        nameSpace4.q7y = function() {\n            return 2 * nameSpace4.I7.Y() - nameSpace4.p7.Y();\n        }\n        nameSpace4.q7 = nameSpace4.board.create(\'point\', [nameSpace4.q7x, nameSpace4.q7y], {\n            color: \'blue\',\n            name: \"E\'\",\n            size: 1,\n            visible: true\n        });\n\n        nameSpace4.poly1 = nameSpace4.board.create(\'polygon\', [\"A\", \"B\", \"C\", \"D\", \"E\"], {\n            color: \'red\'\n        });\n        nameSpace4.poly2 = nameSpace4.board.create(\'polygon\', [\"A\'\", \"B\'\", \"C\'\", \"D\'\", \"E\'\"], {\n            color: \'blue\'\n        });\n\n        nameSpace4.txt = nameSpace4.board.create(\'text\', [-9.5, -9.5, \"SymÃ©trie orthogonale par rapport Ã  une droite\"], {\n            fontSize: 15,\n            color: \'green\'\n        });\n    </script>\n</p>', 1, '', 1, '', 1, '', 1, '', 1),
(4, 4, 0, '', 1, 0, 1, '', '1', '', '_relerr < 0.01', 0.1, '', 1, '', '<p>\n    <script type=\"text/javascript\" src=\"http://jsxgraph.org/distrib/jsxgraphcore.js\"></script>\n    <script type=\"text/javascript\" src=\"https://code.jquery.com/jquery-3.1.0.min.js\"></script>\n\n</p>\n<div id=\"box2\" class=\"jxgbox\" style=\"width: 600px; height: 600px; margin-left: 1px; margin-right: auto;\">&nbsp;</div>\n<p>\n    <script type=\"text/javascript\">\n        \n        var nameSpace2 = {};\n        nameSpace2.board = JXG.JSXGraph.initBoard(\'box2\', {\n            boundingbox: [-10, 10, 10, -10],\n            axis: true\n        });\n        nameSpace2.O = nameSpace2.board.create(\'point\', [0, 0], {\n            fixed: true,\n            size: 1,\n            name: \'O\',\n            withLabel: true\n        });\n\n        nameSpace2.p1 = nameSpace2.board.create(\'point\', [1, 1], {\n            visible: true,\n            size: 1,\n            name: \'A\'\n        });\n        nameSpace2.p2 = nameSpace2.board.create(\'point\', [1, 4], {\n            visible: true,\n            size: 1,\n            name: \'B\'\n        });\n        nameSpace2.p3 = nameSpace2.board.create(\'point\', [2, 5], {\n            visible: true,\n            size: 1,\n            name: \'C\'\n        });\n        nameSpace2.p4 = nameSpace2.board.create(\'point\', [3, 4], {\n            visible: true,\n            size: 1,\n            name: \'D\'\n        });\n        nameSpace2.p5 = nameSpace2.board.create(\'point\', [3, 1], {\n            visible: true,\n            size: 1,\n            name: \'E\'\n        });\n        nameSpace2.poly1 = nameSpace2.board.create(\'polygon\', [\"A\", \"B\", \"C\", \"D\", \"E\"], {\n            color: \'red\'\n        });\n\n        nameSpace2.qx = function(p) {\n            return -p.X();\n\n\n        }\n        nameSpace2.qy = function(p) {\n            return -p.Y();\n        }\n\n        nameSpace2.q1x = function() {\n            return nameSpace2.qx(nameSpace2.p1);\n\n        }\n\n        nameSpace2.q1y = function() {\n            return nameSpace2.qy(nameSpace2.p1);\n\n        }\n        nameSpace2.q2x = function() {\n            return nameSpace2.qx(nameSpace2.p2);\n\n        }\n\n        nameSpace2.q2y = function() {\n            return nameSpace2.qy(nameSpace2.p2);\n\n        }\n        nameSpace2.q3x = function() {\n            return nameSpace2.qx(nameSpace2.p3);\n\n        }\n\n        nameSpace2.q3y = function() {\n            return nameSpace2.qy(nameSpace2.p3);\n\n        }\n\n        nameSpace2.q4x = function() {\n            return nameSpace2.qx(nameSpace2.p4);\n\n        }\n\n        nameSpace2.q4y = function() {\n            return nameSpace2.qy(nameSpace2.p4);\n\n        }\n\n        nameSpace2.q5x = function() {\n            return nameSpace2.qx(nameSpace2.p5);\n\n        }\n\n        nameSpace2.q5y = function() {\n            return nameSpace2.qy(nameSpace2.p5);\n\n        }\n        nameSpace2.q1 = nameSpace2.board.create(\'point\', [nameSpace2.q1x, nameSpace2.q1y], {\n            visible: true,\n            color: \'blue\',\n            size: 1,\n            name: \"A\'\"\n        });\n        nameSpace2.q2 = nameSpace2.board.create(\'point\', [nameSpace2.q2x, nameSpace2.q2y], {\n            visible: true,\n            color: \'blue\',\n            size: 1,\n            name: \"B\'\"\n        });\n        nameSpace2.q3 = nameSpace2.board.create(\'point\', [nameSpace2.q3x, nameSpace2.q3y], {\n            visible: true,\n            color: \'blue\',\n            size: 1,\n            name: \"C\'\"\n        });\n        nameSpace2.q4 = nameSpace2.board.create(\'point\', [nameSpace2.q4x, nameSpace2.q4y], {\n            visible: true,\n            color: \'blue\',\n            size: 1,\n            name: \"D\'\"\n        });\n        nameSpace2.q5 = nameSpace2.board.create(\'point\', [nameSpace2.q5x, nameSpace2.q5y], {\n            visible: true,\n            color: \'blue\',\n            size: 1,\n            name: \"E\'\"\n        });\n        nameSpace2.poly2 = nameSpace2.board.create(\'polygon\', [\"A\'\", \"B\'\", \"C\'\", \"D\'\", \"E\'\"], {\n            color: \'blue\'\n        });\n        nameSpace2.txt = nameSpace2.board.create(\'text\', [-9.5, -9.5, \"SymÃ©trie centrale\"], {\n            fontSize: 15,\n            color: \'green\'\n        });\n    </script>\n</p>', 1, '', 1, '', 1, '', 1, '', 1),
(5, 5, 0, '', 1, 0, 2, '', '[ansNum,den]', '', '(_0/_1 == ansNum/den)*.5 +(_0==redNum)*.25 + (_1==redDen)*.25', 1, '', 1, '', '<br><table>\n    <tbody>\n        <tr>\n            <td rowspan=\"2\">\n                <h3>What improper fraction represents the amount of circle shaded?&nbsp;</h3>\n            </td>\n            <td style=\"border-bottom:1px solid black\"><h3>{_0}</h3></td>\n      </tr><tr> <td><h3>{_1}\n            </h3></td>\n        </tr>\n    </tbody>\n</table><br>', 1, '<p dir=\"ltr\" style=\"text-align: left;\"></p><p dir=\"ltr\"><strong>The circle is divided into {numberWord} equal sections.&nbsp; &nbsp;Each section represents \\(\\frac{1}{{den}}\\).</strong></p><p dir=\"ltr\">There are {num} sections shaded in the left circle.</p><p dir=\"ltr\">{FBWhole}.&nbsp; Each whole circle represents \\(\\frac{{den}}{{den}}\\).</p><p dir=\"ltr\">Altogether there are {ansNum}&nbsp; {denWord}&nbsp; shaded.&nbsp;</p><p dir=\"ltr\">The fraction is \\(\\frac{{ansNum}}{{den}}\\).</p>Write the answer in lowest terms.<br>The GCF of {ansNum} and {den} = {GCFFrac}<br><br>The fraction can be reduced if the GCF is greater than 1.<br>To reduce the fraction divide the numerator and denominator each by the GCF<br><br>{ansNum}/{GCFFrac} = {redNum}<br>{den}/{GCFFrac}={redDen}<br><br><strong>The answer as an improper fraction in simplest form is: \\(\\frac{{redNum}}{{redDen}}\\)</strong><br><br><p></p>', 1, '', 1, '', 1, '', 1),
(6, 5, 1, '', 1, 0, 3, 'gcfFrac=gcd(num,den);\nredMNum=num/gcfFrac;\nredMDen=den/gcfFrac;\nwhole=(redMDen==redMNum)?whole+1:whole;\nredMNum=(redMDen==redMNum)?0:redMNum;', '[whole,redMNum,redMDen]', '', '(_0==whole)*.3 + (_1/_2==num/den)*.2+(_1==redMNum)*.25 + (_2==redMDen)*.25', 1, '', 1, '', '<br>\n<table>\n    <tbody>\n        <tr>\n            <td rowspan=\"2\">\n                <h3>What mixed number represents the part of the shaded circle?&nbsp; &nbsp;&nbsp;</h3>\n            </td>\n          <td rowspan=\"2\"><h3>\n            {_0}</h3></td>\n            <td style=\"border-bottom:1px solid black\">\n                <h3>{_1}</h3>\n            </td>\n        </tr>\n        <tr>\n            <td>\n                <h3>{_2}\n                </h3>\n            </td>\n        </tr>\n    </tbody>\n</table><br>', 1, '<p dir=\"ltr\" style=\"text-align: left;\">{FBWhole}.<br></p><p dir=\"ltr\" style=\"text-align: left;\">Write the fraction in lowest terms.<br>The GCF of {num} and {den} = {gcfFrac}<br><br>A fraction can be reduced if the GCF is greater than 1.<br>To reduce the fraction divide the numerator and denominator each by the GCF<br><br>{num}/{gcfFrac} = {redMNum}<br>{den}/{gcfFrac}={redMDen}<br><br><strong>The answer as a Mixed Number in simplest form is: {whole}\\(\\frac{{redMNum}}{{redMDen}}\\)</strong><br></p>', 1, '', 1, '', 1, '', 1),
(7, 7, 0, '', 1, 0, 1, '', 'tf', '', '_relerr < 0.01', 1, '', 1, '', '<p> 1. Quel point est l’origine du cercle trigonométrique ?</p>\n<p>{_0:pt}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(8, 7, 1, '', 1, 0, 1, '', 'tf1', '', '_relerr < 0.01', 1, '', 1, '', '<p>2. Quel nombre est associé au point B ?</p>\n<p>{_0:maximum}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(9, 7, 2, '', 1, 0, 1, '', 'tf2', '', '_relerr < 0.01', 1, '', 1, '', '<p>3. Quel point est associé au nombre π ?</p>\n<p>{_0:pt2}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(10, 8, 0, '', 1, 10, 1, '', 'tf', '', '_relerr < 0.01', 1, '', 1, '', '<p>1. Donner la période de la fonction sinus : </p>\n<p>{_0:periode}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(11, 8, 1, '', 1, 0, 1, '', 'tf1', '', '_relerr < 0.01', 1, '', 1, '', '<p>2. Pour quelles valeurs de x la fonction est-elle maximum sur l’intervalle [0 ; 2π].</p>\n<p>{_0:maximum}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(12, 8, 2, '', 1, 0, 1, '', 'tf2', '', '_relerr < 0.01', 1, '', 1, '', '<p>3. Sur quels intervalles la fonction sinus est-elle croissante ?</p>\n<p>{_0:croissance}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(13, 8, 3, '', 1, 10, 7, '', '[0,tf3,1,tf4,-1,tf3,0]', '', '_relerr < 0.02', 1, '', 1, '', '<p>4. En utilisant la courbe représentative de la fonction sinus, compléter son tableau de variations.</p>\n<div style=\"width: 1050px; margin: 1%; position: relative; margin-top: 1%; transform: translate(1%, 0);\"><!--<div style=\"width: 900px; margin: 0px; position: relative; margin-top: 10px; transform: translate(10px, 0);\">--> <img class=\"img-responsive\" src=\"@@PLUGINFILE@@/Cadre-foncVariable.png\" alt=\"\" width=\"850\" height=\"100\" /> <br />\n<h3 class=\"math\" style=\"position: absolute; top: 50px; left: 20px;\"><em><strong>x</strong></em></h3>\n<h3 class=\"math\" style=\"position: absolute; top: 50px; left: 130px;\"><em><strong>0</strong></em></h3>\n<h3 class=\"math\" style=\"position: absolute; top: 50px; left: 480px;\"><em><strong>pi/2</strong></em></h3>\n<h3 class=\"math\" style=\"position: absolute; top: 50px; left: 850px;\"><em><strong>pi</strong></em></h3>\n<h3 class=\"math\" style=\"position: absolute; top: 180px; left: 20px;\"><em><strong>sin(x)</strong></em></h3>\n<h3 class=\"math\" style=\"position: absolute; top: 180px; left: 130px;\"><em><strong>{_0}</strong></em></h3>\n<h3 class=\"math\" style=\"position: absolute; top: 180px; left: 250px;\"><em><strong>{_1:fleche1}</strong></em></h3>\n<h3 class=\"math\" style=\"position: absolute; top: 180px; left: 850px;\"><em><strong>{_4}</strong></em></h3>\n<br />\n<h3 class=\"math\" style=\"position: absolute; top: 180px; left: 480px;\"><em><strong>{_2}           <em><strong>{_3:fleche2}</strong></em><br /></strong></em></h3>\n<!--<div style=\"position: absolute; top: 22px; left: 349px;\">\\(=\\)</div>\n<div style=\"position: absolute; top: 20px; left: 366px;\">{#1}</div>\n<div style=\"position: absolute; top: 90px; left: 392px;\">\\(=\\)</div>\n<div style=\"position: absolute; top: 88px; left: 409px;\">{#2}</div>--></div>\n<!--<div style=\"text-align: center; margin-top: 15px;\"><strong>Fig.</strong> <span class=\"math\" style=\"font-size: 95%;\"><em></em></span></div>-->\n<p>\n<script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js\"></script>\n<script type=\"text/javascript\">// <![CDATA[\n$(window).on(\"load\", function() {\n            // Format the input boxes\n            $(\".multichoice_answer .r0, .multichoice_answer .r1\").css(\"padding-right\", \"40px\");\n            $(\".multichoice_answer .r0, .multichoice_answer .r1\").css(\"display\", \"inline-block\");\n            $(\".formulas_number_unit\").css(\"width\", \"80px\");\n            $(\".formulas_number_unit\").css(\"text-align\", \"center\");\n            $(\".formulas_number_unit\").css(\"font-family\", \"Times New Roman\");\n            // Format the text\n            $(\".math\").css(\"font-family\", \"Times New Roman\");\n        });\n// ]]><span data-mce-type=\"bookmark\" id=\"mce_0_start\" data-mce-style=\"overflow:hidden;line-height:0px\" style=\"overflow:hidden;line-height:0px\"></span>\n// ]]><span data-mce-type=\"bookmark\" id=\"mce_0_start\" data-mce-style=\"overflow:hidden;line-height:0px\" style=\"overflow:hidden;line-height:0px\"></span>\n// ]]></script>\n</p>', 1, '', 1, '', 1, '', 1, '', 1),
(14, 9, 0, '', 1, 10, 1, '', 'tf', '', '_relerr < 0.01', 1, '', 1, '', '<p>1. Donner la période de la fonction sinus :&nbsp;</p>\n<p>{_0:periode}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(15, 9, 1, '', 1, 0, 1, '', 'tf1', '', '_relerr < 0.01', 1, '', 1, '', '<p>2. Pour quelles valeurs de x la fonction est-elle&nbsp;maximum sur l’intervalle [0 ; 2π].</p>\n<p>{_0:maximum}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(16, 9, 2, '', 1, 0, 1, '', 'tf2', '', '_relerr < 0.01', 1, '', 1, '', '<p>3. Sur quels intervalles la fonction sinus est-elle croissante ?</p>\n<p>{_0:croissance}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(17, 9, 3, '', 1, 10, 7, '', '[0,tf3,1,tf4,-1,tf3,0]', '', '_relerr < 0.02', 1, '', 1, '', '<p>4. En utilisant la courbe représentative&nbsp;de la fonction sinus,&nbsp;compléter son tableau de variations.</p>\n<div style=\"width: 1050px; margin: 1%; position: relative; margin-top: 1%; transform: translate(1%, 0);\">\n    <!--<div style=\"width: 900px; margin: 0px; position: relative; margin-top: 10px; transform: translate(10px, 0);\">--><img class=\"img-responsive\" src=\"@@PLUGINFILE@@/Cadre-foncVariable.png\" alt=\"\" width=\"850\" height=\"100\">\n    <h3 class=\"math\" style=\"position: absolute; top: 50px; left: 20px;\"><em><strong>x</strong></em></h3>\n    <h3 class=\"math\" style=\"position: absolute; top: 50px; left: 130px;\"><em><strong>0&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</strong></em><em style=\"font-size: 1.75rem;\"><strong>\\(  \\pi/2  \\)&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</strong></em>\n        <em style=\"font-size: 1.75rem;\"><strong>\\( 3 \\pi/2  \\)&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \\( 2 \\pi  \\) &nbsp;</strong></em>\n    </h3>\n    <h3 class=\"math\" style=\"position: absolute; top: 180px; left: 20px;\"><em><strong>sin(x)&nbsp; &nbsp; &nbsp;</strong></em><em style=\"font-size: 1.75rem;\"><strong>{_0}&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</strong></em><em style=\"font-size: 1.75rem;\"><strong>{_1:fleche1}&nbsp; &nbsp; &nbsp;&nbsp;</strong></em><em style=\"font-size: 1.75rem;\"><strong>{_2}&nbsp; &nbsp; &nbsp;&nbsp;</strong></em>\n        <em style=\"font-size: 1.75rem;\"><strong>{_3:fleche2}&nbsp; &nbsp; &nbsp;</strong></em><em style=\"font-size: 1.75rem;\"><strong>{_4}&nbsp; &nbsp; &nbsp; &nbsp;</strong></em><em style=\"font-size: 1.75rem;\"><strong>{_5:fleche1}&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</strong></em>\n        <em style=\"font-size: 1.75rem;\"><strong>{_6}</strong></em>\n    </h3>\n    &nbsp;\n    <!--<div style=\"position: absolute; top: 22px; left: 349px;\">\\(=\\)</div>\n<div style=\"position: absolute; top: 20px; left: 366px;\">{#1}</div>\n<div style=\"position: absolute; top: 90px; left: 392px;\">\\(=\\)</div>\n<div style=\"position: absolute; top: 88px; left: 409px;\">{#2}</div>--></div>\n<!--<div style=\"text-align: center; margin-top: 15px;\"><strong>Fig.</strong> <span class=\"math\" style=\"font-size: 95%;\"><em></em></span></div>-->\n<p>\n    <script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js\"></script>\n    <script type=\"text/javascript\">\n        // <![CDATA[\n        $(window).on(\"load\", function() {\n            // Format the input boxes\n            $(\".multichoice_answer .r0, .multichoice_answer .r1\").css(\"padding-right\", \"40px\");\n            $(\".multichoice_answer .r0, .multichoice_answer .r1\").css(\"display\", \"inline-block\");\n            $(\".formulas_number_unit\").css(\"width\", \"80px\");\n            $(\".formulas_number_unit\").css(\"text-align\", \"center\");\n            $(\".formulas_number_unit\").css(\"font-family\", \"Times New Roman\");\n            // Format the text\n            $(\".math\").css(\"font-family\", \"Times New Roman\");\n        });\n        // ]]><span data-mce-type=\"bookmark\" id=\"mce_0_start\" data-mce-style=\"overflow:hidden;line-height:0px\" style=\"overflow:hidden;line-height:0px\"></span>\n        // ]]><span data-mce-type=\"bookmark\" id=\"mce_0_start\" data-mce-style=\"overflow:hidden;line-height:0px\" style=\"overflow:hidden;line-height:0px\"></span>\n        // ]]>\n    </script>\n</p>', 1, '', 1, '', 1, '', 1, '', 1),
(18, 10, 0, '', 1, 10, 1, '', 'tf', '', '_relerr < 0.01', 1, '', 1, '', '<p>1. Donner la période de la fonction sinus : </p>\n<p>{_0:periode}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(19, 10, 1, '', 1, 0, 1, '', 'tf1', '', '_relerr < 0.01', 1, '', 1, '', '<p>2. Pour quelles valeurs de x la fonction est-elle maximum sur l’intervalle [0 ; 2π].</p>\n<p>{_0:maximum}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(20, 10, 2, '', 1, 0, 1, '', 'tf2', '', '_relerr < 0.01', 1, '', 1, '', '<p>3. Sur quels intervalles la fonction sinus est-elle croissante ?</p>\n<p>{_0:croissance}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(21, 10, 3, '', 1, 10, 7, '', '[0,tf3,1,tf4,-1,tf3,0]', '', '_relerr < 0.02', 1, '', 1, '', '<p>4. En utilisant la courbe représentative de la fonction sinus, compléter son tableau de variations.</p>\n<div style=\"width: 1050px; margin: 1%; position: relative; margin-top: 1%; transform: translate(1%, 0);\">\n<h3 class=\"math\" style=\"position: absolute; top: 50px; left: 20px;\"><em><strong>x</strong></em></h3>\n<h3 class=\"math\" style=\"position: absolute; top: 50px; left: 130px;\"><em><strong>0                              </strong></em><em><strong>\\(\\pi/2 \\)                      </strong></em><em style=\"font-size: 1.75rem;\"><span style=\"font-weight: bolder;\">\\(3 \\pi/2 \\)                </span></em><em style=\"font-size: 1.75rem;\"><span style=\"font-weight: bolder;\">\\(2 \\pi \\)</span></em></h3>\n<h3 class=\"math\" style=\"position: absolute; top: 50px; left: 850px;\"><em><strong> </strong></em></h3>\n<h3 class=\"math\" style=\"position: absolute; top: 130px; left: 20px;\"><em><strong>sin(x) </strong></em><em><strong>{_0} </strong></em><em><strong>{_1:fleche1} </strong></em><em><strong>{_2} </strong></em><em><strong>{_3:fleche2} </strong></em><em><strong>{_4} </strong></em><em><strong>{_5:fleche1} </strong></em><em><strong>{_6} </strong></em></h3>\n<img class=\"img-responsive\" src=\"@@PLUGINFILE@@/Cadre-foncVariable.png\" alt=\"\" width=\"825\" height=\"97\" /><br />\n<h3 class=\"math\" style=\"position: absolute; top: 180px; left: 480px;\"><em><strong> </strong></em></h3>\n<!--<div style=\"position: absolute; top: 22px; left: 349px;\">\\(=\\)</div>\n<div style=\"position: absolute; top: 20px; left: 366px;\">{#1}</div>\n<div style=\"position: absolute; top: 90px; left: 392px;\">\\(=\\)</div>\n<div style=\"position: absolute; top: 88px; left: 409px;\">{#2}</div>--></div>\n<!--<div style=\"text-align: center; margin-top: 15px;\"><strong>Fig.</strong> <span class=\"math\" style=\"font-size: 95%;\"><em></em></span></div>-->\n<p>\n<script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js\"></script>\n<script type=\"text/javascript\">// <![CDATA[\n$(window).on(\"load\", function() {\n            // Format the input boxes\n            $(\".multichoice_answer .r0, .multichoice_answer .r1\").css(\"padding-right\", \"40px\");\n            $(\".multichoice_answer .r0, .multichoice_answer .r1\").css(\"display\", \"inline-block\");\n            $(\".formulas_number_unit\").css(\"width\", \"80px\");\n            $(\".formulas_number_unit\").css(\"text-align\", \"center\");\n            $(\".formulas_number_unit\").css(\"font-family\", \"Times New Roman\");\n            // Format the text\n            $(\".math\").css(\"font-family\", \"Times New Roman\");\n        });\n// ]]><span data-mce-type=\"bookmark\" id=\"mce_0_start\" data-mce-style=\"overflow:hidden;line-height:0px\" style=\"overflow:hidden;line-height:0px\"></span>\n// ]]><span data-mce-type=\"bookmark\" id=\"mce_0_start\" data-mce-style=\"overflow:hidden;line-height:0px\" style=\"overflow:hidden;line-height:0px\"></span>\n// ]]></script>\n</p>\n<h3 class=\"math\" style=\"position: absolute; top: 50px; left: 130px;\"><em><span style=\"font-weight: bolder;\"> </span></em><em style=\"font-size: 1.75rem;\"><span style=\"font-weight: bolder;\"><br /></span></em></h3>', 1, '', 1, '', 1, '', 1, '', 1),
(22, 11, 0, '', 1, 10, 4, '', '[A1,B1,C1,D1]', '', '_relerr < 0.01', 1, '', 1, '', '<h3>&nbsp;Compléter le tableau avec les valeurs suivantes :&nbsp;</h3>\n<table cellspacing=\"4\" cellpadding=\"4\" border=\"2\"><thead><tr><th scope=\"col\"><h3>Mesure en degrés</h3>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h3>{a}</h3>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h3>{b}</h3>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h3>{c}</h3>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h3>{d}</h3>\n</th></tr>\n</thead>\n<tbody>\n<tr>\n<td>\n<h3>Mesure en radians</h3>\n</td>\n<td style=\"text-align: center;\">\n<h3>{_0}π</h3>\n</td>\n<td style=\"text-align: center;\">\n<h3>{_1}π</h3>\n</td>\n<td style=\"text-align: center;\">\n<h3>{_2}π</h3>\n</td>\n<td style=\"text-align: center;\">\n<h3>{_3}π</h3>\n</td>\n</tr>\n</tbody>\n</table>\n<p><br><br></p>\n<p>&nbsp;</p>', 1, '', 1, '', 1, '', 1, '', 1),
(23, 12, 0, '', 1, 10, 4, '', '[A1,B1,C1,D1]', '', '_relerr < 0.01', 1, '', 1, '', '<h3> Compléter le tableau avec les valeurs suivantes : </h3>\n<table border=\"2\" cellspacing=\"4\" cellpadding=\"4\">\n<thead>\n<tr><th scope=\"col\">\n<h3>Mesure en degrés</h3>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{a}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{b}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{c}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{d}</h5>\n</th></tr>\n</thead>\n<tbody>\n<tr>\n<td>\n<h3>Mesure en radians</h3>\n</td>\n<td style=\"text-align: left;\">\n<h5>{_0}π      </h5>\n</td>\n<td style=\"text-align: left;\">\n<h5>{_1}π     </h5>\n</td>\n<td style=\"text-align: left;\">\n<h5>{_2}π     </h5>\n</td>\n<td style=\"text-align: left;\">\n<h5>{_3}π     </h5>\n</td>\n</tr>\n</tbody>\n</table>\n<p><br /><br /></p>\n<p> </p>', 1, '', 1, '', 1, '', 1, '', 1),
(24, 13, 0, '', 1, 10, 4, '', '[A1,B1,C1,D1]', '', '_relerr < 0.01', 1, '', 1, '', '<h3>&nbsp;Compléter le tableau avec les valeurs suivantes :&nbsp;</h3>\n<table cellspacing=\"4\" cellpadding=\"4\" border=\"2\">\n<thead>\n<tr><th scope=\"col\">\n<h3>Mesure en degrés</h3>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{a}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{b}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{c}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{d}</h5>\n</th></tr>\n</thead>\n<tbody>\n<tr>\n<td>\n<h3>Mesure en radians</h3>\n</td>\n<td style=\"text-align: left;\">\n<h5>{_0}π &nbsp;&nbsp; &nbsp;&nbsp;</h5>\n</td>\n<td style=\"text-align: left;\">\n<h5>{_1}π &nbsp;&nbsp; &nbsp;</h5>\n</td>\n<td style=\"text-align: left;\">\n<h5>{_2}π &nbsp; &nbsp;&nbsp;</h5>\n</td>\n<td style=\"text-align: left;\">\n<h5>{_3}π &nbsp;&nbsp; &nbsp;</h5>\n</td>\n</tr>\n</tbody>\n</table>\n<p><br><br></p>\n<p>&nbsp;</p>', 1, '', 1, '', 1, '', 1, '', 1),
(25, 14, 0, '', 2, 10, 4, '', '[a,b,c,d]', '', '(_relerr < 0.01)+(_0==a)*0.25+(_1==b)*0.25+(_2==c)*0.25+(_3==d)*0.25', 1, '', 1, '', '<h3> Compléter le tableau avec les valeurs suivantes : </h3>\n<table border=\"2\" cellspacing=\"4\" cellpadding=\"4\">\n<thead>\n<tr><th scope=\"col\">\n<h3>Mesure en degrés</h3>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{a1}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{b1}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{c1}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{d1}</h5>\n</th></tr>\n</thead>\n<tbody>\n<tr>\n<td>\n<h3>Mesure en radians</h3>\n</td>\n<td style=\"text-align: left;\">\n<h5 style=\"text-align: center;\">   {_0}π      </h5>\n</td>\n<td style=\"text-align: left;\">\n<h5 style=\"text-align: center;\">{_1}π     </h5>\n</td>\n<td style=\"text-align: left;\">\n<h5 style=\"text-align: center;\">{_2}π     </h5>\n</td>\n<td style=\"text-align: left;\">\n<h5 style=\"text-align: center;\">{_3}π     </h5>\n</td>\n</tr>\n</tbody>\n</table>\n<p><br /><br /></p>\n<p> </p>', 1, '', 1, '', 1, '', 1, '', 1),
(26, 15, 0, '', 1, 10, 4, '', '[a,b,c,d]', '', '_relerr < 0.01', 1, '', 1, '', '<h3> Compléter le tableau avec les valeurs suivantes : </h3>\n<table border=\"2\" cellspacing=\"4\" cellpadding=\"4\">\n<thead>\n<tr><th scope=\"col\">\n<h3>Mesure en degrés</h3>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{a}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{b}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{c}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{d}</h5>\n</th></tr>\n</thead>\n<tbody>\n<tr>\n<td>\n<h3>Mesure en radians</h3>\n</td>\n<td style=\"text-align: left;\">\n<h5>{_0}π      </h5>\n</td>\n<td style=\"text-align: left;\">\n<h5>{_1}π     </h5>\n</td>\n<td style=\"text-align: left;\">\n<h5>{_2}π     </h5>\n</td>\n<td style=\"text-align: left;\">\n<h5>{_3}π     </h5>\n</td>\n</tr>\n</tbody>\n</table>\n<p><br /><br /></p>\n<p> </p>', 1, '', 1, '', 1, '', 1, '', 1),
(27, 16, 0, '', 2, 10, 4, '', '[a,b,c,d]', '', '(_relerr < 0.01)+(_0==a)*0.25+(_1==b)*0.25+(_2==c)*0.25+(_3==d)*0.25', 1, '', 1, '', '<h3> Compléter le tableau avec les valeurs suivantes : </h3>\n<table border=\"2\" cellspacing=\"4\" cellpadding=\"4\">\n<thead>\n<tr><th scope=\"col\">\n<h3>Mesure en degrés</h3>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{a1}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{b1}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{c1}</h5>\n</th><th style=\"text-align: center;\" scope=\"col\">\n<h5>{d1}</h5>\n</th></tr>\n</thead>\n<tbody>\n<tr>\n<td>\n<h3>Mesure en radians</h3>\n</td>\n<td style=\"text-align: left;\">\n<h5 style=\"text-align: center;\">   {_0}π      </h5>\n</td>\n<td style=\"text-align: left;\">\n<h5 style=\"text-align: center;\">{_1}π     </h5>\n</td>\n<td style=\"text-align: left;\">\n<h5 style=\"text-align: center;\">{_2}π     </h5>\n</td>\n<td style=\"text-align: left;\">\n<h5 style=\"text-align: center;\">{_3}π     </h5>\n</td>\n</tr>\n</tbody>\n</table>\n<p><br /><br /></p>\n<p> </p>', 1, '', 1, '', 1, '', 1, '', 1),
(28, 17, 0, '', 1, 0, 1, '', '1', '', '_relerr < 0.01', 1, '', 1, '', '', 1, '', 1, '', 1, '', 1, '', 1),
(29, 17, 1, '', 1, 0, 1, '', '1', '', '_relerr < 0.01', 1, '', 1, '', '', 1, '', 1, '', 1, '', 1, '', 1),
(30, 17, 2, '', 1, 0, 1, '', '1', '', '_relerr < 0.01', 1, '', 1, '', '', 1, '', 1, '', 1, '', 1, '', 1),
(31, 18, 0, '', 1, 10, 1, '', 'X0', '', '_relerr < 0.05', 0, '', 1, '', '<p>&nbsp;1. Donner par lecture graphique la valeur de</p>\n<p>\\(\\cos(x)=\\){_0}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(32, 18, 1, '', 1, 10, 1, '', 'Y0', '', '_relerr < 0.05', 1, '', 1, '', '<p>2. Donner par lecture graphique la valeur de</p>\n<p>\\(\\sin(x)=\\){_0}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(33, 18, 2, '', 1, 0, 1, '', '1', '', '_relerr < 0.01', 0, '', 1, '', '', 1, '', 1, '', 1, '', 1, '', 1),
(34, 19, 0, '', 1, 10, 1, '', 'X0', '', '_relerr < 0.05', 1, '', 1, '', '<p> 1. Donner par lecture graphique la valeur de</p>\n<p>\\(\\cos(x)=\\){_0}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(35, 19, 1, '', 1, 10, 1, '', 'Y0', '', '_relerr < 0.05', 1, '', 1, '', '<p>2. Donner par lecture graphique la valeur de</p>\n<p>\\(\\sin(x)=\\){_0}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(36, 19, 2, '', 1, 0, 1, '', '1', '', '_relerr < 0.01', 1, '', 1, '', '', 1, '', 1, '', 1, '', 1, '', 1),
(37, 20, 0, '', 1, 10, 1, '', 'X0', '', '_relerr < 0.05', 1, '', 1, '', '<p> 1. Donner par lecture graphique la valeur de</p>\n<p>\\(\\cos(x)=\\){_0}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(38, 20, 1, '', 1, 10, 1, '', 'Y0', '', '_relerr < 0.05', 1, '', 1, '', '<p>2. Donner par lecture graphique la valeur de</p>\n<p>\\(\\sin(x)=\\){_0}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(39, 20, 2, '', 1, 0, 1, '', '1', '', '_relerr < 0.01', 1, '', 1, '', '', 1, '', 1, '', 1, '', 1, '', 1),
(40, 21, 0, '', 1, 10, 3, '', '[Lagn[0],Lagn[1],Lagn[2]]', '', '_relerr < 0.01', 1, '', 1, '', '<p>Point {Pts[1]} = {_0} <br /> Point {Pts[2]} = {_1} <br />Point {Pts[3]} = {_2}\n<script type=\"text/javascript\" src=\"https://jsxgraph.org/distrib/jsxgraphcore.js\"></script>\n<script type=\"text/javascript\" src=\"https://code.jquery.com/jquery-3.1.0.min.js\"></script>\n</p>\n<div id=\"jxgbox\" class=\"jxgbox\" style=\"width: 400px; height: 400px;\"> </div>\n<p> </p>\n<p>\n<script type=\"text/javascript\">// <![CDATA[\nvar brd = JXG.JSXGraph.initBoard(\'jxgbox\', {\n        boundingbox: [-1.3, 1.3, 1.3, -1.3],\n        axis: false,\n        grid: false,\n        showFullscreen: true,\n        showNavigation:false,\n        showCopyright:false,\n        defaultAxes:  {\n        x: {\n        ticks: {                                        \n               ticksDistance: 0.2,\n               insertTicks: false\n               }\n            },                       \n         y: {\n             ticks: {                    \n                    ticksDistance: 0.2,\n                    insertTicks: false\n                    }\n             }\n       }\n    });\n\n\n//brd.suspendUpdate();\n\n    //var Lx = brd.create(\'segment\', [[-5,0], [5,0]], {strokeColor:\'red\',strokeWidth:2,dash:2});\n    //var Ly = brd.create(\'segment\', [[0,-5], [0,5]], {strokeColor:\'red\',strokeWidth:2,dash:2});\ncirc = brd.create(\'circle\',[[0,0], [1,0]],{fixed:true}); \n\n\n    var i, p2 = [],L=[], alpha, steps = {stp}; \n\n    for (i=0;i<steps;i++) {\n        \n        alpha = 2 * Math.PI / steps; \n        \n        X0= Math.cos(i * alpha);\n        Y0= Math.sin(i * alpha);\n        p2.push(brd.create(\'point\',[X0, Y0], {size:0, withLabel:false}));\n        L.push(brd.create(\'segment\',[[0,0],[X0, Y0]], {withLabel:false,dash:2}));\n       \n    }\n    var p3 = [];\n	//p3[0] = brd.create(\'point\',[{LXp[0]},{LYp[0]}],{size:4,name:\'{Pts[0]}\',Color:\'green\'});\n	p3[1] = brd.create(\'point\',[{LXp[0]},{LYp[0]}],{size:4,name:\'{Pts[1]}\',Color:\'green\'});\n	p3[2] = brd.create(\'point\',[{LXp[1]},{LYp[1]}],{size:4,name:\'{Pts[2]}\',Color:\'green\'});\n	p3[3] = brd.create(\'point\',[{LXp[2]},{LYp[2]}],{size:4,name:\'{Pts[3]}\',Color:\'green\'});\n	//p3[4] = brd.create(\'point\',[{LXp[4]},{LYp[4]}],{size:4,name:\'{Pts[4]}\',Color:\'green\'});\n       \n   \n//brd.unsuspendUpdate();\n// ]]></script>\n</p>', 1, '<p>Par construction le cercle est dévisé en {stp} parties identiques</p>\n<p>chaque part correspond, donc à \\(\\frac{2\\Pi}{{stp}}\\)</p>\n<p>Le point {Pts[1]} a pour image \\({=kp-1}\\times\\frac{2\\Pi}{{stp}}\\) = {Lagn[0]}</p>\n<p>Le point {Pts[2]} a pour image \\(2\\times{=kp-1}\\times\\frac{2\\Pi}{{stp}}\\) = {Lagn[1]}</p>\n<p>Le point {Pts[3]} a pour image \\(3\\times{=kp-1}\\times\\frac{2\\Pi}{{stp}}\\) = {Lagn[2]}</p>', 1, '', 1, '', 1, '', 1),
(41, 22, 0, '', 2, 10, 4, '', '[Lagn[0],LXp[0],Lagn[0],LYp[0]]', '', '(_relerr < 0.05)+(_0==Lagn[0])*0.25+(_1==LXp[0])*0.25+(_2==Lagn[0])*0.25+(_3==LYp[0])*0.25', 1, '', 1, '', '<h5>Coordonnées du point {Pts[0]} sont cos( {_0} ) = {_1} et sin( {_2}) = {_3}</h5>', 1, '', 1, '', 1, '', 1, '', 1),
(42, 22, 1, '', 2, 10, 4, '', '[Lagn[1],LXp[1],Lagn[1],LYp[1]]', '', '(_relerr < 0.05)+(_0==Lagn[1])*0.25+(_1==LXp[1])*0.25+(_2==Lagn[1])*0.25+(_3==LYp[1])*0.25', 1, '', 1, '', '<h5>Coordonnées du point {Pts[1]} sont cos( {_0} ) = {_1}  et  sin( {_2}) = {_3}</h5>', 1, '', 1, '', 1, '', 1, '', 1),
(43, 22, 2, '', 2, 10, 4, '', '[Lagn[2],LXp[2],Lagn[2],LYp[2]]', '', '(_relerr < 0.05)+(_0==Lagn[2])*0.25+(_1==LXp[2])*0.25+(_2==Lagn[2])*0.25+(_3==LYp[2])*0.25', 1, '', 1, '', '<h5>Coordonnées du point {Pts[2]} sont cos( {_0} ) = {_1}  et  sin( {_2}) = {_3}</h5>', 1, '', 1, '', 1, '', 1, '', 1),
(44, 23, 0, '', 2, 10, 4, '', '[Lagn[0],LXp[0],Lagn[0],LYp[0]]', '', '(_relerr < 0.05)+(_0==Lagn[0])*0.25+(_1==LXp[0])*0.25+(_2==Lagn[0])*0.25+(_3==LYp[0])*0.25', 1, '', 1, '', '<h5>Coordonnées du point {Pts[0]} sont cos( {_0} ) = {_1} et sin( {_2}) = {_3}</h5>', 1, '', 1, '', 1, '', 1, '', 1),
(45, 23, 1, '', 2, 10, 4, '', '[Lagn[1],LXp[1],Lagn[1],LYp[1]]', '', '(_relerr < 0.05)+(_0==Lagn[1])*0.25+(_1==LXp[1])*0.25+(_2==Lagn[1])*0.25+(_3==LYp[1])*0.25', 1, '', 1, '', '<h5>Coordonnées du point {Pts[1]} sont cos( {_0} ) = {_1}  et  sin( {_2}) = {_3}</h5>', 1, '', 1, '', 1, '', 1, '', 1),
(46, 23, 2, '', 2, 10, 4, '', '[Lagn[2],LXp[2],Lagn[2],LYp[2]]', '', '(_relerr < 0.05)+(_0==Lagn[2])*0.25+(_1==LXp[2])*0.25+(_2==Lagn[2])*0.25+(_3==LYp[2])*0.25', 1, '', 1, '', '<h5>Coordonnées du point {Pts[2]} sont cos( {_0} ) = {_1}  et  sin( {_2}) = {_3}</h5>', 1, '', 1, '', 1, '', 1, '', 1),
(47, 24, 0, '', 1, 0, 1, '', 'tt2', '', '_err == 0', 1, '', 1, '', '<p>1. Rappeler l\'expression pour calculer la puissance apparente S :</p>\n<p> S= {_0:Chx}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(48, 24, 1, '', 1, 10, 1, '', 'rep1', '', '_relerr < 0.01', 1, 'VA', 1, '', '<p>2. donner la puissance apparente d\'une lampe.</p>\n<p>S={_0} {_u}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(49, 24, 2, '', 1, 10, 1, '', 'rep2', '', '_relerr < 0.01', 1, 'W', 1, '', '<p>3. Quelle est la puissance consommée par l’aspirateur sachant qu’il est parcouru par un courant de {cr} A?</p>\n<p>{_0} {_u}</p>', 1, '', 1, '', 1, '', 1, '', 1);
INSERT INTO `mdl_qtype_formulas_answers` (`id`, `questionid`, `partindex`, `placeholder`, `answermark`, `answertype`, `numbox`, `vars1`, `answer`, `vars2`, `correctness`, `unitpenalty`, `postunit`, `ruleid`, `otherrule`, `subqtext`, `subqtextformat`, `feedback`, `feedbackformat`, `partcorrectfb`, `partcorrectfbformat`, `partpartiallycorrectfb`, `partpartiallycorrectfbformat`, `partincorrectfb`, `partincorrectfbformat`) VALUES
(50, 24, 3, '', 1, 10, 1, '', 'rep3', '', '_relerr < 0.01', 1, 'W', 1, '', '<p>4. Calculer la puissance totale consommée par l’installation.</p>\n<p>{_0} {_u}</p>', 1, '', 1, '', 1, '', 1, '', 1);
INSERT INTO `mdl_qtype_formulas_answers` (`id`, `questionid`, `partindex`, `placeholder`, `answermark`, `answertype`, `numbox`, `vars1`, `answer`, `vars2`, `correctness`, `unitpenalty`, `postunit`, `ruleid`, `otherrule`, `subqtext`, `subqtextformat`, `feedback`, `feedbackformat`, `partcorrectfb`, `partcorrectfbformat`, `partpartiallycorrectfb`, `partpartiallycorrectfbformat`, `partincorrectfb`, `partincorrectfbformat`) VALUES
(51, 25, 0, '', 1, 10, 3, 'x={4:30};', '[aSol,megaSol,phiSol]', '', '_err == 0.00', 1, '', 1, '', '<p>\n    <script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js\"></script>\n    <script type=\"text/javascript\">\n        // <![CDATA[\n        $(window).on(\"load\", function() {\n            $(\".multichoice_answer .r0, .multichoice_answer .r1\").css(\"padding-right\", \"40px\");\n            $(\".multichoice_answer .r0, .multichoice_answer .r1\").css(\"display\", \"inline-block\");\n        });\n        // ]]>\n    </script>\n</p>\n<!-- The answer placeholder is placed in a div element\n       in order to have the green check or red cross mark on the same line as the choices -->\n<h4><span style=\"color: #ff6600;\"><strong><em>1) S’approprier:</em></strong></span></h4>\n<h4><span style=\"color: #ff6600;\"><strong><em>rappel \" Une grandeur sinusoïdale a pour expression générale : \\(f(t) = a \\sin (ω t + φ)\\)\"<br></em></strong></span></h4>\n<p>On vous propose la representation graphique de la tension définie par l\'expression suivante :</p>\n<p>\\(u(t) =a\\sin(\\omega t + \\varphi)\\) <br></p>\n<p><br></p>\n<p>\n  <!-- debut de geogebra-->\n\n\n\n<script src=\"https://cdn.geogebra.org/apps/deployggb.js\"></script>\n\n\n\n</p><div id=\"ggbApplet\"></div>\n\n<script>\nvar parameters = {\n\"id\": \"ggbApplet\",\n\"width\":1276,\n\"height\":688,\n\"showMenuBar\":true,\n\"showAlgebraInput\":true,\n\"showToolBar\":true,\n\"customToolBar\":\"0 39 59 | 1 501 67 , 5 19 , 72 | 2 15 45 , 18 65 , 7 37 | 4 3 8 9 , 13 44 , 58 , 47 | 16 51 64 , 70 | 10 34 53 11 , 24  20 22 , 21 23 | 55 56 57 , 12 | 36 46 , 38 49 50 , 71 | 30 29 54 32 31 33 | 17 26 62 73 , 14 66 68 | 25 52 60 61 | 40 41 42 , 27 28 35 , 6\",\n\"showToolBarHelp\":false,\n\"showResetIcon\":false,\n\"enableLabelDrags\":false,\n\"enableShiftDragZoom\":true,\n\"enableRightClick\":false,\n\"errorDialogsActive\":false,\n\"useBrowserForJS\":false,\n\"allowStyleBar\":false,\n\"preventFocus\":false,\n\"showZoomButtons\":true,\n\"capturingThreshold\":3,\n// add code here to run when the applet starts\n\"appletOnLoad\":function(api){ /* api.evalCommand(\'Segment((1,2),(3,4))\');*/ },\n\"showFullscreenButton\":true,\n\"scale\":1,\n\"disableAutoScale\":false,\n\"allowUpscale\":false,\n\"clickToLoad\":false,\n\"appName\":\"classic\",\n\"showSuggestionButtons\":true,\n\"buttonRounding\":0.7,\n\"buttonShadows\":false,\n\"language\":\"fr\",\n// use this instead of ggbBase64 to load a material from geogebra.org\n// \"material_id\":\"RHYH3UQ8\",\n// use this instead of ggbBase64 to load a .ggb file\n// \"filename\":\"myfile.ggb\",\n\"ggbBase64\":\"[encoded data, 6288 characters]\",\n};\n// is3D=is 3D applet using 3D view, AV=Algebra View, SV=Spreadsheet View, CV=CAS View, EV2=Graphics View 2, CP=Construction Protocol, PC=Probability Calculator DA=Data Analysis, FI=Function Inspector, macro=Macros\nvar views = {\'is3D\': 0,\'AV\': 0,\'SV\': 0,\'CV\': 0,\'EV2\': 0,\'CP\': 0,\'PC\': 0,\'DA\': 0,\'FI\': 0,\'macro\': 0};\nvar applet = new GGBApplet(parameters, \'5.0\', views);\nwindow.onload = function() {applet.inject(\'ggbApplet\')};\napplet.setPreviewImage(\'data:image/png;base64,[encoded data, 84464 characters]\',\'data:image/png;base64,[encoded data, 9144 characters]\',\'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAAhFBMVEUAAABmZmb///9qampsbGz+/v6qqqpvb29ubm6enp6rq6t3d3d1dXVxcXH6+vqCgoJ+fn719fXv7+/n5+eTk5N0dHSXl5eNjY2KioqIiIji4uLe3t6UlJSQkJDr6+vW1tbCwsK5ubmioqK7u7uzs7OmpqaFhYXk5OR7e3vNzc3Jycmvr6833NujAAAAAXRSTlMAQObYZgAAAlhJREFUWMPVmNuW2jAMRS2Ogk0JCZBwvzPATNv//7/SdrqyBoxl2U/dH7DXUeSLYvP/czrPAPAdgG+DTNsCRKAvMJKlQwLIA4BWb2st02tAQ13OFcloSncUR2wnmGKZG5k3gKIBRN8H6YAQ0pGacchHKawEnxo4wadn5vdZSmbr37rpYOcRgjKA4NMzevQtBaF68TBlgogOQ5Wavxww/ta1I4e0iOQBx6poTmwpFtf5BuShnPTuNH2GvmbrPeF7f6jWu1jlLNhi/lb0PpVNbaH6iqW3gH7R+8fk+9BSBG3XEn/Cjv0RHB+RpIR3iubMiBS2QWGn3LSOo64DhEvuqN5XFhERSUrYMT3MHAVgSehRnsCCUCj5ieYMDpa8lRM+dmduERigakHoYbKvnV+4vAuXJJTsVR4An7C+C8dSQj9rfnE+LJ0o9PMT/jYPZonCDfuF1zJR+PZC2E8UNsNX1/MtRVhtxnh1Oiz0y6ZYDxgv1+FCnbC5gkMDslI4PQp7WSecrJ+ulxxhNV1YiOchYoXFumUmEoUc1+Vi3xdvvrqbNcWE0x/MJGGihZPDeASKFQ6lkqtp7UAypfkEwYTV+9ZBN34hlHB/YdYO7lePEdvi776wluLAxQQjYvO7Fx8WKUP2HPSMPV1KBkWzFP8bmUmBe3gYoEyQ9Gcmr8GOEWXB5pFzXkbzTEkZ1J1HXbTc4fzGIOPVRv6A+VXDBOBEXyAjSMfYSOTEy30QgjNRrEBRsOaBOIKb0TAWwmFrtOwgFJvAyuLBCiKUA5PDrp4xs3PsmO1wrpXl8wsCuyePXN5O7AAAAABJRU5ErkJggg==\');\n</script>\n\n\n\n    <!-- fin de geogebra-->\n<p></p>\n<p>Modifier les curseurs et noter leur influence sur la courbe.</p>\n<p>a) influence de a :{_0:At:MCE}</p>\n<p>b) influence de \\(\\omega\\) :{_1:megat:MCE}</p>\n<p>c) influence de \\(\\varphi\\) :{_2:phit:MCE}</p>\n<p>&nbsp;</p>\n<p>&nbsp;</p>\n<p>&nbsp;</p>\n<p>&nbsp;</p>\n<p>&nbsp;</p>', 1, '', 1, '', 1, '', 1, '', 1);
INSERT INTO `mdl_qtype_formulas_answers` (`id`, `questionid`, `partindex`, `placeholder`, `answermark`, `answertype`, `numbox`, `vars1`, `answer`, `vars2`, `correctness`, `unitpenalty`, `postunit`, `ruleid`, `otherrule`, `subqtext`, `subqtextformat`, `feedback`, `feedbackformat`, `partcorrectfb`, `partcorrectfbformat`, `partpartiallycorrectfb`, `partpartiallycorrectfbformat`, `partincorrectfb`, `partincorrectfbformat`) VALUES
(52, 25, 1, '', 1, 10, 1, 'x={4:30};', '1', '', '_err == 0.00', 1, '', 1, '', '<p>c) Donner l\'équation pour déterminer le nombre de paniers <em>\\(x\\) </em>pour lequel les deux tarifs sont égaux.</p>\n<p>{_0} ={_1}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(53, 25, 2, '', 1, 10, 1, '', 'n', '', '_relerr < 0.01', 1, '', 1, '', '<p><span style=\"color: #ff6600;\"><strong><em>2)&nbsp;S’approprier Réaliser: Résolution avec un tableur Geogebra<br></em></strong></span></p>\n<p>&nbsp;</p>\n<p><strong><em>a)Dans Geogebra tableur, Saisissez</em></strong></p>\n<p>_la formule suivante dans la cellule B2&nbsp; =<em>{pr1}</em>×A2</p>\n<p>_la formule suivante dans la cellule C2&nbsp; =<em>{pr1}</em>×A2 +<em>{ad}</em></p>\n<p><em>Complétez, par recopie des formules précédentes, <br></em></p>\n<p><em>les cellules jusqu’à la ligne {_0}&nbsp; ou les tarifs sont identiques</em></p>\n<p><strong><em><br> </em></strong></p>\n<p>&nbsp;</p>\n<div>&nbsp;</div>\n<p>&nbsp;</p>\n<!--<table>\n    <caption></caption>\n    <thead>\n        <tr>\n            <th scope=\"col\"><br></th>\n            <th scope=\"col\">\n\n\n            </th>\n        </tr>\n    </thead>\n    <tbody>\n    </tbody>\n</table><strong><em>\n<br><br></em></strong>\n<p></p><br>\n<p>&nbsp;</p>\n<p>&nbsp;</p>-->', 1, '', 1, '', 1, '', 1, '', 1),
(54, 25, 3, '', 2, 10, 1, 'x={4:30};', '1', '', '_err == 0.00', 1, '', 1, '', '<p><span style=\"color: #ff6600;\"><strong><em>3)&nbsp; Réaliser: Résolution par la méthode algébrique (calcul)<br></em></strong></span></p>\n<p>a)Complétez les étapes de la résolution de l’équation</p>\n<p>&nbsp; \\({equ1}={equ2}\\) ;</p>\n<p>{_0} − {_1} =\\({ad}\\);</p>\n<p>{_2} = \\({ad}\\);</p>\n<p>&nbsp;</p>', 1, '', 1, '', 1, '', 1, '', 1),
(55, 25, 4, '', 1, 10, 1, '', '1', '', '_relerr < 0.01', 1, '', 1, '', '<p>b)La solution est</p>\n<p>\\({equ0}\\) = <span style=\"left: 511.52px; top: 1060.79px; font-size: 16.605px; font-family: monospace; transform: scaleX(0.875354);\">{_0} </span>\\ <span style=\"left: 511.52px; top: 1060.79px; font-size: 16.605px; font-family: monospace; transform: scaleX(0.875354);\">{_1} = {_2}</span></p>\n<p>&nbsp;</p>', 1, '', 1, '', 1, '', 1, '', 1),
(56, 25, 5, '', 1, 10, 1, '', '1', '', '_relerr < 0.01', 1, '', 1, '', '<p><span style=\"color: #ff6600;\"><strong><em>4)&nbsp; Valider Communiquer: Répondez à la problématique<br></em></strong></span></p>\n<p>Les deux tarifs sont égaux pour {_0} paniers commandés.</p>', 1, '', 1, '', 1, '', 1, '', 1),
(57, 26, 0, '', 1, 10, 1, 'n={4:30};', 'tt0', '', '_err == 0.00', 1, '', 1, '', '<p>\n<script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js\"></script>\n<script type=\"text/javascript\">// <![CDATA[\n$(window).on(\"load\", function() {\n        $(\".multichoice_answer .r0, .multichoice_answer .r1\").css(\"padding-right\", \"40px\");\n        $(\".multichoice_answer .r0, .multichoice_answer .r1\").css(\"display\", \"inline-block\");\n    });\n// ]]></script>\n</p>\n<!-- The answer placeholder is placed in a div element\n       in order to have the green check or red cross mark on the same line as the choices -->\n<p><span style=\"color: #ff6600;\"><strong><em>1) S’approprier:</em></strong></span></p>\n<p> Cochez parmi les propositions suivantes celle qui exprime le nombre de points qu’atteindra {joueur1}</p>\n<p>{_0:Cht}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(58, 26, 1, '', 1, 10, 2, 'x={4:30};', '[tt1,tt2]', '', '_relerr < 0.01', 1, '', 1, '', '<p><span style=\"color: #ff6600;\"><strong><em>2) S’approprier:</em></strong></span></p>\n<p>Pour déterminez le nombre de combats que <em><em>{joueur1}</em></em> doit gagner pour atteindre le niveau « conquérant »,</p>\n<p>il faut résoudre {_0:Cht2:MCE} suivante :</p>\n<p>{_1:Cht3}</p>\n<p> </p>', 1, '', 1, '', 1, '', 1, '', 1),
(59, 26, 2, '', 1, 10, 3, '', '[tt3,tt4,tt5]', '', '_relerr < 0.01', 1, '', 1, '', '<p><span style=\"color: #ff6600;\"><strong><em>3)Réaliser: </em></strong><em><span style=\"color: #ff6600;\"><strong><em>Résolution par la méthode algébrique (calcul)</em></strong></span></em><strong><em><br /></em></strong></span></p>\n<p>Pour résoudre  l\'inéquation  suivante {Chv0}. Il faut procéder par étapes,</p>\n<table border=\"0\">\n<tbody>\n<tr>\n<td>L\'étape1 est :</td>\n<td>{_0:Cht4}</td>\n</tr>\n<tr>\n<td>L\'étape2 est :</td>\n<td>{_1:Cht5}</td>\n</tr>\n<tr>\n<td>La solution est :</td>\n<td>{_2:Cht6}</td>\n</tr>\n</tbody>\n</table>', 1, '', 1, '', 1, '', 1, '', 1),
(60, 26, 3, '', 2, 0, 1, 'x={4:30};', 'res', '', '_err == 0.00', 1, '', 1, '', '<p><span style=\"color: #ff6600;\"><strong><em>4)  Réaliser: Résolution graphique (notion d\'intervalle)<br /></em></strong></span></p>\n<p>La représentation graphique de la solution de l\'inéquation  {Chv0}. est</p>\n<p> </p>\n<script type=\"text/javascript\" src=\"https://jsxgraph.org/distrib/jsxgraphcore.js\"></script>\n<div id=\"box1\" class=\"jxgbox\" style=\"width: 500px; height: 100px;\"> </div>\n<script type=\"text/javascript\">// <![CDATA[\nvar brd = JXG.JSXGraph.initBoard(\'box1\', {\n        boundingbox: [{= -rep1 / 3}, 2, {= 3 * rep1}, -1],\n        axis: false,\n        grid: false,\n        showNavigation: false,\n        showCopyright: false\n    });\n    var xaxis = brd.create(\'axis\', [\n        [0, 0],\n        [1, 0]\n    ], {\n        name: \'x\',\n        withLabel: true,\n        strokeWidth: 2,\n        strokeColor: \'#FFC107\',\n        label: {\n            position: \'rt\',\n            offset: [-10, 15]\n        }\n    });\n    xaxis.removeAllTicks();\n    var t = brd.create(\'ticks\', [xaxis, 2], {\n        majorHeight: 6,\n        label: {\n            offset: [-2, -12]\n        },\n        minorTicks: 1,\n        drawZero: true,\n        drawLabels: false\n    });\n    var prep1 = brd.create(\'point\', [{rep1}, 0], {withLabel: true,\n        label: {\n            offset: [-2, -12]\n        },\n        name: \'{rep1}\',\n        size: 1,\n        fontSize: 20,\n        fixed: true,\n        showInfobox: false\n    });\n\n    var int1 = brd.create(\'comb\', [\n        [{rep1}, 0],[{= 10 * rep1}, 0]\n        \n        \n        \n    ], {\n        strokeColor: \'red\',\n        width: 0.3,\n        frequency: 0.3,\n        angle: Math.PI / 4\n    });\n// ]]></script>\n<p> Quelle inégalité correspond à cette représentation graphique</p>\n<p>{_0:aa}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(61, 27, 0, '', 1, 10, 1, 'n={4:30};', 'tt0', '', '_err == 0.00', 1, '', 1, '', '<p>\n<script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js\"></script>\n<script type=\"text/javascript\">// <![CDATA[\n$(window).on(\"load\", function() {\n        $(\".multichoice_answer .r0, .multichoice_answer .r1\").css(\"padding-right\", \"40px\");\n        $(\".multichoice_answer .r0, .multichoice_answer .r1\").css(\"display\", \"inline-block\");\n    });\n// ]]></script>\n</p>\n<!-- The answer placeholder is placed in a div element\n       in order to have the green check or red cross mark on the same line as the choices -->\n<p><span style=\"color: #ff6600;\"><strong><em>1) S’approprier:</em></strong></span></p>\n<p> Cochez parmi les propositions suivantes celle qui exprime le nombre de points qu’atteindra {joueur2}</p>\n<p>{_0:Cht}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(62, 27, 1, '', 1, 10, 2, 'x={4:30};', '[tt1,tt2]', '', '_relerr < 0.01', 1, '', 1, '', '<p><span style=\"color: #ff6600;\"><strong><em>2) S’approprier:</em></strong></span></p>\n<p>Pour déterminez le nombre de combats que <em><em>{joueur2}</em></em> doit gagner pour être un « guerrier invincible »,</p>\n<p>il faut résoudre {_0:Cht2:MCE} suivante :</p>\n<p>{_1:Cht3}</p>\n<p> </p>', 1, '', 1, '', 1, '', 1, '', 1),
(63, 27, 2, '', 1, 10, 3, '', '[tt3,tt4,tt5]', '', '_relerr < 0.01', 1, '', 1, '', '<p><span style=\"color: #ff6600;\"><strong><em>3)Réaliser: </em></strong><em><span style=\"color: #ff6600;\"><strong><em>Résolution par la méthode algébrique (calcul)</em></strong></span></em><strong><em><br /></em></strong></span></p>\n<p>Pour résoudre  l\'inéquation  suivante {Chv0}. Il faut procéder par étapes,</p>\n<table border=\"0\">\n<tbody>\n<tr>\n<td>L\'étape1 est :</td>\n<td>{_0:Cht4}</td>\n</tr>\n<tr>\n<td>L\'étape2 est :</td>\n<td>{_1:Cht5}</td>\n</tr>\n<tr>\n<td>La solution est :</td>\n<td>{_2:Cht6}</td>\n</tr>\n</tbody>\n</table>', 1, '', 1, '', 1, '', 1, '', 1),
(64, 27, 3, '', 2, 0, 1, 'x={4:30};', 'res', '', '_err == 0.00', 1, '', 1, '', '<p><span style=\"color: #ff6600;\"><strong><em>4)  Réaliser: Résolution graphique (notion d\'intervalle)<br /></em></strong></span></p>\n<p>La représentation graphique de la solution de l\'inéquation  {Chv0}. est</p>\n<p> </p>\n<script type=\"text/javascript\" src=\"https://jsxgraph.org/distrib/jsxgraphcore.js\"></script>\n<div id=\"box1\" class=\"jxgbox\" style=\"width: 500px; height: 100px;\"> </div>\n<script type=\"text/javascript\">// <![CDATA[\nvar brd = JXG.JSXGraph.initBoard(\'box1\',{boundingbox:[{=-rep1/3},2,{=3*rep1},-1],			\n					axis:false,\n					grid:false, \n					showNavigation:false, \n					showCopyright:false }); \nvar xaxis = brd.create(\'axis\', [ [0,0],[1,0] ], \n			  { name:\'x\', withLabel: true, strokeWidth:2,	\n				strokeColor:\'#FFC107\', \n				label: {\n					position: \'rt\', \n					offset: [-10, 15]}}); \n					xaxis.removeAllTicks(); \nvar t = brd.create(\'ticks\', [xaxis, 2], \n			  { majorHeight:6, \n				label: {\n					offset: [-2, -12] }, \n					minorTicks: 1, \n					drawZero:true, \n					drawLabels: false\n					}); \nvar prep1=brd.create(\'point\',[{rep1},0],{withLabel:true,label: {offset: [-2, -12] },  \nname:\'{rep1}\',size:1,fontSize:20,fixed:true,showInfobox:false});\n\nvar int1 = brd.create(\'comb\', [[{rep1},0],[{=10*rep1},0]], {strokeColor: \'red\',width: 0.3, frequency: 0.3, angle: Math.PI / 4});\n// ]]></script>\n<p> Quelle inégalité correspond à cette représentation graphique</p>\n<p>{_0:aa}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(65, 28, 0, '', 1, 0, 1, '', 'richtung-1', '', '_relerr < 0.01', 1, '', 1, '', '<p> <span class=\"VIiyi\" lang=\"fr\"><span class=\"JLqJ4b ChMk0b\" data-language-for-alternatives=\"fr\" data-language-to-translate-into=\"en\" data-phrase-index=\"7\" data-number-of-phrases=\"8\"><span>Dans quelle direction va le drone lors de la première partie de son vol?</span></span></span></p>\n<p>In which direction does the drone go on the first part of its flight?</p>\n<p>{_0:answers:MCE}</p>', 1, '', 1, '', 1, '', 1, '', 1),
(66, 28, 1, '', 1, 10, 1, '', 'strecke1', '', '_relerr < 0.01', 1, '', 1, '', '<p> <span class=\"VIiyi\" lang=\"fr\"><span class=\"JLqJ4b ChMk0b\" data-language-for-alternatives=\"fr\" data-language-to-translate-into=\"en\" data-phrase-index=\"9\" data-number-of-phrases=\"10\"><span>Quelle est la distance entre les points A et B ?</span></span></span></p>\n<p>How big is the distance between points A and B?</p>\n<p>{_0} km</p>', 1, '', 1, '', 1, '', 1, '', 1),
(67, 28, 2, '', 1, 10, 1, '', 'strecke2', '', '_relerr < 0.01', 1, '', 1, '', '<p> <span class=\"VIiyi\" lang=\"fr\"><span class=\"JLqJ4b ChMk0b\" data-language-for-alternatives=\"fr\" data-language-to-translate-into=\"en\" data-phrase-index=\"11\" data-number-of-phrases=\"12\"><span>Quelle est la distance entre B et C ?</span></span></span></p>\n<p>How big is the distance between B and C?</p>\n<p>{_0} km</p>', 1, '', 1, '', 1, '', 1, '', 1),
(68, 28, 3, '', 1, 10, 3, '', '[zeith,zeitm,zeits]', '', '_relerr < 0.01', 1, '', 1, '', '<p> <span class=\"VIiyi\" lang=\"fr\"><span class=\"JLqJ4b ChMk0b\" data-language-for-alternatives=\"fr\" data-language-to-translate-into=\"en\" data-phrase-index=\"13\" data-number-of-phrases=\"14\"><span>Combien de temps dure tout le vol lorsque les drones ont besoin de {minuten} minutes pour couvrir une distance de {km} km.</span></span></span></p>\n<p><span class=\"VIiyi\" lang=\"fr\"><span class=\"JLqJ4b ChMk0b\" data-language-for-alternatives=\"fr\" data-language-to-translate-into=\"en\" data-phrase-index=\"13\" data-number-of-phrases=\"14\"><span><span class=\"VIiyi\" lang=\"fr\"><span class=\"JLqJ4b ChMk0b\" data-language-for-alternatives=\"fr\" data-language-to-translate-into=\"en\" data-phrase-index=\"15\" data-number-of-phrases=\"16\"><span>Calculez le temps de vol en heures, minutes et secondes.</span></span></span></span></span></span></p>\n<p>How long does the whole flight take when the drones needs {minuten} minutes to cover a distance of {km} km.</p>\n<p>Calculate the flight time in hours, minutes, and seconds.</p>\n<p>{_0} h {_1} mn {_2} s</p>\n<p> </p>\n<p> </p>', 1, '', 1, '', 1, '', 1, '', 1);

-- --------------------------------------------------------

--
-- Structure de la table `mdl_qtype_formulas_options`
--

