Skip to content
Sign upLog in
Profile icon

SHASHANK SHARMA

@Shashank30xx
Repls
Community
Shashank30xx
Shashank30xx
published an Update
11 months ago
0
peteigor
peteigor
Math domain error?
New to python Tried to create pythagerous theorum programm that will output the hypostheous given sides A and B (a^2+b^2=c). Worked after some assistance Now tried to find a side leghnt given hypothenous and side leghnt. If the variabe we are trying to find is let's suppose b in the equation, it will be: b=sqrt(-a^2+c^2) How would I write this in python without getting some math domain error?
Shashank30xx
Shashank30xx
published an Update
11 months ago
0
Need help
Tried to create model of pythagerous theourum, in which if i put a and b it gives me c. keeps giving me 2.2. regardless. help
Shashank30xx
Shashank30xx
@qup thank you 11 months ago
Nava10Y
Nava10Y
@Shashank30xx heres my version https://replit.com/@Nava10Y/RepentantImpressionableProspect-Shashank30xx11 months ago
Shashank30xx
Shashank30xx
@Nava10Y thank you11 months ago