Why is Cube root of 64 not equal to 4
1 view (last 30 days)
Show older comments
Siddharth Kothari
on 7 Dec 2013
Commented: Siddharth Kothari
on 7 Dec 2013
Seriously, give it a try
A=64;
B=4;
if A^(1/3)==B
fprintf('success')
else fprintf('fail')
end
0 Comments
Accepted Answer
Azzi Abdelmalek
on 7 Dec 2013
Edited: Azzi Abdelmalek
on 7 Dec 2013
A=64;
B=4;
if B^3==A
fprintf('success')
else fprintf('fail')
end
Look at
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!