Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In the appendix, I wrote a MatLab file in which one can input the angular displacement of the dial and the output of the program would be the viscosity of the fluid. Furthermore, the program suggests when you should increase or decrease the gear ratio or motor speed to be able to measure the viscosity of the fluid accurately. Furthermore, the program will create a digital dial in which the graph rotates with the change in viscosity of the fluid. The program works in reverse as well. If one knows the fluid's viscosity, the angular displacement of the dial can be calculated and graphed. The following is an example with the input of the program was a viscosity of 1 N-s/m^2, high motor speed, and the lowest gear ratio.

Image Added


Find viscosity [1] or angular displacement [0] : 0
Fluid dynamic viscosity in N-s/m^2 : 1
Motor speed high [1] or low [0] : 1
Gear high [2], medium [1], or low [0] : 0
Angular displacement of cylinder is 124.9622 degrees.

>>

The following is an example with the input of the program was a viscosity of .001 N-s/m^2, high motor speed, and the highest gear ratio.

Image Added

Find viscosity [1] or angular displacement [0] : 0
Fluid dynamic viscosity in N-s/m^2 : 0.001
Motor speed high [1] or low [0] : 1
Gear high [2], medium [1], or low [0] : 2
Angular displacement of cylinder is 1.1908 degrees.

>>