The following code is meant to find for how much Bitcoin one is meant to buy in order to break even given the expected inflation, the holding period, and the amount of savings in dollars: When the program is fed with years=3, times=4, cpi=8, and a=1000 it does not find a solution. Because of it I introduced a loop that
Tag: equation-solving
System of equations in python symbolically
I want to solve this system symbolically but it didn’t work. where did I make the mistake? and how can I solve it? I get this error Answer You are attempting to solve such an equation: Ax = b. I don’t think you can mix-up command from different libraries like that, there is some compatibility but you should check the
Array input into an equation get array output in Python
I’m a python beginner and I’m trying to solve a cubic equation with two independent variables and one dependent variable. Here is the equation, which I am trying to solve for v: 3pv^3ā(p+8t)v^2+9vā3=0 If I set p and t as individual values, I can solve the equation with my current code. But what I would like to do is set