Problem 43308. Calculate some equation

Solution 1012689

Submitted on 12 Oct 2016 by qaez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x = 5.3; z = 7.8; y1=(x*z)/(x/z)^2+14*x^2-0.8*z^2 y2=x^z-z^x+(x/z)^2-(z/x)^2 [y11,y22]=your_fcn_name(x,z) assert(isequal(y11,y1)&isequal(y22,y2))

y1 = 434.1261 y2 = 3.9255e+05 y1 = 434.1261 y2 = 3.9255e+05 y11 = 434.1261 y22 = 3.9255e+05

Suggested Problems

More from this Author27

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!