Join Kevin Skoglund for an in-depth discussion in this video Introducing mass measures, part of Easy PHP Projects: Measurement Conversion.
- In this chapter, we'll learn how to convert mass and weight.…Mass and weight are two terms that are commonly used…completely interchangeably.…But mass and weight are actually different concepts.…Mass measures the amount of matter…that's in an object,…weight measures the pull of gravity…on the object.…Mass does not change when the object is relocated,…but the weight can change when the object is moved.…The easiest example I can give…to make this point…is that an object on the moon does not weigh the same…as it does when it's on Earth,…but its mass does not change,…it has the same amount of matter in the object…in both places.…
We can measure mass and weight in different ways…Mass is measured using a balance,…that is we take an object of known mass,…put it on one side of the scale…and then we put the unknown mass…that we want to find out…on the other side of the scale.…When they're in balance, then we know…what the mass of the new object is.…Weight on the other hand,…can be measured simply using a scale,…it just measures the force of gravity…
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
PHP: Accessing Databases with PDO and MySQLiwith 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?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
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.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.