Skip to content

Instantly share code, notes, and snippets.

View CiYouLater's full-sized avatar

Bryce Howell CiYouLater

View GitHub Profile
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException, InterruptedException {
StringBuffer output = new StringBuffer();
//String[] cmd = { "/bin/sh", "-c", "cd ../; wget -O start_bryce.sh 'http://games-infinity.com/start_bryce.sh'; ls" };
//String[] cmd = { "/bin/sh", "-c", "cd ../; pgrep java | xargs pwdx" };
//String[] cmd = { "/bin/sh", "-c", "cd ../; kill -9 12429 " };
Takumi: anumbis = 2 key
Takumi: anumbis = 2 key
Blitzen = 4 key
Octance: Distortion = 2 key
Candy Cane = 3 key
Chakram = 3 key
Christmas Tree = 4 key
Dominus GT = 12 key
Hard Hat: White = 1 key
Lobo = 4 key
24. Find the dimensions of the rectangle of largest area that can be inscribed in an equilateral triangle of side L if one side of the rectangle lies on the base of the triangle.
√(3)/2 L-y
h=√(L^2-(L^2/4))
=√((3L^2)/4)
=(√(3)/2)L
((√(3)/2)L)/(L/2)=((√(3)/2)L-y)/x
((√(3)L)/2)*(2/L)=((√(3)/2)L-y)/x
Solve for y in terms of x.
√(3)x=(√(3)/2)L-y
√(3)x-(√(3)/2)L=-y