Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Calculating Area of a Trapezium | Section
JavaScript Essentials for Beginners - 1768407374405

bookChallenge: Calculating Area of a Trapezium

Opgave

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

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 7
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

close

bookChallenge: Calculating Area of a Trapezium

Stryg for at vise menuen

Opgave

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

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 7
single

single

some-alt