Challenge: Calculating Area of a Trapezium
Swipe to start coding
A trapezium is a four-sided shape with at least one pair of opposite sides that are parallel. For example:
You are required to calculate the area size of this trapezium. Following is the formula for calculating the area of a trapezium.
Write a console.log statement which outputs the correct area size of the trapezium shown in the diagram. The value of a is 13, b is 21 and h is 10.
Løsning
Takk for tilbakemeldingene dine!
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Fantastisk!
Completion rate forbedret til 1.33
Challenge: Calculating Area of a Trapezium
Sveip for å vise menyen
Swipe to start coding
A trapezium is a four-sided shape with at least one pair of opposite sides that are parallel. For example:
You are required to calculate the area size of this trapezium. Following is the formula for calculating the area of a trapezium.
Write a console.log statement which outputs the correct area size of the trapezium shown in the diagram. The value of a is 13, b is 21 and h is 10.
Løsning
Takk for tilbakemeldingene dine!
single