COMP9021 – QUIZ 2 Solved

$ 24.99
Category:

Description

COMP9021 PRINCIPLES OF PROGRAMMING
$ python3 …
>>> from quiz_2 import *
>>> line((0, 0), (0, 0))
>>> line((0, -3), (0, 0))
‘x = 0.00’
>>> line((-3, -3), (-3, 7))
‘x = -3.00’
>>> line((8, 0), (5, 0))
‘y = 0.00’
>>> line((8, 3), (-5, 3))
‘y = 3.00’
>>> line((-3, -3), (0, 0))
‘y = 1.00x’
>>> line((3, -3), (0, 0))
‘y = -1.00x’
>>> line((1, 2), (2, 3))
‘y = 1.00x + 1.00’
>>> line((-1, -2), (0, -1))
‘y = 1.00x – 1.00’
>>> line((3, -3), (2, -4))
‘y = 1.00x – 6.00’
>>> line((12, 5), (13, 29))
‘y = 24.00x – 283.00’
>>> line((-1, -2), (7, 8))
‘y = 1.25x – 0.75’
>>> line((-231, 87240), (73, 2987452))
‘y = 9540.17x + 2291019.51’
>>> parabola()
>>> parabola(1, 0, 2)
>>> parabola(0)
‘x^2 = 0’
>>> parabola(1, 1, 1, 1)
‘x^2 – 2x + 1 = 0’
>>> parabola(1, 0, 0, 1, 1, 0, 1)
‘x^2 – x = 0’
>>> parabola(7, -4, 7)
‘x^2 – 3x – 28 = 0’
>>> parabola(-3, -11)
‘x^2 + 14x + 33 = 0’
>>> parabola(100, -4, -4, -4, 100)
‘x^2 – 96x – 400 = 0’

Reviews

There are no reviews yet.

Be the first to review “COMP9021 – QUIZ 2 Solved”

Your email address will not be published. Required fields are marked *