Create a W|A widget for an expression?

For the web, i host a calculator for determining the interior diameter of a sphere to resonate a given frequency and also the ability to create the spheres and generate stl files for 3d printing. i’m trying to create a widget to make the calculator easier and less clunky. There are two calculators. One for a sphere with a sound hole and one for a sphere with a tube to elongate the sound hole. The link to the calculator is here- Spherical Resonator Calculator. the two expressions i use for the calculators are,

17.87*((d/(f^2))^(1/3))

((3(d^2)(C^2))/(8L(f^2)*(3.14^2)))^(1/3)

where

d=diameter of sound hole

f=frequency to resonate

C=speed of sound

L=length of sound tube

in meters. both solve for the diameter of the sphere. i have been unable to create a widget with input fields for the variables. i’m not sure of the approach or correct settings for each entry when creating the widget.

any help would be appreciated.

thank you

You have been sent a link pointing you to documentation on widget building:

Have you tried following it and what exactly did not work for you?

thank you for your reply.

i did look through the tour.

i’m trying to build a widget from scratch.
here is what i’ve tried.

to start, i input one of the expressions and this is what came back

i chose to highlight the variables and made these settings. what to highlight, default value and interpretation i am unsure of.

i get this output and click next.

this is the result. the page hangs on computing and will not continue

thank you!