How i can write this in matlab??? x=-1.75*10^-3; y=3.1*pi;
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Serafim Galinschii
le 9 Sep 2020
Commenté : Serafim Galinschii
le 9 Sep 2020
2 commentaires
Star Strider
le 9 Sep 2020
Are you absolutely certain that is ? If not, what is it?
All the other trigonometric functions are spelled out specifically.
Réponse acceptée
Asad (Mehrzad) Khoddam
le 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 commentaires
Asad (Mehrzad) Khoddam
le 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);
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Coder dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!