Ask Your Question

MrSnrub's profile - activity

2020-05-01 06:38:24 +0200 received badge  Notable Question (source)
2019-03-03 22:51:05 +0200 received badge  Popular Question (source)
2017-04-13 15:52:45 +0200 asked a question How to solve an equation using SageMath?

I have just started using SageMath Cloud, based on a recommendation from a Stack Exchange user. I need to solve the following equation:

298082 = 250000(1 + r) + 25000(1 + r)^((365 - 258)/365)

...which simplifies to:

298082 = 250000(1 + r) + 25000(1 + r)^0.293150685

I go to SageMath Cloud and start a new project and start a new Sage Worksheet, and type the following:

x = var('x')
solve([298082 == (250000 * (1 + r)) + (25000 * (1 + r)^0.293150685)], r)

..and this gives the following:

[r == -1/10*(r + 1)^(11726006/39999927) + 24041/125000]

This is not an acceptable answer. How do I get it to solve the actual value, which is 0.089779615?