Try to answer the following questions here:

• What is this question used for?
• What does this question assess?
• What does the student have to do?
• How is the question randomised?
• Are there any implementation details that editors should be aware of? Find the equation of a line through two points - positive gradient by Bradley Bush

### Feedback

From users who are members of Transition to university :

### History

#### Checkpoint description

Describe what's changed since the last checkpoint.

#### Chris Graham5 years ago

Gave some feedback: Ready to use

#### Chris Graham commented 5 years ago

I've changed some of the simplification rules in the advice, corrected the calculation for the gradient and other inconsistencies with regards to the order of points A and B. Fixed some typos.

Published this.

#### Aiden McCall5 years ago

Saved a checkpoint:

Edited the wording and equations in main and advice.

#### Bradley Bush5 years, 1 month ago

Gave some feedback: Needs to be tested

#### Bradley Bush commented 5 years, 1 month ago

Thank you for the follow up advice, I'm hoping it's even better now

#### Chris Graham5 years, 1 month ago

Gave some feedback: Has some problems

#### Chris Graham commented 5 years, 1 month ago

Much better!

One more thing... points A and B should be labelled the other way round. Let's give your question the context of driving in a car: if you travel from A to B then, as it stands, the gradient is positive. Related to this, you do not give any indication where the equation for the gradient comes from. You could say something like, the gradient is the ratio of the vertical change ($y2-y1$) to the horizontal change ($x2-x1$).

#### Bradley Bush5 years, 1 month ago

Gave some feedback: Needs to be tested

#### Chris Graham commented 5 years, 1 month ago

Brad, why not split this into two parts, the first asking for the gradient and intercept and the second the equation. The student can then see if they are on the right lines. You could also then use adaptive marking (ro replace m and c) in the second part.

#### Bradley Bush commented 5 years, 1 month ago

Thank you for the feedback. I have acted on all the points you made there and I will apply these to the other 3 versions of this question too.

#### Chris Graham commented 5 years, 1 month ago

Good work with the adaptive axis ranges, however in some cases the x axis is objectionably at edge of the board, as the maximum of the y range evaluates to 0. Use the javascript function Math.max() to set a minimum range displayed above the axis, e.g. Math.max(yb+4,2) would set the 'y-max' to a minimum of 2.

