```
Soda.TextEntry { parent=cfpanel, x=10, y=-30, w=0.5, h=40, title = "CF0 = ", default = "0"}
Soda.TextEntry { parent=cfpanel, x=10, y=-80, w=0.5, h=40, title = "I = ", default = "0"}
Soda.TextEntry { parent=cfpanel, x=10, y=-130, w=0.5, h=40, title = "NPV = ", default = "0"}
Soda.TextEntry { parent=cfpanel, x=10, y=-180, w=0.5, h=40, title = "NFV = ", default = "0"}
Soda.TextEntry { parent=cfpanel, x=10, y=-230, w=0.5, h=40, title = "PB = ", default = "0"}
Soda.TextEntry { parent=cfpanel, x=10, y=-280, w=0.5, h=40, title = "DPB = ", default = "0"}
Soda.TextEntry { parent=cfpanel, x=10, y=-330, w=0.5, h=40, title = "IRR = ", default = "0"}
Soda.TextEntry { parent=cfpanel, x=10, y=-380, w=0.5, h=40, title = "RI = ", default = "0"}
Soda.TextEntry { parent=cfpanel, x=430, y=-30, w=380, h=40, title = "MOD = ", default = "0"}
Soda.TextEntry { parent=bondpanel, x=10, y=-30, w=0.5, h=40, title = "SDT = ", default = "0"}
Soda.TextEntry { parent=bondpanel, x=10, y=-80, w=0.5, h=40, title = "CPN = ", default = "0"}
Soda.TextEntry { parent=bondpanel, x=10, y=-130, w=0.5, h=40, title = "RDT = ", default = "0"}
Soda.TextEntry { parent=bondpanel, x=10, y=-180, w=0.5, h=40, title = "RV = ", default = "0"}
Soda.TextEntry { parent=bondpanel, x=10, y=-230, w=0.5, h=40, title = "ACT = ", default = "0"}
Soda.TextEntry { parent=bondpanel, x=10, y=-280, w=0.5, h=40, title = "YLD = ", default = "0"}
Soda.TextEntry { parent=bondpanel, x=10, y=-330, w=0.5, h=40, title = "PRI = ", default = "0"}
Soda.TextEntry { parent=bondpanel, x=10, y=-380, w=0.5, h=40, title = "AI = ", default = "0"}
Soda.TextEntry { parent=bondpanel, x=430, y=-30, w=380, h=40, title = "DUR = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=10, y=-30, w=0.5, h=40, title = "SL = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=10, y=-80, w=0.5, h=40, title = "SYD = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=10, y=-130, w=0.5, h=40, title = "DB = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=10, y=-180, w=0.5, h=40, title = "DBX = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=10, y=-230, w=0.5, h=40, title = "SLF = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=10, y=-280, w=0.5, h=40, title = "DBF = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=10, y=-330, w=0.5, h=40, title = "LIF = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=10, y=-380, w=0.5, h=40, title = "MO1 = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=430, y=-30, w=380, h=40, title = "DT1 = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=430, y=-80, w=380, h=40, title = "CST = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=430, y=-130, w=380, h=40, title = "SAL = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=430, y=-180, w=380, h=40, title = "YR = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=430, y=-230, w=380, h=40, title = "DEP = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=430, y=-280, w=380, h=40, title = "RBV = ", default = "0"}
Soda.TextEntry { parent=deprecpanel, x=430, y=-330, w=380, h=40, title = "RDV = ", default = "0"}
Soda.TextEntry { parent=solverpanel, x=10, y=-30, w=-10, h=40, title = "Equation = "}
Soda.Button{
parent = solverpanel, title = "Compute", style = Soda.style.warning,
x = -100, y = 20, w = 200, h = 40,
callback =
function()
Soda.Alert1{
title = var.." = ", y=0.6,
style = Soda.style.darkBlurred, blurred = true,
alert = true
}
end
}
local solverVar = Soda.TextEntry{
parent = solverpanel, x = 430, y = -80, w = 340, h = 40, shapeArgs = {corners = 1 | 2},
title = "Algo : ", default = "Dichotomy", inactive = true
}
local solver = Soda.List{
parent = solverpanel, hidden = true, x = 430, y = -120, w = 380, h = 240,
text = {"Dichotomy","Newton-Raphson","Intersecting","Regula Falsi","MÃ¼ller Method","IQI","Brent Method","Conjugate Gradient","Fixed Point Method","Sturm Theorem"}
}
solver.callback = function(txt) solverVar:inputString(txt) var=txt solver:hide() end
Soda.DropdownButton{
parent = solverpanel, style = Soda.style.default, x = -10, y = -80,
shapeArgs = {corners = 4 | 8}, callback = function() solver:toggle() end
}
Soda.TextEntry { parent=eq2ndpanel, x=10, y=-30, w=150, h=40, title = "a^2+b^2+c=0"}
Soda.TextEntry { parent=eq2ndpanel, x=10, y=-80, w=0.5, h=40, title = "a = ", default = "0"}
Soda.TextEntry { parent=eq2ndpanel, x=10, y=-130, w=0.5, h=40, title = "b = ", default = "0"}
Soda.TextEntry { parent=eq2ndpanel, x=10, y=-180, w=0.5, h=40, title = "c = ", default = "0"}
Soda.TextEntry { parent=eq3ndpanel, x=10, y=-30, w=200, h=40, title = "a^2+b^2+c^2+d=0"}
Soda.TextEntry { parent=eq3ndpanel, x=10, y=-80, w=0.5, h=40, title = "a = ", default = "0"}
Soda.TextEntry { parent=eq3ndpanel, x=10, y=-130, w=0.5, h=40, title = "b = ", default = "0"}
Soda.TextEntry { parent=eq3ndpanel, x=10, y=-180, w=0.5, h=40, title = "c = ", default = "0"}
Soda.TextEntry { parent=eq3ndpanel, x=10, y=-230, w=0.5, h=40, title = "d = ", default = "0"}
Soda.TextEntry { parent=convertpanel, x=10, y=-30, w=-10, h=40, title = "Value = "}
Soda.Button{
parent = convertpanel, title = "Convert", style = Soda.style.warning,
x = -100, y = 20, w = 200, h = 40,
callback =
function()
Soda.Alert1{
title = var.." = ", y=0.6,
style = Soda.style.darkBlurred, blurred = true,
alert = true
}
end
}
local convertVar = Soda.TextEntry{
parent = convertpanel, x = 430, y = -80, w = 340, h = 40, shapeArgs = {corners = 1 | 2},
title = "Conversion : ", default = "Base", inactive = true
}
local convert = Soda.List{
parent = convertpanel, hidden = true, x = 430, y = -120, w = 380, h = 160,
text = {"Base","Morse","Roman","Unit"}
}
solver.callback = function(txt) convertVar:inputString(txt) var=txt convert:hide() end
Soda.DropdownButton{
parent = convertpanel, style = Soda.style.default, x = -10, y = -80,
shapeArgs = {corners = 4 | 8}, callback = function() convert:toggle() end
}
Soda.TextEntry { parent=systempanel, x=10, y=-30, w=0.5, h=40, title = "Numbers of unknowns = ", default = "0"}
Soda.TextEntry { parent=graphpanel, x=10, y=-30, w=800, h=40, title = "f(x) = "}
Soda.TextEntry { parent=graphpanel, x=10, y=-80, w=0.5, h=40, title = "Xmin = "}
Soda.TextEntry { parent=graphpanel, x=10, y=-130, w=0.5, h=40, title = "Xmax = "}
Soda.TextEntry { parent=graphpanel, x=10, y=-180, w=0.5, h=40, title = "Xstep = "}
Soda.TextEntry { parent=graphpanel, x=430, y=-80, w=380, h=40, title = "Ymin = "}
Soda.TextEntry { parent=graphpanel, x=430, y=-130, w=380, h=40, title = "Ymax = "}
Soda.TextEntry { parent=graphpanel, x=430, y=-180, w=380, h=40, title = "Ystep= "}
Soda.TextEntry { parent=statpanel, x=10, y=-30, w=-10, h=40, title = "X = ", default = "{ }"}
Soda.TextEntry { parent=statpanel, x=10, y=-80, w=-10, h=40, title = "Y = ", default = "{ }"}
Soda.TextEntry { parent=physpanel, x=10, y=-30, w=-10, h=40, title = "Balance Equation = "}
end
```