Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Calculating Area of a Trapezium | Getting Started
Introduction to JavaScript

Pyyhkäise näyttääksesi valikon

book
Challenge: Calculating Area of a Trapezium

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 7
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?

Kysy tekoälyä

expand
ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

book
Challenge: Calculating Area of a Trapezium

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 7
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt