I am getting error after submitting as,
"We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly"
But completion bar has been incremented.
Thanks and Have a Good DaY
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.
it is just iteration of 3 sides using perimeter and summing up the three iteration variable for perimeter check then for right angle triangle check (Pythagoras)...
Hope this helped you...(:
while B < 1000
B = B+1;
C = sqrt((A^2) + (B^2));
perimeter = A+B+C;
c(end+1,:) = [A,B,C];
Thank you :)
Works, but is horribly inefficient especially for higher p...
solution using a Neural Network Toolbox function ;)
Select every other element of a vector
Matrix indexing with two vectors of indices
Natural numbers in string form
Convert radians to degrees
Calculate a Damped Sinusoid
Determine if a Given Number is a Triangle Number
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
Roll the Dice!
Project Euler: Problem 16, Sums of Digits of Powers of Two
Find the treasures in MATLAB Central and discover how the community can help you!
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