tutoring/database/seeders/LessonSeeder.php

243 lines
30 KiB
PHP

<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use App\Models\Lesson;
class LessonSeeder extends Seeder
{
public function run(): void
{
$lessons = [
['chapter_id' => 1, 'title' => 'Index Laws', 'description' => 'Index Laws — multiply, divide, (ab)^m and (a^m)^n, simplifying fractions with powers including fractions', 'order' => 1],
['chapter_id' => 1, 'title' => 'Expanding brackets double', 'description' => 'Expanding brackets double and triple brackets with coefficients of x (x + y)(3x - 4)(2x + 5) etc and (a + b + c)(x + y) graphical interpretation', 'order' => 2],
['chapter_id' => 1, 'title' => 'Factorising', 'description' => 'Factorising', 'order' => 3],
['chapter_id' => 1, 'title' => 'Negative and fractional indices', 'description' => 'Negative and fractional indices', 'order' => 4],
['chapter_id' => 1, 'title' => 'Surds', 'description' => 'Surds', 'order' => 5],
['chapter_id' => 2, 'title' => 'Factorising', 'description' => 'Factorising', 'order' => 1],
['chapter_id' => 2, 'title' => 'Solving in completed', 'description' => 'Solving in completed square form, and purpose of CTS, min, max point', 'order' => 2],
['chapter_id' => 2, 'title' => 'Using quadratic formula', 'description' => 'Using quadratic formula', 'order' => 3],
['chapter_id' => 2, 'title' => 'Complete square to solve', 'description' => 'Complete square to solve', 'order' => 4],
['chapter_id' => 2, 'title' => 'Derive QF', 'description' => 'Derive QF', 'order' => 5],
['chapter_id' => 2, 'title' => 'Turning other expressions', 'description' => 'Turning other expressions into quadratics ax + bx^0.5 +c or ax^6 + bx^3 + c with a substitution', 'order' => 6],
['chapter_id' => 2, 'title' => 'The discriminant', 'description' => 'The discriminant', 'order' => 7],
['chapter_id' => 2, 'title' => 'Applications of quadratics', 'description' => 'Applications of quadratics', 'order' => 8],
['chapter_id' => 16, 'title' => 'Naming functions f,', 'description' => 'Naming functions f, g, h, sin, cos, etc. Rules of functions, vertical line test', 'order' => 1],
['chapter_id' => 16, 'title' => 'Subbing a values in ', 'description' => 'Subbing a values in ', 'order' => 2],
['chapter_id' => 16, 'title' => 'Domain restrictions', 'description' => 'Domain restrictions', 'order' => 3],
['chapter_id' => 16, 'title' => 'Inverse functions', 'description' => 'Inverse functions', 'order' => 4],
['chapter_id' => 16, 'title' => 'Simultaneous equations. Solve', 'description' => 'Simultaneous equations. Solve by \'mickey mouse\'', 'order' => 5],
['chapter_id' => 16, 'title' => 'Sim eqs substitution', 'description' => 'Sim eqs substitution', 'order' => 6],
['chapter_id' => 16, 'title' => 'Sim eqs quadratic + linear and Q+Q', 'description' => 'Sim eqs quadratic + linear and Q+Q', 'order' => 7],
['chapter_id' => 16, 'title' => 'Graphical interpretation of the above', 'description' => 'Graphical interpretation of the above', 'order' => 8],
['chapter_id' => 16, 'title' => 'Inequalities - linear', 'description' => 'Inequalities - linear', 'order' => 9],
['chapter_id' => 16, 'title' => 'Inequatlities - quadratics', 'description' => 'Inequatlities - quadratics', 'order' => 10],
['chapter_id' => 16, 'title' => 'Set notation and', 'description' => 'Set notation and graphical representation of < and =<', 'order' => 11],
['chapter_id' => 4, 'title' => 'Cubic graphs, with', 'description' => 'Cubic graphs, with and without certain terms and shapes of graphs. -ve a', 'order' => 1],
['chapter_id' => 4, 'title' => 'Factorised version', 'description' => 'Factorised version', 'order' => 2],
['chapter_id' => 4, 'title' => 'quartic and quintic, odd and even ', 'description' => 'quartic and quintic, odd and even ', 'order' => 3],
['chapter_id' => 4, 'title' => 'Reciprocal graphs and', 'description' => 'Reciprocal graphs and inverse square y = k/x where k can vary', 'order' => 4],
['chapter_id' => 4, 'title' => 'Solutions where f(x)', 'description' => 'Solutions where f(x) = g(x) and f(x) - g(x) = 0', 'order' => 5],
['chapter_id' => 4, 'title' => 'Identifying how many', 'description' => 'Identifying how many solutions exist from clues such as squares, odd/even functions', 'order' => 6],
['chapter_id' => 4, 'title' => 'Transforming graphs', 'description' => 'Transforming graphs', 'order' => 7],
['chapter_id' => 5, 'title' => 'Finding a midpoint of 2 points', 'description' => 'Finding a midpoint of 2 points', 'order' => 1],
['chapter_id' => 5, 'title' => 'Determining gradient from two points', 'description' => 'Determining gradient from two points', 'order' => 2],
['chapter_id' => 5, 'title' => 'Expressing the gradient', 'description' => 'Expressing the gradient in the form y=mx+c', 'order' => 3],
['chapter_id' => 5, 'title' => 'One point known,', 'description' => 'One point known, one point unknown with gradient equation to form y=mx+c', 'order' => 4],
['chapter_id' => 5, 'title' => 'Parallel and perpendicular lines', 'description' => 'Parallel and perpendicular lines', 'order' => 5],
['chapter_id' => 5, 'title' => 'Length of line', 'description' => 'Length of line section and angle. Area underneath', 'order' => 6],
['chapter_id' => 5, 'title' => 'Modelling with straight lines', 'description' => 'Modelling with straight lines', 'order' => 7],
['chapter_id' => 5, 'title' => 'Distinction between perfect', 'description' => 'Distinction between perfect straight line relationships and data', 'order' => 8],
['chapter_id' => 5, 'title' => 'Find perpendicular bisector', 'description' => 'Find perpendicular bisector of two points', 'order' => 9],
['chapter_id' => 6, 'title' => 'Equation of a', 'description' => 'Equation of a circle centred at origin and then transform in x and y. Demonstrate why the equation is what it is', 'order' => 1],
['chapter_id' => 6, 'title' => 'Writing equation from', 'description' => 'Writing equation from centre and radius and writing centre and radius from equation', 'order' => 2],
['chapter_id' => 6, 'title' => 'Find equation from centre and one point', 'description' => 'Find equation from centre and one point', 'order' => 3],
['chapter_id' => 6, 'title' => 'Show that circle', 'description' => 'Show that circle is \'completed square\' version and move between the two', 'order' => 4],
['chapter_id' => 6, 'title' => 'Intersection of straight', 'description' => 'Intersection of straight line and circle, relate to discriminant', 'order' => 5],
['chapter_id' => 6, 'title' => 'Find equation of a tangent at a point', 'description' => 'Find equation of a tangent at a point', 'order' => 6],
['chapter_id' => 6, 'title' => 'Find a circle', 'description' => 'Find a circle from a centre point and a tangent line', 'order' => 7],
['chapter_id' => 6, 'title' => 'Find equation of', 'description' => 'Find equation of a circle from 3 points on the circumfrence and special case of a right angle triangle', 'order' => 8],
['chapter_id' => 7, 'title' => 'Algebraic fractions, simplifying', 'description' => 'Algebraic fractions, simplifying and adding/subtracting', 'order' => 1],
['chapter_id' => 7, 'title' => 'Dividing polynomials both', 'description' => 'Dividing polynomials both with factored versions and where there is a remainder. Show the fraction as a mixed fractioin', 'order' => 2],
['chapter_id' => 7, 'title' => 'Factor Theorem', 'description' => 'Factor Theorem', 'order' => 3],
['chapter_id' => 7, 'title' => 'Remainder Theorem', 'description' => 'Remainder Theorem', 'order' => 4],
['chapter_id' => 7, 'title' => 'Proof. Lots of examples', 'description' => 'Proof. Lots of examples', 'order' => 5],
['chapter_id' => 7, 'title' => 'Proof by exhaustion', 'description' => 'Proof by exhaustion', 'order' => 6],
['chapter_id' => 7, 'title' => 'Proof by counter-example', 'description' => 'Proof by counter-example', 'order' => 7],
['chapter_id' => 8, 'title' => 'Expand brackets reminder', 'description' => 'Expand brackets reminder', 'order' => 1],
['chapter_id' => 8, 'title' => 'Pascal\'s triangle and', 'description' => 'Pascal\'s triangle and application to (x+1)^n', 'order' => 2],
['chapter_id' => 8, 'title' => 'Factorial notation', 'description' => 'Factorial notation', 'order' => 3],
['chapter_id' => 8, 'title' => 'Combination and permutation', 'description' => 'Combination and permutation', 'order' => 4],
['chapter_id' => 8, 'title' => 'Formula for binomial expansion', 'description' => 'Formula for binomial expansion', 'order' => 5],
['chapter_id' => 8, 'title' => 'Binomial problem questions', 'description' => 'Binomial problem questions', 'order' => 6],
['chapter_id' => 8, 'title' => 'Approximation with the', 'description' => 'Approximation with the binomial expansion', 'order' => 7],
['chapter_id' => 8, 'title' => 'Convergence vs divergence', 'description' => 'Convergence vs divergence', 'order' => 8],
['chapter_id' => 8, 'title' => 'questions inspired by the book', 'description' => 'questions inspired by the book', 'order' => 9],
['chapter_id' => 9, 'title' => 'Sine rule', 'description' => 'Sine rule', 'order' => 1],
['chapter_id' => 9, 'title' => 'Cosine rule', 'description' => 'Cosine rule', 'order' => 2],
['chapter_id' => 9, 'title' => 'Sine and Cosine rule with bearings', 'description' => 'Sine and Cosine rule with bearings', 'order' => 3],
['chapter_id' => 9, 'title' => 'Area of triangle 0.5absinC', 'description' => 'Area of triangle 0.5absinC', 'order' => 4],
['chapter_id' => 9, 'title' => 'Graphs of sin, cos and tan', 'description' => 'Graphs of sin, cos and tan', 'order' => 5],
['chapter_id' => 9, 'title' => 'Transforming the graphs', 'description' => 'Transforming the graphs', 'order' => 6],
['chapter_id' => 10, 'title' => 'Show how Sine,', 'description' => 'Show how Sine, Cosine, and Tangent come to be from the unit circle', 'order' => 1],
['chapter_id' => 10, 'title' => 'Drawing graphs to', 'description' => 'Drawing graphs to determine sign of values', 'order' => 2],
['chapter_id' => 10, 'title' => 'Exact values of sin, cos and tan', 'description' => 'Exact values of sin, cos and tan', 'order' => 3],
['chapter_id' => 10, 'title' => 'Use exact values', 'description' => 'Use exact values to determine exact values at other angles', 'order' => 4],
['chapter_id' => 10, 'title' => 'tan = sin/cos', 'description' => 'tan = sin/cos', 'order' => 5],
['chapter_id' => 10, 'title' => 'Pythagorean identity', 'description' => 'Pythagorean identity', 'order' => 6],
['chapter_id' => 10, 'title' => 'Simplifying/manipulating trig equations', 'description' => 'Simplifying/manipulating trig equations', 'order' => 7],
['chapter_id' => 10, 'title' => 'Solving trig equation', 'description' => 'Solving trig equation in certain range and How calculator gives inverse values ', 'order' => 8],
['chapter_id' => 10, 'title' => 'Solving trig equation', 'description' => 'Solving trig equation when graph has been transformed with enlargements or translations', 'order' => 9],
['chapter_id' => 10, 'title' => 'Quadratics with trig', 'description' => 'Quadratics with trig equations built in. As touched on in quadratics', 'order' => 10],
['chapter_id' => 26, 'title' => 'Combining vectors', 'description' => 'Combining vectors', 'order' => 1],
['chapter_id' => 26, 'title' => 'Parallel vectors', 'description' => 'Parallel vectors', 'order' => 2],
['chapter_id' => 26, 'title' => 'Multiples of vectors', 'description' => 'Multiples of vectors', 'order' => 3],
['chapter_id' => 26, 'title' => 'pi + qj notation', 'description' => 'pi + qj notation', 'order' => 4],
['chapter_id' => 26, 'title' => 'Magnitude and Direction', 'description' => 'Magnitude and Direction', 'order' => 5],
['chapter_id' => 26, 'title' => 'Positiono vectors', 'description' => 'Positiono vectors', 'order' => 6],
['chapter_id' => 26, 'title' => 'Geometric problems (see 11.5)', 'description' => 'Geometric problems (see 11.5)', 'order' => 7],
['chapter_id' => 26, 'title' => 'Modelling with vectors', 'description' => 'Modelling with vectors', 'order' => 8],
['chapter_id' => 23, 'title' => 'Gradient of tangent to curve', 'description' => 'Gradient of tangent to curve', 'order' => 1],
['chapter_id' => 23, 'title' => 'Estimating tangent from chord', 'description' => 'Estimating tangent from chord', 'order' => 2],
['chapter_id' => 23, 'title' => 'Diff from first principles', 'description' => 'Diff from first principles', 'order' => 3],
['chapter_id' => 23, 'title' => 'Leibniz and Newton\'s notation', 'description' => 'Leibniz and Newton\'s notation', 'order' => 4],
['chapter_id' => 23, 'title' => 'Differentiating x^n', 'description' => 'Differentiating x^n', 'order' => 5],
['chapter_id' => 23, 'title' => 'FTOC', 'description' => 'FTOC', 'order' => 6],
['chapter_id' => 23, 'title' => 'Differentiating polynomials', 'description' => 'Differentiating polynomials', 'order' => 7],
['chapter_id' => 23, 'title' => 'Differentiating non-integer powers', 'description' => 'Differentiating non-integer powers', 'order' => 8],
['chapter_id' => 23, 'title' => 'Gradients of tangents and normals', 'description' => 'Gradients of tangents and normals', 'order' => 9],
['chapter_id' => 23, 'title' => 'Find equation of', 'description' => 'Find equation of tangent at a particular point', 'order' => 10],
['chapter_id' => 23, 'title' => 'Increasing and decreasing', 'description' => 'Increasing and decreasing functions and relation to derivative', 'order' => 11],
['chapter_id' => 23, 'title' => 'Second derivative notation ', 'description' => 'Second derivative notation ', 'order' => 12],
['chapter_id' => 23, 'title' => 'Stationary points and', 'description' => 'Stationary points and their nature from first and second derivatives', 'order' => 13],
['chapter_id' => 23, 'title' => 'Sketching derivative functions', 'description' => 'Sketching derivative functions', 'order' => 14],
['chapter_id' => 23, 'title' => 'Modelling with differentiation ', 'description' => 'Modelling with differentiation ', 'order' => 15],
['chapter_id' => 13, 'title' => 'Introduction: Areas under curves', 'description' => 'Introduction: Areas under curves', 'order' => 1],
['chapter_id' => 13, 'title' => 'Process of integration', 'description' => 'Process of integration -> backwards differentiation including constant of int Reminder of FTOC and application here', 'order' => 2],
['chapter_id' => 13, 'title' => 'Notation of indefinite integrals', 'description' => 'Notation of indefinite integrals', 'order' => 3],
['chapter_id' => 13, 'title' => 'Determining the constant of integration', 'description' => 'Determining the constant of integration', 'order' => 4],
['chapter_id' => 13, 'title' => 'Definite integrals', 'description' => 'Definite integrals', 'order' => 5],
['chapter_id' => 13, 'title' => 'Proof', 'description' => 'Proof', 'order' => 6],
['chapter_id' => 13, 'title' => 'Areas between curves and lines', 'description' => 'Areas between curves and lines', 'order' => 7],
['chapter_id' => 13, 'title' => 'Areas between curves and curves', 'description' => 'Areas between curves and curves', 'order' => 8],
['chapter_id' => 14, 'title' => 'Definition of exponential', 'description' => 'Definition of exponential functions and their graphs', 'order' => 1],
['chapter_id' => 14, 'title' => 'Where does \'e\'', 'description' => 'Where does \'e\' come from and the graph of y = e^x', 'order' => 2],
['chapter_id' => 14, 'title' => 'derivative of e^x and e^kx', 'description' => 'derivative of e^x and e^kx', 'order' => 3],
['chapter_id' => 14, 'title' => 'Modelling with exponentials', 'description' => 'Modelling with exponentials', 'order' => 4],
['chapter_id' => 14, 'title' => 'Logs as inverse', 'description' => 'Logs as inverse functions of exponentials and their notation', 'order' => 5],
['chapter_id' => 14, 'title' => 'Laws of logs', 'description' => 'Laws of logs', 'order' => 6],
['chapter_id' => 14, 'title' => 'Solving equations involving logs', 'description' => 'Solving equations involving logs', 'order' => 7],
['chapter_id' => 14, 'title' => 'Solving equations using logs', 'description' => 'Solving equations using logs', 'order' => 8],
['chapter_id' => 14, 'title' => 'The natural logarithm', 'description' => 'The natural logarithm', 'order' => 9],
['chapter_id' => 14, 'title' => 'Using logs to', 'description' => 'Using logs to represent non-linear data in a linear way', 'order' => 10],
['chapter_id' => 15, 'title' => 'Proof by contradiction', 'description' => 'Proof by contradiction', 'order' => 1],
['chapter_id' => 15, 'title' => 'Recap of fractioni addition', 'description' => 'Recap of fractioni addition', 'order' => 2],
['chapter_id' => 15, 'title' => 'Partial fractions intro', 'description' => 'Partial fractions intro', 'order' => 3],
['chapter_id' => 15, 'title' => 'Partial fractions with repeated factors', 'description' => 'Partial fractions with repeated factors', 'order' => 4],
['chapter_id' => 15, 'title' => 'Application of PFs', 'description' => 'Application of PFs with algebraic division', 'order' => 5],
['chapter_id' => 16, 'title' => 'Modulus function', 'description' => 'Modulus function', 'order' => 1],
['chapter_id' => 16, 'title' => 'Graphing functions with the modulus', 'description' => 'Graphing functions with the modulus', 'order' => 2],
['chapter_id' => 16, 'title' => 'Solving equations with', 'description' => 'Solving equations with modulus function (points of intersection)', 'order' => 3],
['chapter_id' => 16, 'title' => 'Mappings and recap', 'description' => 'Mappings and recap of types of functions (1-1, many-1 etc) discontinuities', 'order' => 4],
['chapter_id' => 16, 'title' => 'piecewise functions', 'description' => 'piecewise functions', 'order' => 5],
['chapter_id' => 16, 'title' => 'Composition of functions', 'description' => 'Composition of functions', 'order' => 6],
['chapter_id' => 16, 'title' => 'Inverse functions', 'description' => 'Inverse functions', 'order' => 7],
['chapter_id' => 16, 'title' => 'recap of graph', 'description' => 'recap of graph transforms and combinations of them', 'order' => 8],
['chapter_id' => 16, 'title' => 'Combining modulus and', 'description' => 'Combining modulus and graph transformations', 'order' => 9],
['chapter_id' => 17, 'title' => 'Index notation', 'description' => 'Index notation', 'order' => 1],
['chapter_id' => 17, 'title' => 'Arithmetic sequences', 'description' => 'Arithmetic sequences', 'order' => 2],
['chapter_id' => 17, 'title' => 'AS equations', 'description' => 'AS equations', 'order' => 3],
['chapter_id' => 17, 'title' => 'Geometric sequences', 'description' => 'Geometric sequences', 'order' => 4],
['chapter_id' => 17, 'title' => 'GS equations', 'description' => 'GS equations', 'order' => 5],
['chapter_id' => 17, 'title' => 'Sum to infinity', 'description' => 'Sum to infinity', 'order' => 6],
['chapter_id' => 17, 'title' => 'Divergence and convergence', 'description' => 'Divergence and convergence', 'order' => 7],
['chapter_id' => 17, 'title' => 'Sigma notation', 'description' => 'Sigma notation', 'order' => 8],
['chapter_id' => 17, 'title' => 'Recurrence relations', 'description' => 'Recurrence relations', 'order' => 9],
['chapter_id' => 17, 'title' => 'Modelling with series', 'description' => 'Modelling with series', 'order' => 10],
['chapter_id' => 18, 'title' => 'Recap of year 1', 'description' => 'Recap of year 1', 'order' => 1],
['chapter_id' => 18, 'title' => 'New binomial equation', 'description' => 'New binomial equation and approximation with it', 'order' => 2],
['chapter_id' => 18, 'title' => 'Non-integer power examples', 'description' => 'Non-integer power examples', 'order' => 3],
['chapter_id' => 18, 'title' => 'Valid range of expansion', 'description' => 'Valid range of expansion', 'order' => 4],
['chapter_id' => 18, 'title' => 'Partial fractions with expansions', 'description' => 'Partial fractions with expansions', 'order' => 5],
['chapter_id' => 18, 'title' => 'Application to approximating', 'description' => 'Application to approximating actual values', 'order' => 6],
['chapter_id' => 19, 'title' => 'Definition of a', 'description' => 'Definition of a radian and derivation of 2pir and pirsqr', 'order' => 1],
['chapter_id' => 19, 'title' => 'Converting radians to degrees and back', 'description' => 'Converting radians to degrees and back', 'order' => 2],
['chapter_id' => 19, 'title' => 'Trig functions with radians', 'description' => 'Trig functions with radians', 'order' => 3],
['chapter_id' => 19, 'title' => 'Areas of sectors and segments', 'description' => 'Areas of sectors and segments', 'order' => 4],
['chapter_id' => 19, 'title' => 'Lengths of arcs', 'description' => 'Lengths of arcs', 'order' => 5],
['chapter_id' => 19, 'title' => 'Solutions of trig cuntions in radians', 'description' => 'Solutions of trig cuntions in radians', 'order' => 6],
['chapter_id' => 19, 'title' => 'Small angle approximations', 'description' => 'Small angle approximations', 'order' => 7],
['chapter_id' => 20, 'title' => 'sec, cosec cot graphs and valuesd', 'description' => 'sec, cosec cot graphs and valuesd', 'order' => 1],
['chapter_id' => 20, 'title' => 'Transformations of new graphs', 'description' => 'Transformations of new graphs', 'order' => 2],
['chapter_id' => 20, 'title' => 'Proving trig equations', 'description' => 'Proving trig equations', 'order' => 3],
['chapter_id' => 20, 'title' => 'New trig IDs', 'description' => 'New trig IDs', 'order' => 4],
['chapter_id' => 20, 'title' => 'Converting exact values', 'description' => 'Converting exact values between the 6 trig functions', 'order' => 5],
['chapter_id' => 20, 'title' => 'Inverse trig functions', 'description' => 'Inverse trig functions and limitations with graphs', 'order' => 6],
['chapter_id' => 20, 'title' => 'inverse functions as roots of 1-x etc', 'description' => 'inverse functions as roots of 1-x etc', 'order' => 7],
['chapter_id' => 21, 'title' => 'Introduction to compound angle formulae', 'description' => 'Introduction to compound angle formulae', 'order' => 1],
['chapter_id' => 21, 'title' => 'Proof of them', 'description' => 'Proof of them', 'order' => 2],
['chapter_id' => 21, 'title' => 'Exact values of', 'description' => 'Exact values of new values in trig functions', 'order' => 3],
['chapter_id' => 21, 'title' => 'Double angle formulae', 'description' => 'Double angle formulae', 'order' => 4],
['chapter_id' => 21, 'title' => 'Simplify acosx +- bsinx', 'description' => 'Simplify acosx +- bsinx', 'order' => 5],
['chapter_id' => 21, 'title' => 'Prove more trig IDs', 'description' => 'Prove more trig IDs', 'order' => 6],
['chapter_id' => 21, 'title' => 'Combining double angle', 'description' => 'Combining double angle with pythagorean ID', 'order' => 7],
['chapter_id' => 21, 'title' => 'Modelling examples', 'description' => 'Modelling examples', 'order' => 8],
['chapter_id' => 22, 'title' => 'Introduction to ideas', 'description' => 'Introduction to ideas', 'order' => 1],
['chapter_id' => 22, 'title' => 'Converting parametric to Cartesian', 'description' => 'Converting parametric to Cartesian', 'order' => 2],
['chapter_id' => 22, 'title' => 'Trig IDs in parametric equations', 'description' => 'Trig IDs in parametric equations', 'order' => 3],
['chapter_id' => 22, 'title' => 'Sketching curves from parametric EQs', 'description' => 'Sketching curves from parametric EQs', 'order' => 4],
['chapter_id' => 22, 'title' => 'Points of intersection', 'description' => 'Points of intersection with co-ordinate axes', 'order' => 5],
['chapter_id' => 22, 'title' => 'Start and end', 'description' => 'Start and end points of parametrically defined curves', 'order' => 6],
['chapter_id' => 22, 'title' => 'Modelling', 'description' => 'Modelling', 'order' => 7],
['chapter_id' => 23, 'title' => 'Differentiating trig functions', 'description' => 'Differentiating trig functions', 'order' => 1],
['chapter_id' => 23, 'title' => 'Differentiating logs and exponentials', 'description' => 'Differentiating logs and exponentials', 'order' => 2],
['chapter_id' => 23, 'title' => 'Chain Rule', 'description' => 'Chain Rule', 'order' => 3],
['chapter_id' => 23, 'title' => 'Product Rule', 'description' => 'Product Rule', 'order' => 4],
['chapter_id' => 23, 'title' => 'Quotient Rules', 'description' => 'Quotient Rules', 'order' => 5],
['chapter_id' => 23, 'title' => 'Differentiating trig functions', 'description' => 'Differentiating trig functions', 'order' => 6],
['chapter_id' => 23, 'title' => 'Differentiating inverse trig functions', 'description' => 'Differentiating inverse trig functions', 'order' => 7],
['chapter_id' => 23, 'title' => 'Parametric differentiation using', 'description' => 'Parametric differentiation using chain rule', 'order' => 8],
['chapter_id' => 23, 'title' => 'Implicit differentiation', 'description' => 'Implicit differentiation', 'order' => 9],
['chapter_id' => 23, 'title' => 'Convex and Concave', 'description' => 'Convex and Concave regions and inflection points', 'order' => 10],
['chapter_id' => 23, 'title' => 'Rates of change and modelling', 'description' => 'Rates of change and modelling', 'order' => 11],
['chapter_id' => 24, 'title' => 'Recap roots of', 'description' => 'Recap roots of functions and their location for polynomial functions. Being careful with locations', 'order' => 1],
['chapter_id' => 24, 'title' => 'Positive and negative', 'description' => 'Positive and negative values either side of a root', 'order' => 2],
['chapter_id' => 24, 'title' => 'Iteration staircase', 'description' => 'Iteration staircase', 'order' => 3],
['chapter_id' => 24, 'title' => 'Iteration spiders web', 'description' => 'Iteration spiders web', 'order' => 4],
['chapter_id' => 24, 'title' => 'Newton Raphson', 'description' => 'Newton Raphson', 'order' => 5],
['chapter_id' => 24, 'title' => 'Modelliing', 'description' => 'Modelliing', 'order' => 6],
['chapter_id' => 25, 'title' => 'Integration table', 'description' => 'Integration table', 'order' => 1],
['chapter_id' => 25, 'title' => 'Reverse Chain rule', 'description' => 'Reverse Chain rule', 'order' => 2],
['chapter_id' => 25, 'title' => 'Subbing trig functions', 'description' => 'Subbing trig functions', 'order' => 3],
['chapter_id' => 25, 'title' => 'Integration by substitution', 'description' => 'Integration by substitution', 'order' => 4],
['chapter_id' => 25, 'title' => 'Integration by Parts', 'description' => 'Integration by Parts', 'order' => 5],
['chapter_id' => 25, 'title' => 'Partial fractions with integration', 'description' => 'Partial fractions with integration', 'order' => 6],
['chapter_id' => 25, 'title' => 'Recap of areas and new examples', 'description' => 'Recap of areas and new examples', 'order' => 7],
['chapter_id' => 25, 'title' => 'Trapezium rule', 'description' => 'Trapezium rule', 'order' => 8],
['chapter_id' => 25, 'title' => 'Differential equations', 'description' => 'Differential equations', 'order' => 9],
['chapter_id' => 25, 'title' => 'Modelling with DEs', 'description' => 'Modelling with DEs', 'order' => 10],
['chapter_id' => 26, 'title' => '3D co-ordinates', 'description' => '3D co-ordinates', 'order' => 1],
['chapter_id' => 26, 'title' => '3D Pythagoras', 'description' => '3D Pythagoras', 'order' => 2],
['chapter_id' => 26, 'title' => 'ikj notation of', 'description' => 'ikj notation of vectors and the unit vector', 'order' => 3],
['chapter_id' => 26, 'title' => 'Magnitude of vectors', 'description' => 'Magnitude of vectors', 'order' => 4],
['chapter_id' => 26, 'title' => 'Unit vector along a vector', 'description' => 'Unit vector along a vector', 'order' => 5],
['chapter_id' => 26, 'title' => 'Applying to geometric shapes', 'description' => 'Applying to geometric shapes', 'order' => 6],
['chapter_id' => 26, 'title' => 'Connection to Mech', 'description' => 'Connection to Mech', 'order' => 7],
];
foreach ($lessons as $lesson) {
Lesson::updateOrCreate(
[
'chapter_id' => $lesson['chapter_id'],
'title' => $lesson['title'],
],
[
'description' => $lesson['description'],
'order' => $lesson['order'],
]
);
}
}
}