A community for students. Sign up today!
Here's the question you clicked on:
← 55 members online
 0 viewing
 one year ago
I'm stuck into the 1.4 exercise when it asks me to print some equation. How can I do the square root operation correctly in python?
 one year ago
I'm stuck into the 1.4 exercise when it asks me to print some equation. How can I do the square root operation correctly in python?

This Question is Open

zeeporo
 one year ago
Best ResponseYou've already chosen the best response.3First you have to "import math" in order that you can call the square root function "math.sqrt(number)". Or you can try to squaring to the brokennumber 1/2. "number ** (0.5)"

zlatandebian
 one year ago
Best ResponseYou've already chosen the best response.1or you can also do with negative number "number**(2)"

anishgt
 one year ago
Best ResponseYou've already chosen the best response.0@zlatandebian number**(2) is equivalent to : \[\frac{ 1 }{ number ^{2} }\] Not the square root.
Ask your own question
Ask a QuestionFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.