G
G
Gulnara2020-05-02 17:39:18
Informatics
Gulnara, 2020-05-02 17:39:18

How to program the function y= (a^2+bx)/((x^3-a))+sin⁡(x+c)*sqr(x/a) in Python?

I'm not very good at programming. I tried to do something, but it gives an error!!!
SyntaxError: can't assign to literal
Please tell me what is the problem.

import math
a=3.14, b=2.65, c=1.67, x=4.53
y=(a**2+b*x)/(x**3-a)+sin(x+c)*(x/a )**0.5
print(math.float(y))

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question