02-17-2018, 03:05 AM
Hi, this the code i've been struggling with (it's pretty basic)
EXPORT TRX_3()
BEGIN
local a;
STARTAPP(solve);
a:=solve.solve(E1); //here is the problem
print();
print(a);
END;
//variations i tried:
//a:=solve(E1,{X});
//a:=SOLVE(E1,{X});
//a:=Solve(E1,{X});
//a:=Solve.SOLVE(E1,{X});
//a:=solve.SOLVE(E1,{X});
//a:=SOLVE.solve(E1,{X});
//a:=solve(E1);
//a:=SOLVE(E1);
//a:=Solve(E1);
//a:=Solve.SOLVE(E1);
//a:=solve.SOLVE(E1);
//a:=SOLVE.solve(E1);
the content inside E1 is the following: 0.5=(2*E^-3*X)/(1+1*E^-3*X)
and the solution that i get directly from the app is x:333.33
EXPORT TRX_3()
BEGIN
local a;
STARTAPP(solve);
a:=solve.solve(E1); //here is the problem
print();
print(a);
END;
//variations i tried:
//a:=solve(E1,{X});
//a:=SOLVE(E1,{X});
//a:=Solve(E1,{X});
//a:=Solve.SOLVE(E1,{X});
//a:=solve.SOLVE(E1,{X});
//a:=SOLVE.solve(E1,{X});
//a:=solve(E1);
//a:=SOLVE(E1);
//a:=Solve(E1);
//a:=Solve.SOLVE(E1);
//a:=solve.SOLVE(E1);
//a:=SOLVE.solve(E1);
the content inside E1 is the following: 0.5=(2*E^-3*X)/(1+1*E^-3*X)
and the solution that i get directly from the app is x:333.33