You could use a similar method to check that the intercept is on the board (it currently isn't always).

Check your spelling, e.g. "coordiantes" and that your sentences read fluidly, e.g. "find the straight line equation of the line running through these points" can be written "find the equation of the straight line running through these points" and so on.

#### Chris Graham5 years, 1 month ago

Gave some feedback: Has some problems

#### Bradley Bush5 years, 1 month ago

Gave some feedback: Needs to be tested

#### Bradley Bush5 years, 1 month ago

Created this as a copy of Find the equation of a line through two points - positive gradient.
Find the equation of a line through two points - positive gradient Ready to use Bradley Bush 03/02/2021 13:59
Find the equation of a line through two points - negative gradient Ready to use Bradley Bush 03/02/2021 13:59
Find the equation of a line through two points - zero gradient Ready to use Bradley Bush 03/02/2021 13:59
Straight line equation application: measuring sunflower height Ready to use Bradley Bush 03/02/2021 13:59
Christopher's copy of Finding a line equation through two points +ve gradient JSX draft Chris Graham 03/02/2021 13:59
Louise's copy of Find the equation of a line through two points - positive gradient draft Louise Lynch 26/01/2022 19:48
Find the equation of a line through two points - positive gradient draft Mark Hodds 03/02/2021 13:59
Ida's copy of Find the equation of a line through two points - positive gradient draft Ida Landgärds 03/02/2021 13:59
Spørsmål 1 draft Ida Landgärds 03/02/2021 13:59
Marte's copy of Find the equation of a line through two points - positive gradient draft Marte Bråtalien 03/02/2021 13:59
Thomas's copy of Find the equation of a line through two points - negative gradient draft Thomas Strasser 03/02/2021 13:59
Equation de droite Needs to be tested Alain Virouleau 30/05/2019 18:52
Linear Equations - Find the equation of a line through two points draft Paul Hancock 03/02/2021 13:59
Find the equation of a line through two points - positive gradient [L3] Needs to be tested Matthew James Sykes 03/02/2021 13:59
Beer Lambert Law Doesn't work Matthew James Sykes 03/02/2021 13:59
Beer Lambert Law Working Back up Should not be used Matthew James Sykes 03/02/2021 13:59
Joël's copy of Find the equation of a line through two points - positive gradient draft Jo Cohen 03/02/2021 13:59
Beer Lambert Law Working Back up Should not be used Matthew James Sykes 03/02/2021 13:59
Ida's copy of Spørsmål 1 draft Ida Landgärds 03/02/2021 13:59
David's copy of Straight line equation application: measuring sunflower height draft David Rickard 03/02/2021 13:59
equation of a line through two points draft heike hoffmann 03/02/2021 13:59
Equation of a line through two points - positive gradient Ready to use Angharad Thomas 03/02/2021 13:59
Luis's copy of Find the equation of a line through two points - zero gradient draft Luis Hernandez 03/02/2021 13:59
Simon's copy of Equation of a line through two points - positive gradient draft Simon Thomas 03/02/2021 13:59
Maria's copy of Simon's copy of Equation of a line through two points - positive gradient draft Maria Aneiros 03/02/2021 13:59
Maria's copy of Find the equation of a line through two points - negative gradient draft Maria Aneiros 03/02/2021 13:59
Heather's copy of Find the equation of a line through two points - positive gradient draft Heather Driscoll 03/02/2021 13:59
Equation of a line through two points - positive gradient draft Heather Driscoll 03/02/2021 13:59
Equation of a line through two points draft Philip Charlton 03/02/2021 13:59
Find the equation of a line through two points - zero gradient draft Xiaodan Leng 03/02/2021 13:59
Equation of a line through two points - positive gradient draft Xiaodan Leng 03/02/2021 13:59
Straight line equation application: measuring sunflower height draft Adelle Colbourn 03/02/2021 13:59
Paul's copy of Straight line equation application: measuring sunflower height draft Paul Verheyen 03/02/2021 13:59
WordProblem02 draft Paul Verheyen 03/02/2021 13:59
Hoogtemeting van zonnebloemen draft Paul Verheyen 03/02/2021 13:59
Hoogte van zonnebloemen Ready to use Paul Verheyen 03/02/2021 13:59
Straight line equation application: measuring sunflower height draft steve kilgallon 03/02/2021 13:59
Voor Dirk draft Faye Caluw 03/02/2021 13:59
Blathnaid's copy of Linear Equations - Find the equation of a line through two points draft Blathnaid Sheridan 03/02/2021 13:59
Dirk's copy of Equation of a line through two points - positive gradient draft Dirk Janssens 03/02/2021 13:59
Find the equation of a line through two points - zero gradient Ready to use AJAY OTTA 03/02/2021 13:59
ibrahim's copy of Find the equation of a line through two points - zero gradient draft ibrahim khatib 03/02/2021 13:59
ibrahim's copy of Find the equation of a line through two points - negative gradient draft ibrahim khatib 03/02/2021 13:59
ibrahim's copy of Find the equation of a line through two points - negative gradient draft ibrahim khatib 03/02/2021 13:59
ibrahim's copy of Find the equation of a line through two points - positive gradient draft ibrahim khatib 03/02/2021 13:59
NCM4 U1L1 Terry's copy of Straight line equation application: measuring sunflower height draft Terry Young 04/10/2021 18:15
NCM4 U1L1 Terry's copy of Equation of a line through two points - positive gradient draft Terry Young 04/10/2021 18:15
NCM4 U1L1 Terry's copy of Find the equation of a line through two points - negative gradient draft Terry Young 04/10/2021 18:15
Equation of a line through two points - positive gradient draft Jeung-Hwan Doh 03/02/2021 13:59
Karen's copy of Find the equation of a line through two points - positive gradient draft Karen Henderson 03/02/2021 13:59
Musa's copy of Find the equation of a line through two points draft Musa Mammadov 01/08/2022 08:15
Morgiane's copy of Find the equation of a line through two points - positive gradient draft Morgiane Richard 03/02/2021 13:59
Find the equation of a line through two points - positive gradient draft Morgiane Richard 03/02/2021 13:59
David's copy of Find the equation of a line through two points - positive gradient Needs to be tested David Hodge 03/02/2021 13:59
Ahmed's copy of Find the equation of a line through two points - positive gradient draft Ahmed Al-Razaz 03/02/2021 13:59
Ahmed's copy of Find the equation of a line through two points - negative gradient draft Ahmed Al-Razaz 03/02/2021 13:59
Ahmed's copy of Find the equation of a line through two points - zero gradient draft Ahmed Al-Razaz 03/02/2021 13:59
GEOM Ecuación de la recta entre dos punto, pendiente positiva draft David Vanegas 03/02/2021 13:59
Find the equation of a line through two points - positive gradient Ready to use Simon Vaughan 03/02/2021 13:59
Julie's copy of Find the equation of a line through two points - positive gradient draft Julie Crowley 03/02/2021 13:59
Julie's Find the equation of a line through two points - positive gradient draft Judy Rea 14/09/2021 12:33
Julie's SineWave draft Judy Rea 14/09/2021 12:33
Simple SineWave plots draft Judy Rea 14/09/2021 12:33
BasicSineWave_readFrequencyFromGraph draft Judy Rea 14/09/2021 12:33
Abrari's copy of Find the equation of a line through two points - positive gradient Ready to use Abrari Hasmi 03/02/2021 13:59
Find the equation of a line through two points - positive gradient Ready to use Dr Palat Meethale Ushasree 03/02/2021 13:59
Straight line equation application: Total cost draft Dr Palat Meethale Ushasree 03/02/2021 13:59
Straight line equation application: measuring sunflower height Ready to use Dr Palat Meethale Ushasree 03/02/2021 13:59
Catherine's copy of Find the equation of a line through two points - negative gradient draft Catherine Palmer 08/11/2021 10:40
Spørsmål 1 draft Ida Landgärds 03/02/2021 13:59
Robert's copy of Linear Equations - Find the equation of a line through two points draft Robert Anderson 03/02/2021 13:59
Funciones lineales 2 Ready to use francisco Glezortiz 27/01/2021 05:30
Geometria Triángulo Ready to use francisco Glezortiz 23/01/2021 15:48
Geometria Trapecio Ready to use francisco Glezortiz 23/01/2021 15:47
Geometria Cometa Ready to use francisco Glezortiz 23/01/2021 15:46
Geometria Pitágoras Ready to use francisco Glezortiz 23/01/2021 15:46
Sistemas Caminantes Ready to use francisco Glezortiz 21/01/2021 14:32
Sistemas Latas Ready to use francisco Glezortiz 21/01/2021 15:26
Geometria Pitágoras 2 Ready to use francisco Glezortiz 23/01/2021 15:49
Geometria Pitagoras 4 Ready to use francisco Glezortiz 23/01/2021 15:49
Funciones Girasol draft francisco Glezortiz 03/02/2021 13:59
Funciones Gasolina Ready to use francisco Glezortiz 27/01/2021 05:28
Funciones lineales 1 Ready to use francisco Glezortiz 26/01/2021 19:02
Funciones Autobuses Ready to use francisco Glezortiz 27/01/2021 09:44
Probabilidad. Urna colores y numeros Ready to use francisco Glezortiz 31/01/2021 08:08
Algebra con Geometria Ready to use francisco Glezortiz 04/02/2021 06:41
Ecuaciones con Geometria draft francisco Glezortiz 04/02/2021 06:42
Funciones lineales Apartado 2 draft francisco Glezortiz 21/02/2021 08:57
Funciones lineales Pendiente Ready to use francisco Glezortiz 21/02/2021 08:57
Funciones lineales Ecuación de la recta Ready to use francisco Glezortiz 21/02/2021 08:57
Edina's copy of Straight line equation application: measuring sunflower height draft Edina Kurdi 18/03/2021 13:54
Edina's copy of Find the equation of a line through two points - negative gradient draft Edina Kurdi 18/03/2021 14:24
Edina's copy of Find the equation of a line through two points - positive gradient draft Edina Kurdi 18/03/2021 14:24
Edina's copy of Find the equation of a line through two points - zero gradient draft Edina Kurdi 18/03/2021 14:25
Hanne's copy of Find the equation of a line through two points - negative gradient draft Hanne Deprez 17/06/2021 14:17
Find the equation of a line through two points - negative gradient Ready to use Maher Elbohouty 27/07/2021 02:19
Slope of a Line draft Kevin Bohan 16/09/2021 11:41
Slope & Equation of a Line through Two Points draft Kevin Bohan 16/09/2021 11:48
Find the equation of a line through two points - positive gradient Ready to use Alastair Ball 07/10/2021 18:10
Find the equation of a line through two points - negative gradient Ready to use Alastair Ball 07/10/2021 18:13
Find the equation of a line through two points - zero gradient Ready to use Alastair Ball 07/10/2021 17:17
Straight line equation application: measuring sunflower height Ready to use Alastair Ball 29/11/2021 14:11
Jose's copy of Find the equation of a line through two points - negative gradient draft Jose Camarena Brenes 21/10/2021 16:19
Patricia's copy of Julie's copy of Find the equation of a line through two points - positive gradient draft Patricia Cogan 08/11/2021 11:10
Straight line equation application: measuring sunflower height 2021 draft steve kilgallon 09/11/2021 13:46
Find the equation of a line through two points - positive gradient draft steve kilgallon 09/11/2021 13:51
Find the equation of a line through two points - negative gradient draft steve kilgallon 10/11/2021 09:37
a copy of Straight line equation application: measuring sunflower height draft david arcila 20/11/2021 18:37
Find the equation of a line through two points - positive gradient Ready to use steve kilgallon 18/05/2022 15:52
Find the equation of a line through two points - zero gradient Ready to use steve kilgallon 21/01/2022 11:05
Julia's copy of Louise's copy of Find the equation of a line through two points - positive gradient draft Julia Crossley 27/01/2022 16:06
Find the equation of a line through two points - negative gradient Ready to use Anna Cartlidge 03/04/2022 18:47
Find the equation of a line through two points - positive gradient Ready to use Anna Cartlidge 03/04/2022 18:47
Find the equation of a line through two points - positive gradient draft Jenny Hughes 25/04/2022 15:54
Find the equation of a line through two points - positive gradient (no graph) draft steve kilgallon 26/05/2022 08:22
Find the equation of a line through two points - positive gradient (no graph) updated draft steve kilgallon 30/05/2022 10:58
Find equation of straight line given two points - negative gradient Needs to be tested Tess Lynn 18/06/2022 10:20
Find equation of straight line given two points - positive gradient Needs to be tested Tess Lynn 18/06/2022 10:20
Identify equation of straight line from graph - 2 Needs to be tested Tess Lynn 18/06/2022 11:51
Find equation of straight line given two points - zero gradient Needs to be tested Tess Lynn 18/06/2022 10:20
Demo Straight line equation application: measuring sunflower height 2021 draft steve kilgallon 26/06/2022 17:02
Demo Find the equation of a line through two points - negative gradient draft steve kilgallon 26/06/2022 17:04

Give any introductory information the student needs.

No variables have been defined in this question.

This variable was automatically created because there's a reference to it somewhere in this question.

#### Warning

• When applying the function,
##### Suggestions
• Change the signature of parameter from to .

This variable is an HTML node. HTML nodes can not be relied upon to work correctly when resuming a session - for example, attached event callbacks will be lost, and mathematical notation will likely also break.

If this causes problems, try to create HTML nodes where you use them in content areas, instead of storing them in variables.

Describe what this variable represents, and list any assumptions made about its value.

← Depends on:
→ Used by:

This variable doesn't seem to be used anywhere.

Name Type Generated Value

#### Error in variable testing condition

There's an error in the condition you specified in the Variable testing tab. Variable values can't be generated until it's fixed.

Error:

for seconds

Running for ...

Name Limit

### Penalties

Name Limit

No parts have been defined in this question.

Select a part to edit.

The correct answer is an equation. Use the accuracy tab to generate variable values satisfying this equation so it can be marked accurately.

#### Checking accuracy

Define the range of points over which the student's answer will be compared with the correct answer, and the method used to compare them.

#### Variable value generators

Give expressions which produce values for each of the variables in the expected answer. Leave blank to pick a random value from the range defined above, following the inferred type of the variable.

#### String restrictions

For each choice, specify the number of marks to add or subtract when the student picks it.

For each choice, write 1 if the student should tick it, or 0 if they should leave it unticked.

You must set a maximum number of marks in order to use this marking method.

You must set a maximum number of marks in order to use this marking method.

For each combination of answer and choice, specify the number of marks to add or subtract when the student picks it.

For each combination of answer and choice, write 1 if the student should tick it, or 0 if they should leave it unticked.

Both choices and answers must be defined for this part.

Help with this part type

#### Test that the marking algorithm works

Check that the marking algorithm works with different sets of variables and student answers using the interface below.

Create unit tests to save expected results and to document how the algorithm should work.

There's an error which means the marking algorithm can't run:

Score:

#### Question variables

These variables are available within the marking algorithm.

Name Value

#### Marking parameters

These values are available as extra variables in the marking algorithm.

Name Value

#### Part settings

These values are available as entries in the settings variable.

Name Value

##### Warnings:

Alternative used:

Note Value Feedback

Click on a note's name to show or hide it. Only shown notes will be included when you create a unit test.

#### Unit tests

No unit tests have been defined. Enter an answer above, select one or more notes, and click the "Create a unit test" button.

The following tests check that the question is behaving as desired.

### This test has not been run yet This test produces the expected output This test does not produce the expected output

This test is not currently producing the expected result. Fix the marking algorithm to produce the expected results detailed below or, if this test is out of date, update the test to accept the current values.

One or more notes in this test are no longer defined. If these notes are no longer needed, you should delete this test.

Name Value

 This note produces the expected output

This test has not yet been run.

When you need to change the way this part works beyond the available options, you can write JavaScript code to be executed at the times described below.

Run this script the built-in script.

This script runs after the built-in script.

To account for errors made by the student in earlier calculations, replace question variables with answers to earlier parts.

In order to create a variable replacement, you must define at least one variable and one other part.

The variable replacements you've chosen will cause the following variables to be regenerated each time the student submits an answer to this part:

These variables have some random elements, which means they're not guaranteed to have the same value each time the student submits an answer. You should define new variables to store the random elements, so that they remain the same each time this part is marked.

This part can't be reached by the student.

Add a "next part" reference to this part from another part.

None of the parts which can lead to this part are reachable either.

### Next part options

Define the list of parts that the student can visit after this one.

• #### Variable replacements

No variable replacements have been defined for this next part option.
Variable Value

### Previous parts

This part can follow on from:

This part doesn't follow on from any others.

### Parts

#### Steps

Give a worked solution to the whole question.

Select extensions to use in this question.

Define rulesets for simplification and display of mathematical expressions.

Define functions to use in JME expressions.

• Parameters
• : of

## Built-in constants

Tick the built-in constants you wish to include in this question.

## Custom constants

You can define constants in terms of the built-in constants, even if they're disabled.
Names Value LaTeX

Add styling to the question's display and write a script to run when the question is created.

This script will run after the question's variable have been generated but before the HTML is attached.
Apply styling rules to the question's content.

This question is used in the following exams: