Consider the shape below. Write a program that will
You have been assigned the task of helping a grade 9 math class with developing equations of linear graphs.
Write a program that will allow the user to enter the (x,y) coordinates of two points on a cartesian plane and output the equation of the straight line that passes through both of those points.
You been assigned the task of determining how fast you need to shoot a projectile from a cliff in order to hit a target a certain distance away.
Using some crazy physics and calculus skills you come up with the following equation for the initial speed of that projectile
Write a program that randomly generates a target distance and cliff height and then uses the equation to determine the launch speed.
You have been assigned the task of helping a grade 10 math class with some quadratics.
Your program should be able to take the factored form of a quadratic and
Example: Given π¦=(2π₯β3)(4π₯+5)
Hint: The x coordinate will be halfway between the two roots since it is symmetric. The y coordinate can be found by plugging the x coordinate back into the equation.
Return To International Baccalaureate Computer Science Main Page
Check out our programing in python courses that focus on high school level coding.Β Β
These courses are complete with interactive coding lessons, teacher led videos, and more practice questions with complete solutions