Got Homework?
Connect with other students for help. It's a free community.
Here's the question you clicked on:
 0 viewing
Nazzareno
Group Title
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
 one year ago
Nazzareno Group Title
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
 one year ago

This Question is Open

zeeporo Group TitleBest 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)"
 one year ago

Nazzareno Group TitleBest ResponseYou've already chosen the best response.0
Perfect! Thx! :D
 one year ago

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

anishgt Group TitleBest ResponseYou've already chosen the best response.0
@zlatandebian number**(2) is equivalent to : \[\frac{ 1 }{ number ^{2} }\] Not the square root.
 11 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.