I think, the statement of the problem is not complete. The reference problem is not available. I know very well about right angle triangles but I do not have the idea on how to find the solutions. Please help me out.
while B < 1000
B = B+1;
C = sqrt((A^2) + (B^2));
perimeter = A+B+C;
c(end+1,:) = [A,B,C];
Works, but is horribly inefficient especially for higher p...
solution using a Neural Network Toolbox function ;)
Back and Forth Rows
Compute a dot product of two vectors x and y
Multiples of a Number in a Given Range
Largest Twin Primes
Find the Oldest Person in a Room
English to Pig Latin Translator
Check to see if a Sudoku Puzzle is Solved
Return the first and last character of a string
Project Euler: Problem 16, Sums of Digits of Powers of Two
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office