Math logarithm | Sololearn: Learn to code for FREE!

0

Math logarithm

My problem is idk how to convert it into expression rightly: Given problem is: 3 lnx divided by 2*y

2/12/2020 1:28:58 AM

Amolap

12 Answers

New Answer

+4

RCH Please don't spam. Follow the community guidelines. https://www.sololearn.com/Content-Creation-Guidelines/

+3

print((3*math.log(x))/(2*y))

+2

Here are other useful math functiones: https://docs.python.org/3.1/library/math.html

+1

c=x*(1+(y/z))**(z*x)

0

thankyousomuch! i’ll try it

0

but idk whats wrong with my code it always result to type error: float object is not callable

0

#Get the value of c import math x = float(input("Kindly enter the value of x:")) y = float(input("Kindly enter the value of y:")) z = float(input("Kindly enter the value of z:")) c = x * (1 + (y / z)) pow(z * x, 1) print("The value of c is:", c) test data: x = 1.2 y=3.5 z = 4..3

0

x=2.718 print(x()) Error: 'Float' object is not callable

0

c=x*(1+(y/z))*z*x If you want to raise z*x to a power, do this: (z*x)**n

0

c=x*(1+(y/z))*z*x —- this one is directly multiplied not raising to the power of it should be raised to z(x) how can i do that?

0

how bout this one it also resulted to float erorr import math x = float(input("Kindly enter the data for x:")) y = float(input("Kindly enter the data for y:")) z = float(input("Kindly enter the data for z:")) b = (-y - math.sqrt (abs((pow(y,2)) - 4 * x * z))) / (2 * x + y) + math.log (3 * x (pow(1,4))) print(b)

0

equation -y- square root of the absolute value of y^2 -4xz divided by 2x + y then add the value to log 3x raise to 1/4