You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
280 B

2 years ago
/*
a
b
b-(a-b) = 1/3 * a
a+(a-b)= 3 * b-30
b-a+b=1/3 *a => 2b=4/3a => 4b=8/3a
2a-b=3b-30 => 4b=2a+30
8/3a=2a+30 => 8/3a-2a=30 =>8a-6a=90 => 2a=90 => a=45
b=30
4530
*/