Calculate the hypotenuse of a right triangle (Pythagorean Theorem)

By: Thomas Sailer | Asked: 10/09/2024
ForumsCategory: Code HelpCalculate the hypotenuse of a right triangle (Pythagorean Theorem)
Thomas SailerThomas Sailer asked 2 months ago
Good morning, We offer foam cut to size, so customers need to enter the measurements to calculate the price. On the other hand, they can add a layer of viscoelastic. To calculate your price, in some cases, we need to be able to calculate the hypotenuse of a right triangle (Pythagorean Theorem). https://nuevo.hiperespuma.es/tienda/espuma/corte-a-medida/asiento-en-disminucion/ Can anyone help us and indicate how we can add this calculation in a form managed with Formidableforms? Thank you very much Gema Queralt
2 Answers
Thomas SailerThomas Sailer answered 2 months ago
And when the triangle is not right-angled? https://nuevo.hiperespuma.es/tienda/espuma/corte-a-medida/silla-trapecio/
We want to give the customer the possibility to put the viscoelastic layer on the surface that generates the C field (second image on the website). Thank you very much Gema Queralt
Victor Font replied 2 months ago

The Math.hypot() static method returns the square root of the sum of squares of its arguments. It works with any geometric shape with 3-sides.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right