Chapter

Quadratic Roots

From ComputerScienceOne by Dr Chris Bourke

Concepts

  1. How can a general-purpose PHP function round values to a specified decimal place?

    "40.2. Examples the ability to write a function to do this for us. Before we do, however, let’s think more generally. What if we wanted to round to the nearest tenth? Or what if we wanted to round to

  2. How can PHP pass variables by reference to return multiple quadratic roots?

    "40.2.2. Quadratic Roots Another advantage of passing variables by reference is that we can “return” multiple values with one function call. Functions are limited in that they can only return at most

Quadratic Roots | ComputerScienceOne | Bifalgorithm | Bifalgorithm