void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
//rumus trapesium
float t = 50;
float a = 25;
float b = 15;
float Luas;
Luas = (0.5*(a+b)) * t;
Serial.println(Luas);
int Tinggi = (2*Luas)/(a+b);
Serial.println(Tinggi);
}
void loop() {
// put your main code here, to run repeatedly:
}