Skip to content

Monthly Archives: July 2010

Conventional Units – International Units

http://www.globalrph.com/conv_si.htm

formating octave output

http://www.chemie.fu-berlin.de/chemnet/use/info/octave/octave_22.html pct = 37; filename = “foo.txt”; printf (“Processing of `%s’ is %d%% finished.nPlease be patient.n”, filename, pct); produces output like Processing of `foo.txt’ is 37% finished. Please be patient.

SID plotting

using java and gnuplot “stupid way but it worked :D” java code public class Main { public static double root1(double insid){ double a=(Math.pow(insid,2))/4; double roota=Math.sqrt(a+kw); double hyd=roota-(insid/2); return hyd; } public static double root2(double insid){ double a=(Math.pow(insid,2))/4; double roota=Math.sqrt(a+kw); double oh=roota+(insid/2); return oh; } static double sid; static double kw=4.4*(Math.pow(10,-14)); static double h; static double […]