
Originally Posted by
nikolai13
I am not very good at maths or physics, could you give me a bit more detail in what you mean?
Well I'll use one of my own recent maths tasks as an example. Note that I had to do this from a mathematical point of view, but it could have just as easily been approached with programming. Say that you're given a certain building, e.g.
You're supposed to create a model for it and calculate the optimal distribution of floors depending on various factors (e.g. base width, length, height etc.) and then take some of these as parameters - e.g. see how the optimal internal floor distribution / floor area etc. is affected with the height. Since this cannot really be done algebraically (at least if you're doing something a bit more complex), you could do it with some sort of algorithm. Hence you could make a program thwt would create something like a quasi-riemann sum thingy, but "properly" done (ie it goes from left to right, unlike mine which was limited to 1/2 of the building and had to be done on the inverse function):
tl;dr: a suggestion for a program:
1) client inputs function that would represent the shape of the roof
2) client inputs minimum floor height (maybe wall width too, depends how complex you want to create this)
3) program finds optimal placement of cuboids in the building (or, if you simplify this - the optimal placement of rectangles in the area between the function of the roof and the x-axis, which represents the floor)
4) program calculates total living / office space inside the building (cuboids), total floor area, floor height(s), number of floors etc.
5) program tells the client the data.