\( \def\bold#1{\bf #1} \newcommand{\d}{\mathrm{d}} \) BTP: Manual and Source Code Documentation

Power Uphill

bike mass [kg]
body mass [kg]
altitude gain [m]
climb length [km]
gradient [%]
time [s]
speed [km/h]
power [W]
power/mass [W/kg]
climbrate [m/min]

average power on climb stage

BTP  3.0
Routing/ClimbAnalysis/PowerCalculation
MathExt.h
1 #include <math.h>
2 #include <QPointF>
3 
4 #ifndef M_PI /* sometimes defined in math.h */
5 #define M_PI 3.14159265358979323846
6 #endif
7 double fermi(double x, double max, double T, double x0);
10 float distance(double lat1, double lon1, double lat2, double lon2);
12 double** SymMatrixtoTriang(double** m, int dim, short returnlower);
13 double** CreateMatrix(int dimx, int dimy);
14 double** CopyMatrix(double** m, int dimx,int dimy);
15 void DeleteMatrix(double** m, int dimx);
16 void TranspondMatrix(double** m, int dim);
17 double** MatrixMatrix(double** m1, int dim1, double** m2, int dim2);
19 double* SymLGS(double** A, double* y, int dim);
21 
26 double* FitPolynom(QPointF* p, int pointcount, int grad);
28 double fpln(double x, double* p, int grad);
30 double upperscale(float f);
31 double lattomercator(double lat);
32 double mercatortolat(double mlat);