[Math] The Gherkin (an egg shaped building) – equation for the curve in order to calculate the surface area of revolution

definite integralsintegrationinterpolationnumerical methods

I am trying to calculate the surface area of revolution for The Gherkin, an egg-shaped building in London, UK. Not sure about how to obtain the equation of the curve but I have the data points that allowed me to graph it in Excel but the equation, as it turns out, isn't simply quadratic.

Pls does anyone know any graphing programs that can determine unusual curve equations from a list of data points?? Thanks in advance.

Best Answer

polyfit in Matlab is great. Returns a polynomial of degree n

Something like:

X = [ x co-ordinates in order (with spaces in between) ];

Y = [ y co-ordinates in order (with spaces in between) ];

p = polyfit(X,Y,n)

http://uk.mathworks.com/help/matlab/ref/polyfit.html

Hope it helps

Related Question