about | help | code help+videos | done | prefs |
findThirdSize
Create a method: public double findSize (double sideA, double diagonal) that will take in a side and diagonal of a triangle and find the third side, which is calculated by: Squaring both and subtracting sideA squared from diagonal squared, then square rooting. So 3,5 -> 25-9=16 square rooted is 4 findThirdSize(3, 5) → 4.0 findThirdSize(5, 13) → 12.0 findThirdSize(8, 10) → 6.0 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy