+ 3

Mike's Challenge Series #1

Code a solution to this problem with any language of your choice. Question: A network tower has a range of 0.35 miles, and is located 1.75 miles from your WIFI access point which has a range of 0.02 miles. Display the area of positions you can access both your WIFI and Network signals in metres. HINT: ()

21st Oct 2017, 7:01 PM
Lil Machina
Lil Machina - avatar
13 Answers
22nd Oct 2017, 8:04 PM
Lil Machina
Lil Machina - avatar
+ 8
Will you please elaborate?
21st Oct 2017, 8:44 PM
Kartikey Sahu
Kartikey Sahu - avatar
+ 5
Can WiFi access point be move?
22nd Oct 2017, 1:59 PM
Kartikey Sahu
Kartikey Sahu - avatar
+ 4
() this hint means something, the shape of the area you can access both signals.
21st Oct 2017, 9:52 PM
Lil Machina
Lil Machina - avatar
+ 4
+Yash thatte exactly, that's the venn diagram. Most problems are solved with paper before code. But what's your use as a programmer if you can't solve problems with code.
22nd Oct 2017, 1:57 PM
Lil Machina
Lil Machina - avatar
+ 3
+Yash Thatte Correct !!! Where's the link to the code ? that's what i want to tick.
22nd Oct 2017, 5:13 PM
Lil Machina
Lil Machina - avatar
22nd Oct 2017, 5:27 PM
CĂ©pagrave
CĂ©pagrave - avatar
+ 3
+Cpasgrave Pls can you add this to the "Else" part of your code. #for python only # make sure you import math h=((tr+wr)-d)/2 Ax=(tr*tr)*math.acos((tr-h)/tr)-(tr-h)*math.sqrt((2*tr*h)-(h*h)) Az=(wr*wr)*math.acos((wr-h)/wr)-(wr-h)*math.sqrt((2*wr*h)-(h*h)) A=Ax+Az print("Area available is...") print(A) print("And in metres") Area=A*1609.344 print(Area)
22nd Oct 2017, 7:50 PM
Lil Machina
Lil Machina - avatar
+ 2
+ kartikey sahu Yes
22nd Oct 2017, 8:04 PM
Lil Machina
Lil Machina - avatar
+ 2
@Michael Abia Just done it, adding units. I didn't check it, I'm working on something else right now. You are sure about the calculation ? You finally resolve your own challenge if it's right : ) We are waiting for challenge #2 then thanks
22nd Oct 2017, 8:12 PM
CĂ©pagrave
CĂ©pagrave - avatar