Why do I get False for the additive law of logs for symbols, but True for numbers?
var('a b') print(bool(log(a)+log(b)==log(ab))) print(bool(log(5)+log(10)==log(510)))
False True
1 | initial version |
Why do I get False for the additive law of logs for symbols, but True for numbers?
var('a b') print(bool(log(a)+log(b)==log(ab))) print(bool(log(5)+log(10)==log(510)))
False True
Why do I get False for the additive law of logs for symbols, but True for numbers?numbers?
And why is my code all on one line?
var('a b')
print(bool(log(a)+log(b)==log(ab)))
print(bool(log(5)+log(10)==log(510)))b')
False
print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))
False
True
Why do I get False for the additive law of logs for symbols, but True for numbers?
And why is my code all on one line?numbers?
var('a b')b')
print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))print(bool(log(5)+log(10)==log(5*10)))
False
True
Why do I get False for the additive law of logs for symbols, but True for numbers?
var('a b')
print(bool(log(a)+log(b)==log(ab)))
print(bool(log(5)+log(10)==log(510)))
print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))
False
Why do I get False for the additive law of logs for symbols, but True for numbers?
var('a b')
print(bool(log(a)+log(b)==log(ab)))
print(bool(log(5)+log(10)==log(510)))
False True
Why do I get False for the additive law of logs for symbols, but True for numbers?
var('a b')
print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))
False
TrueWhy do I get False for the additive law of logs for symbols, but True for numbers?
var('a """var('a b')
print(bool(log(a)+log(b)==log(ab)))
print(bool(log(5)+log(10)==log(510)))
print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))
False
TrueFalse True"""
Why do I get False for the additive law of logs for symbols, but True for numbers?
"""var('a var('a b')
print(bool(log(a)+log(b)==log(ab)))
print(bool(log(5)+log(10)==log(510)))
False
True"""print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))
False
True
Why do I get False for the additive law of logs for symbols, but True for numbers?
var('a b') print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))
False
True
Why do I get False for the additive law of logs for symbols, but True for numbers?
var('a b')
print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))
False
True
Why do I get False for the additive law of logs for symbols, but True for numbers?numbers?
var('a b')
print(bool(log(a)+log(b)==log(ab)))
print(bool(log(5)+log(10)==log(510)))
var('a b')
print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))
False
True
Why do I get False for the additive law of logs for symbols, but True for numbers?
var('a b')
print(bool(log(a)+log(b)==log(ab)))
print(bool(log(5)+log(10)==log(510))) numbers?
var('a b')
print(bool(log(a)+log(b)==log(a*b)))
print(bool(log(5)+log(10)==log(5*10)))
False
True