Maximum of a list of numbers
Function: Maximum of a list of numbers
This function helps you find the largest number within a collection of numbers you provide. It's useful for identifying peak values, highest scores, or maximum amounts from a dataset.
Input
- Numbers (List of Numbers): This is the list of numbers from which you want to find the maximum value. This input is required.
Output
- Result (Number): The name of the variable that contains highest number of the two. By default, this variable is named "Result".
Execution Flow
Real-Life Examples
Here are some practical ways you can use the "Maximum of a list of numbers" function:
Example 1: Finding the highest product price
Imagine you have a list of prices for a specific product from different suppliers and you want to find the most expensive one.
- Inputs:
- Numbers:
[12.99, 15.50, 11.75, 14.00, 16.25]
- Numbers:
- Result: The variable named "Result" will contain the value
16.25.
Example 2: Identifying the peak daily website visitors
You've collected the number of unique visitors to your website for the past week and want to know which day had the most traffic.
- Inputs:
- Numbers:
[1250, 1320, 1180, 1450, 1300, 1050, 980]
- Numbers:
- Result: The variable named "Result" will contain the value
1450.
Example 3: Determining the largest discount offered
Your marketing team ran several promotions, each with a different discount percentage, and you want to find the highest discount that was applied.
- Inputs:
- Numbers:
[10, 25, 15, 30, 20]
- Numbers:
- Result: The variable named "Result" will contain the value
30.