How i can write this in matlab??? x=-1.75*10^-3; y=3.1*pi;

2 views (last 30 days)
  2 Comments
Star Strider
Star Strider on 9 Sep 2020
Are you absolutely certain that is ? If not, what is it?
All the other trigonometric functions are spelled out specifically.

Sign in to comment.

Accepted Answer

Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam on 9 Sep 2020
R1 = abs(x).*(x+tan(y))./(50*x.^2+abs(sin(y))).^(1/3)+(5*x.^2+abs(sin(y))).^2.2./(x.^2 .* (x+tan(y)).^4);
R2 = sinh(sqrt(2*x+(sin(y).^2))./((x+log(abs(tan(y)))).^(1/3)+abs(x)))-(x+log(tan(y))+cos(y))./(2x+(sin(y).^2)).^(1/3);
  5 Comments
Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam on 9 Sep 2020
sy = sin(y);
xt = x + tan(y);
xtn = x + log(abs(tan(y)));
tx = 2*x+sy.^2;
R1 = abs(x).*xt./(50*x.^2+abs(sy)).^(1/3)+(5*x.^2+abs(sy)).^2.2./(x.^2 .* xt.^4);
R2 = sinh(sqrt(tx)./xtn.^(1/3)+abs(x)))-(xtn+cos(y))./tx.^(1/3);

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!