Subject Content

Study notes for the GCE ‘A’ level syllabus

AI prompts to generate web-based quizzes

With a set of questions on the equations of rectilinear motion as an example, the following quiz was generated using javascript by ChatGPT. This type of quiz is not linked to a database unless such integration is done, so the scores are not stored. However, they make for good self-assessment for students at the end of each topic.

The quizzes are easily generated using a set of prompts that are shown below, and hosted on any static page such as github pages or uploaded as a zip file into the Student Learning Space.

The URL for this sample quiz is at In fact, this quiz can be used as a template for quantitative quizzes for other topics as well. All the user has to do is to edit the five fields in each question: the question, correct answer, unit, equation and explanation within the index.html file (right-click to save and edit with plain text editor).

The format of the questions is written in this way:

const problems = [
        question: "A car starts from rest and accelerates uniformly at 2.0 m/s² for 10 seconds. What is the final velocity of the car?",
        correctAnswer: 20,
        unit: "m/s",
        equation: "v = u + at",
        explanation: "Using v = u + at, where u = 0 (starts from rest), a = 2.0 m/s², and t = 10 s, we get v = 0 + 2.0*10 = 20 m/s."
        question: "A car traveling at 15 m/s accelerates uniformly at 3.0 m/s² for 5.0 seconds. What is the final velocity of the car?",
        correctAnswer: 30,
        unit: "m/s",
        equation: "v = u + at",
        explanation: "Using v = u + at, where u = 15 m/s, a = 3.0 m/s², and t = 5.0 s, we get v = 15 + 3.0*5.0 = 30 m/s."

The initial prompts given to ChatGPT were:

  • Create a javascript app to explain problems involving equations of motion, v = u + at, v^2 = u^2 + 2as, s = (u + v)*t /2 and s = ut + 0.5 at^2.
  • Give a word problem based on any one of these equations.
  • Use an input box for the user to key in their answer.
  • Indicate the required unit next to the input box.
  • If the answer is wrong, explain to the user why it is wrong.
  • If the user is correct, add 1 to the score and proceed to another problem.
  • Indicate the scores over the total number of questions attempted.

The follow-up or refinement prompts were:

  • Add 10 different problems to the list.
  • Use “Previous” and “Next” buttons to navigate.
  • When the user returns to a question that was attempted previously, he should not be able to attempt that question again.
  • Add some css styling to make it appealing.
  • Randomise the appearance of the questions and do not repeat questions.
  • Represent the values in 2 significant figures.

The workflow for converting the generated codes to a web app can be found here.

07. Gravitation

[spoiler title=”Gravitational Field” open=”yes”]

  • Newton’s Law of Gravitation states that the gravitational force between two point masses is directly proportional to the product of their masses and inversely proportional to the square of their separation,
    i.e. $$F_G=\dfrac{Gm_1m_2}{r^2}$$ where G is the gravitational constant 6.67 $$\times$$ 10-11 N kg-2m2, m1 and m2 are the masses and r is the distance between them.
  • Gravitational field strength at a point is defined as the gravitational force acting per unit mass placed at that point,
    i.e. $$g=\dfrac{F_G}{m_2}=\dfrac{Gm_1}{r^2}$$ where m1 is the mass of the source of the field.
  • Gravitational potential energy at a point is defined as the work done by an external agent in bringing a body from infinity to that point (without any change in kinetic energy),
    i.e. $$U=-\dfrac{Gm_1m_2}{r}$$
  • Gravitational potential at a point is defined as the work done per unit mass by an external agent in bringing a body from infinity to that point (without any change in kinetic energy),
    i.e. $$V=-\dfrac{Gm_1}{r}$$

gravitation concepts


[spoiler title=”Interplanetary Travel”]

  • Escape speed is the minimum speed at which a body of mass m can be projected from the surface of a planet of mass M so that it reaches an infinite distance from the planet.
  • By conservation of energy,
    initial total energy = final total energy


[spoiler title=”Satellite Motion”]

  • For an object with mass m in orbit,
    Gravitational Force = Centripetal Force
    $$F_G=F_C\\\dfrac{GMm}{r^2}=mr\omega^2\\\dfrac{GM}{r^2}=r(\dfrac{2\pi}{T})^2\\\text{period, }T=2\pi\sqrt{\dfrac{r^3}{GM}}$$
  • $$F_G=F_C\\\dfrac{GMm}{r^2}=\dfrac{mv^2}{r}\\\text{orbital speed, }v=\sqrt{\dfrac{GM}{r}}$$
  • kinetic energy, $$E_k=\dfrac{1}{2}mv^2=\dfrac{GMm}{2r}$$
  • total energy, $$E_T=E_k+U=\dfrac{GMm}{2r}-\dfrac{GMm}{r}=-\dfrac{GMm}{2r}$$


[spoiler title=”Geostationary Satellites”]

  • A geostationary satellite (one that is always above the same point on the Earth) has to be in an equatorial orbit, i.e. the orbit is in the same plane as that of the equator, so that
    • the centripetal force points towards the centre of the plane, and
    • it moves in the same direction of rotation as the Earth, i.e. from west to east.
  • It has a period of 24 h, i.e. same period as the Earth.
  • It orbits with a fixed radius of 4.20 $$\times$$ 10m from the Earth’s centre.


06. Motion in a Circle

[accordions autoHeight=’true’]

[accordion title=”1. Rotational Kinematics”]

  • Angular displacement $$\theta$$ is defined as the angle an object turns with respect to the centre of a circle. $$\theta=\dfrac{s}{r}$$ where s is the arc and r is the radius of the circle.
  • One radian is the angular displacement when the arc length is equal to the radius of the circle.
  • Angular velocity $$\omega$$ is defined as the rate of change of angular displacement. $$\omega=\dfrac{d\theta}{dt}$$
  • For motion in a circle of fixed radius, $$\omega=\dfrac{d\theta}{dt}=\dfrac{d(\dfrac{s}{r})}{dt}=\dfrac{1}{r}\dfrac{ds}{dt}=\dfrac{v}{r}$$. Thus $$v=r\omega$$.
  • Average angular velocity in one cycle. $$\omega=\dfrac{2\pi}{T}=2\pi f$$ where T is the period and f is the frequency.


[accordion title=”2. Centripetal Force”]

  • Centripetal acceleration $$a=\dfrac{v^2}{r} = r\omega^2$$.
  • Centripetal force $$F =\dfrac{mv^2}{r} = mr\omega^2$$.


[accordion title=”3. Uniform Circular Motion”]

For a body in uniform circular motion, there is a change in velocity as the direction of motion is changing. This requires an acceleration that is perpendicular to the velocity and directed towards the centre of circle. This acceleration is provided by a centripetal force. A resultant force acting on a body toward the centre of a circle provides the centripetal force.


[accordion title=”4. Non-Uniform Circular Motion”]

Learn how to solve problems on circular motions of conical pendulum, cyclist, car, aircraft, swinging a pail etc.



05. Work, Energy and Power

[accordions autoHeight=’true’]

[accordion title=”1. Work Done”]

  • Work done W is defined as the product of the force and the displacement made in the direction of the force.
    • For a constant force F acting in same direction as the displacement s: W = F . s
    • If $$\theta$$ is the angle between F and s:  $$W = F\cos\theta\cdot s$$

work done

  • Work done = Area under F-s graph.

work done area under graph


[accordion title=”1.1 Work Done on a Spring”]

  • Work done in stretching a spring = area under F-x graph = ½ Fx = ½ kx2

work done by spring


[accordion title=”1.2 Work Done by a Gas”]

  • Work done by expanding gas = area under P-V graph = $$\int P.dV$$

work done by gas


[accordion title=”2. Kinetic Energy”]

  • Kinetic energy is the energy of a body by virtue of its motion.
  • Derive kinetic energy: W = F.s = ma.s = m ½(v2 – u2)

[accordion title=”3. Potential Energy”]

  • Potential energy is the energy of a body by virtue of it position.
  • Gravitational Potential Energy near Earth’s surface: $$E_p = mgh$$

gravitational potential energy


[accordion title=”4. Conservation of Energy”]

  • The Principle of Conservation of Energy states that energy can neither be created nor destroyed in any process. It can be transformed from one form to another, and transferred from one body to another but the total amount remains constant.
  • The Work-Energy Theorem states that the net work done by external forces acting on a particle is equal to the change in mechanical energy of the particle. i.e. $$W=\Delta E_k+\Delta E_p$$
  • Force $$F =-\dfrac{dU}{dx} = -\text{(gradient of Potential Energy vs displacement graph)}$$


[accordion title=”5. Power”]

  • Power is work done per unit time
  • Instantaneous Power: $$P = \dfrac{dW}{dt} = F \dfrac{ds}{dt} = F v$$,
  • Average Power: $$<P> = \dfrac{W}{t} = F <v>$$


[accordion title=”6. Efficiency”]

  • Efficiency $$\eta= \dfrac{E_{output}}{E_{input}}\times 100 \% \text{ or} \dfrac{P_{output}}{P_{input}}\times100\%$$


17. Electromagnetic Induction

How emf is induced

Electromagnetic Induction and its Effects

To explain a phenomenon that happens due to Electromagnetic Induction, we can use an acronym CFILE to structure our answer.

C stands for cutting of flux or changing of flux linkage. This is necessary for electromagnetic induction to happen. When a wire is pulled through a magnetic field perpendicular to it, it is said to be cutting the field lines. When a magnet enters a coil of wires, we can say that the magnetic flux linkage is increasing.

F stands for Faraday’s law, which states that the induced e.m.f. in a circuit is directly proportional to the rate of change of flux-linkage or to the rate of cutting of magnetic flux.

I stands for an induced current. However, do note that this is only possible if there is a closed circuit or a path for the current to flow.

L stands for Lenz’s law, which states that the direction of the induced e.m.f. is such that it tends to oppose the flux change causing it, and does oppose it if induced current flows

E stands for effect. This is really just stating how an induced current or Lenz’s law causes the phenomenon in question.