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

2 Comments

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

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

you can help me write this in optimized form using variables???
What do you mean by "optimized form"? Please be specific about what you're trying to do.
>> a=x*(1+x)^2*(1+2*x)^3;
>> b=log(abs(cot(y)));
>> A=(a+(a/b)^(1/3))^(1/5)
this are optimized form usig variables another example and i need in this form R1,R2
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 Get Started with MATLAB in Help Center and File Exchange

Products

Tags

Community Treasure Hunt

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

Start Hunting!