Hi,
This is my first post over there ! I'm pretty new to the 68k Basic and I'm looking for some help!
I want to creat a program that can compute all unknow.
Exemple :
I want to know the impedance for a wave I can get this information by those formula : Z = (F*k)/w or F/c or sqrt(u/F).
So I want to make a menu where I can enter the known informations and after if I entered enough information it will automatiquely return all the unknown.
Here is what I made for the moment maybe someone could just help me to know if it's possible ? And how to do it.
()
Prgm
setMode("Display Digits","FLOAT")
setMode("Exact/Approx","APPROXIMATE")
Local equ,var,z,f,k,w,c
ClrHome
Lbl start
Dialog
Title "=(Z = (F*k)/w or F/c or sqrt(u/F)"
Request "Z",z
Request "F",f
Request "k",k
Request "W",w
Request "c",c
Request "u",u
EndDlog
expr(Z)»z
expr(F)»f
expr(k)»k
expr(W)»w
expr(c)»c
expr(u)»u
and after I'm pretty lost how could I return the unknow if I get enough information ? Do I need to use a solve() ?
Thanks