This video provides a description and example of pow(), sqrt(), cbrt(), hypot(), exp(), exp2(), log(), log2(), and log10().
- [Instructor] Let's now see a family of functions…that involve raising a number to some power.…These functions are powers and exponentials.…Their inverse operations are roots and logarithms.…For powers, we get the pow function,…which returns the result of raising a base to an exponent.…This is the doubling limitation of the function.…For exponentials, we have two basic functions.…Exp, which raises the constant E…to the power sent as an argument, and exp2,…which raises two to the power sent as an argument.…
There are three root calculating functions.…The square root function, the cubic root function,…and the hypotenuse function, which computes the square root…of X squared plus Y squared.…Finally, we have three basic logarithm functions.…Log, which computes the base E, or natural logarithm.…And we have log2 for base two,…that's in the binary numbering system.…And log10 for base 10, that's decimal.…
- Working with header files
- C constants and types
- Unformatted and formatted input/output
- Accessing files with C functions
- Generating random numbers
- Converting strings
- Sorting and searching for data
- Manipulating strings
- Using mathematical functions
Skill Level Intermediate
1. The C Standard Library
2. Input and Output Library: stdio.h
3. General Purpose: stdlib.h
4. String Functions: string.h
5. Mathematical Functions: math.h
- 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.