Are you sure?
You don’t think you are missing square root or under-root.
Are you sure?
No. The area of a triangle with 3, 4 and 5 should be 6.
you believe me now?
Here is the improvisation over @vknow360’s blocks. He forgot to multiply with sP variable
Yes, you are right, @Vaibhav! very good!
But, please, @Vaibhav, can you hide your solution, too? I don’t want someone spoils.
I woke up to late for this. But it’s very easy indeed.
Proud to be Greek.
I do not get it. The surface of a triangle is calculated as (base x height) divided by 2, forget the heron formula
So in this example b is height since its right triangle then assuming b=5 and a = 4 then the surface is (4x5)/2=10 and with code is approximately 10 (9.92157) . So why does your procedure returns 6 as surface area ?
The hypotenuse is the longest side, opposite to the right-angled vertex. Therefore area of a triangle with sides 3,4,5 is:
½×4×3 = 6
Got it , I mistaken the number as 4,5,6 instead of 3,4,5
Is there lockdown in your country also?
If yes then this can be called an side-effect of lockdown.
We are forgetting basic math
I didn’t forget basic maths I just misread the numbers instead of 3,4,5 I saw 4,5,6 And yes in Greece we still have lockdown. From Monday some shops and public services will start again
Sorry…that was for me
My district has been placed in Green Zone so it is expected that we will get some concession in Lockdown since Monday.
I hope same for you and everyone.
Btw , I would like to say thank you to @Yoshi for this easy but tricky daily challenge.
Is it expected to see more daily challenges on math?
Yes. I love maths. (When I can understand it (happens to ca. 5% of all math questions and problems))
BECAUSE It is so complicated
I have marked @vknow360’s reply as the solution because he was the first to provide the blocks. I just provided an improved version of his blocks.
But mine was not correct.
The formula is incorrect without multiplying with semi-perimeter.
So technically you are the first to provide correct blocks.
And the solution goes to @Vaibhav
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.