Join Kevin Skoglund for an in-depth discussion in this video Introducing volume measures, part of Easy PHP Projects: Measurement Conversion.
- In this chapter, we'll discuss volume…and capacity measurement conversions.…Volume is the measurement of the space occupied…by an object or the holding capacity of a container.…We usually use the term volume…when we're talking about objects.…And we can use either volume or capacity…when we're talking about containers,…whether that's containers that are full or empty.…Volume is a three-dimensional unit of measure.…Remember, length was one-dimensional.…Area was two-dimensional.…Now we have three dimensions.…And typically, we think of those three dimensions…as being length x width x height.…
And that's how we arrive at the volume.…When we talk about units of measure for volume,…we're talking about having equal length, width, and height…in our measurement, just like we had for area.…And therefore, what we're really talking about…is length cubed, and that's why we can refer…to these units as being cubic units.…For example, volume has units such as cubic inch,…cubic foot, cubic centimeter, and cubic meter.…We don't generally work with cubic miles…
Along the way, series designer Kevin Skoglund introduces coding strategies, refactoring techniques, and useful skills including dynamically generating form select-option values and formatting decimal numbers and scientific notation.
- Converting length and area measurements
- Using functions to avoid repetition
- Refactoring to produce simpler code
- Converting volume and mass
- Generating form select-option values dynamically
- Formatting scientific notation
- Converting speed and temperature
Skill Level Beginner
Accessing Databases with Object-Oriented PHPwith David Powers3h 47m Intermediate
1. Length and Distance
3. Volume and Capacity
4. Mass and Weight
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.