Hello,
I have a question about how to handle scientific units in STACK. If I add
stack_unit_si_declare(true);
R:stackunits(12,ohm);
U:stackunits(12,V);
ta:U/R;
\(I=1\, \mathrm A\) will be accepted as a true answer. But the model answer, shown to the student, is \(1\, \frac{\mathrm V}{\Omega}\), which is not what I want.
What I'm doing so far to go round this is to define all the variables without units first and then attach the units I want in the end:
R:12;
U:12;
ta:U/R;
R:stackunits(R,ohm);
U:stackunits(U,V);
ta:stackunits(ta,A);
I'm wondering if there is a better and shorter way how to solve this. Any ideas?
Stephan.