Got Homework?
Connect with other students for help. It's a free community.
Here's the question you clicked on:
← 55 members online
 0 viewing
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?
 5 months ago
 5 months 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?
 5 months ago
 5 months ago

This Question is Open

zeeporoBest ResponseYou've already chosen the best response.3
First 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)"
 5 months ago

zlatandebianBest ResponseYou've already chosen the best response.1
or you can also do with negative number "number**(2)"
 5 months ago

anishgtBest ResponseYou've already chosen the best response.0
@zlatandebian number**(2) is equivalent to : \[\frac{ 1 }{ number ^{2} }\] Not the square root.
 5 months ago
See more questions >>>
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.