Evaluate each absolute value |-3.7| Posted on October 23, 2021 By Kiridis03 4 Comments on Evaluate each absolute value |-3.7| Evaluate each absolute value |-3.7|[tex]Evaluate each absolute value |-3.7|[/tex] Mathematics
3.7 is your answerStep-by-step explanation:because an absolute value is the opposite of an number like -4.8 is 4.8Reply
20 ÷ (5 × 2 - 6) + 8=20:(10-6)+8=20:4+6=5+6=11(20 ÷ 5) × 2 – 6 + 8=4*2-6+8=8-6+8=2+8=1020 ÷ (5 × 2) – 6 + 8=20:10-6+8=2-6+8=-4+8=4(20 ÷ 5) × (2 – 6) + 8=4*(-4)+8=-16+8=-8Reply
The code with explanatory comments are given in Python belowExplanation:#2.22s = "Lionel Pogba" #string s with names having LP as initialsnames = s.split() #splits the string into individual charactersinitial = "" #we are initialising the initials as an empty stringfor i in names: initial += i[0] #making the initials of the stringprint(initial)#2.23l = [3, 7, -2, 12] range = (max(l) - min(l)) #declare and initialise variable range for the range print(range) #output of the range#2.24l1 = [3, 7, 17, -2, 12]#(a)midIndex = int(len(l1)/2) #evaluates half the length of the list#which corresponds to the middle index of the listprint(midIndex)#(b)print(l1[midIndex]) #assigns the value of the middle index of the list#corresponding to the middle element#(c)l1.sort(reverse=True) #reverses the elements of the list to descending orderprint(l1)#(d)firstValue = l1[0] #firstValue variable representing the first elementl1 = l1[1:] + [firstValue] #assigning the location to the last positionprint(l1)Reply
Positive 3.7The only time absolute is negative is if the negative is outside absolute value|-5|=5|5|=5-|5|=-5Reply
3.7 is your answer
Step-by-step explanation:
because an absolute value is the opposite of an number like -4.8 is 4.8
20 ÷ (5 × 2 - 6) + 8=20:(10-6)+8=20:4+6=5+6=11
(20 ÷ 5) × 2 – 6 + 8=4*2-6+8=8-6+8=2+8=10
20 ÷ (5 × 2) – 6 + 8=20:10-6+8=2-6+8=-4+8=4
(20 ÷ 5) × (2 – 6) + 8=4*(-4)+8=-16+8=-8
The code with explanatory comments are given in Python below
Explanation:
#2.22
s = "Lionel Pogba" #string s with names having LP as initials
names = s.split() #splits the string into individual characters
initial = "" #we are initialising the initials as an empty string
for i in names:
initial += i[0] #making the initials of the string
print(initial)
#2.23
l = [3, 7, -2, 12]
range = (max(l) - min(l)) #declare and initialise variable range for the range
print(range) #output of the range
#2.24
l1 = [3, 7, 17, -2, 12]
#(a)
midIndex = int(len(l1)/2) #evaluates half the length of the list
#which corresponds to the middle index of the list
print(midIndex)
#(b)
print(l1[midIndex]) #assigns the value of the middle index of the list
#corresponding to the middle element
#(c)
l1.sort(reverse=True) #reverses the elements of the list to descending order
print(l1)
#(d)
firstValue = l1[0] #firstValue variable representing the first element
l1 = l1[1:] + [firstValue] #assigning the location to the last position
print(l1)
Positive 3.7
The only time absolute is negative is if the negative is outside absolute value
|-5|=5
|5|=5
-|5|=-5