4 ms·
Can someone explain to me what problems and solutions this solved
by amriksohata 3y ago
Can someone explain to me what problems and solutions this solved
- lqet 3y ago> The rules are algorithms and techniques for a variety of problems, such as systems of linear equations, quadratic equations, arithmetic progressions and arithmetico-geometric series, computing square roots approximately, dealing with negative numbers (profit and loss), measurement such as of the fineness of gold, etc.
- tshadley 3y agohttps://mathshistory.st-andrews.ac.uk/HistTopics/Bakhshali_manuscript/ https://mathshistory.st-andrews.ac.uk/HistTopics/Bakhshali_m... has some examples. |One person possesses seven asava horses, another nine haya horses, and another ten camels. Each gives two animals, one to each of the others. They are then equally well off. Find the price of each animal and the total value of the animals possesses by each person. | Two page-boys are attendants of a king. For their services one gets 13/6 dinaras a day and the other 3/2 . The first owes the second 10 dinaras. calculate and tell me when they have equal amounts.
- amriksohata 3y agoWow, maybe a more obscure question, what drives this problem solving at that day and age?
- jareklupinski 3y agoif I was a palace vizier, it might be helpful to know when people serving a king have imbalances / debts that can be exploited by others
- kdamica 3y agoNot sure about this particular text, but much of the earliest writing we have is record-keeping for taxes. You could definitely imagine this kind of math being important for tax collectors to learn, since they would typically travel around to collect taxes at some interval, and would have to calculate the amounts on the fly.
- burkaman 3y agoYeah these could be very literal problems. The first seems useful for assessing the value of a taxable asset, and the second for paying back a loan or a penalty over time.
- carapace 3y agoMath. (As in, math is it's own motivation to some minds.) These read to me like very abstract problems cast into everyday (for that time) language to make the concepts more approachable. Like "word problems" today the situations described would be apocryphal.
- bee_rider 3y agoJust for completeness, I noted in the description provided on that site: > The Bakhshali manuscript is a handbook of rules and illustrative examples together with their solutions. So, I guess these read like textbook examples because they basically are.
- photochemsyn 3y agohttps://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Bakhshali_method https://en.wikipedia.org/wiki/Methods_of_computing_square_ro... python implementation (for numbers >= 2) def bakshali(S, iters=5, a=0, b=0): x = S//2 print(f'inital approximation = {x}') for n in range(iters): a = (S - x**2) / (2*x) b = x + a print(f'{x}') x = b - (a**2)/(2*b) return x Converges pretty fast!
- tasty_freeze 3y agoIs this common in python to declare local variables as fake parameters? The downside is obvious: it clutters the function interface with red herrings. What is the upside?
- 1024core 3y agoThe upside is that if you wanted a different "iter", "a" or "b", you could just specify it in the arguments.
- tasty_freeze 3y agoThe iter part I get, but I don't see how the caller can affect a or b. Whatever value supplied for a or b will be replaced by values in dependent of a and b during the loop. a is a function of S and x (which initially is a function of S) and b is a function of x and the just revised value for a.
- photochemsyn 3y agoNo, it was just to shorten the code block length for the comment section (for a and b, iters makes more sense as one might want to allow the caller to change that) :)