First cell calculates T(t), N(t), B(t) for all t in the range. If r(t) is complicated the results may be messy to a point of being useless. Try //N - numerical values instead. Second cell calculates and displays TNB frame at a specified point t. Third cell graphs TNB frames for n equally spaced along the curve points to show us the dynamics. Make sure you run it twice to compile correctly.