This algorithm converts from farenheight to celsius, or vice-versa. It takes an input of temperature, and an input of either 'F' or 'C'. If you input 'F', it will convert your input number from farenheight to celcius. If you input 'C', it will convert your number into farenheight.
[tempOUT] = f2c(tempsIN,unit)
This algorithm calculates the volume of a sphere using an input radius.
[volume] = sphere_vol(radius)