I use Python for years now, and never needed vscode. Python is installed already in any Ubuntu, or Linux for that matter, and numpy is in the repositories. Editing programs I do in Gedit, with Python...
Type: Posts; User: Topsiho; Keyword(s):
I use Python for years now, and never needed vscode. Python is installed already in any Ubuntu, or Linux for that matter, and numpy is in the repositories. Editing programs I do in Gedit, with Python...
@ sudodus
No, you might use pen and paper for intermediate results, but that's too awkward. I prefer programming, and use Python3, which is a very easy language to learn, and use.
As for...
@ sudodus,
There is a very obvious reason for the decreasing accuracy: the numerical approximation depends on the method used for the approximation, which usually is a black box. But I think that...
@ sudodus
I did the same (I think) in Python3, that anyone using Linux has on their computer :)
>>> from math import pi, sin
>>> sin(pi)
1.2246467991473532e-16
>>> sin(1000000000*pi)...
I understand this, and of course you are right.
I reacted to the remark why one would want the answer 5/6. To show that there might be a reason, and why.
I want to add something.
Using a...
The point you are missing is this: in a computer 1/2 is not necessarily the same as 0.5. Floating point numbers almost never are exact.
So when doing a calculation it is best to maintain precision...
Yes, it helps :)
It also helps if you enter it differently in RPN.
The answer depends on what is executed first: multiplication, or division.
And that is the whole thing: using RPN you are the...
This attitude towards accidents is not new. In my younger days I was a young ship's officer, and had to read the investigations after some accidents that had happened to ships, just to learn from it....
Expressions as we see them today are only a very recent invention. In fact, they are a very concise way of describing a problem to solve. Modern mathematicians are not capable of solving problems as...
@zebra2
That math teacher was a soulmate of mine: answers do matter but only for a little bit (except when building a bridge or so, in practice). It is the process you used to get the answer, in a...
I' m sorry, you invented a multiplication where none is in the expression.
You assume, correctly, that the author wanted a multiplication, but for some reason he decided not to write this..
Now....
@ sudodus
Thank you for your very friendly reply, that made clear to me that you are not Dutch. I know your alias sudodus for a very long time and for some reason thought you were Dutch, without...
To sudodus:
Probably you are very young :)
Meneer van Dale was the Dutch version of PEMDAS. In which square roots (worteltrekken) was not considered an exponentiation, and had a lower priority...
In Python3:
>>> 48/8*(14-8)
36.0
>>> 48/8(14-8)
<stdin>:1: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma?
Traceback (most recent call last):
Topsiho
Hello Sudodus,
In your examples you changed the expressions, so they obey the normal PEMDAS rules. And then / and * have the same priority, and are executed from left to right. No problem then....
It is not important what we think or not, or feel, what it's all about is that the author of an expression wants to tell us what we should put into a calculator (algebraic) or what we should do (RPN)...
You are aware, do you? that Windows 7 is obsolete and not usable anymore if you connect to the internet?
Then, this is not a Windows forum, so most Windows questions should be asked elsewhere.
...
I am sorry that apparently not everyone, even Math teachers (I was one myself) understands that priorities of operations are only something that are agreed upon. One of the agreements, used in the...
Yes, indeed. That's correct.
Using an RPN calculator only thing you need to know is PEMDAS, or knowledge of the priority rules the author uses, which you should follow also. You need not know the...
I'm afraid I put my answer (#40) in the wrong place, so please have a look there.
I argued that there is no answer, as implicit multiplications are not in PEMDAS and so are treated differently, if...
I think that the only answer is that there ===> is no answer <=== here, as the expression contains an implicit multiplication which is not in PEMDAS, which is mentioned somewhere above and which...
As I got no answer to my previous post, I only now react because I feel that I have to.
Rereading all previous posts I noticed that I made an error, assuming that in Windows the same wifi error...
This problem is not, in any way, connected to the OS that you use. It is the signal itself hat is delivered by the college that is the problem, so any OS would be affected by it.
Rubbish in means...
Another thought: download managers keep downloading packages until they are correct. Same as torrents. So that checks well with your observation that files can be downloaded using a download manager....
+1 for ajgreeny's suggestion to talk to those who are responsible for the college's wifi.
It's clear as mud that the files you download using that wifi are corrupt.
I had the same situation (long...