como resolver este en matlab

回答 (2 件)

Walter Roberson
Walter Roberson 2024 年 11 月 21 日

0 投票

exp(x.^2 + y.^2)

3 件のコメント

Mauricio
Mauricio 2024 年 11 月 21 日
clc
clear
syms x y;
f = exp(x.^2 + y.^2);
I_dx =int(f,x,1,6)
I_dxdy= int(I_dx,y,-6,8)
respuesta
I_dx =
-(pi^(1/2)*exp(y^2)*(erfi(1) - erfi(6)))/2
I_dxdy =
-(pi*(erfi(6) + erfi(8))*(erfi(1) - erfi(6)))/4
Mauricio
Mauricio 2024 年 11 月 21 日
intento resolver esta integral doble y no me da ningun resultado
Walter Roberson
Walter Roberson 2024 年 11 月 21 日
-(pi*(erfi(6) + erfi(8))*(erfi(1) - erfi(6)))/4 is the result of the double integration. It is the exact result.
If you want a numeric approximation to the result, then use
double(I_dxdy)
or else use
sympref('FloatingPointOutput', true)
but I do not recommend doing that.

サインインしてコメントする。

Image Analyst
Image Analyst 2024 年 11 月 21 日

0 投票

What do you want to do? Plot it? Integrate it over some area?
¿Qué quieres hacer? ¿Graficarlo? ¿Integrarlo en alguna zona?
fontSize = 16;
X = linspace(0, 2, 100);
Y = linspace(0, 2, 100);
[x, y] = meshgrid(X, Y);
z = exp(x.^2 + y.^2);
surf(x, y, z, 'EdgeColor','none');
colormap('turbo')
colorbar
title('z = exp(x.^2 + y.^2)', 'FontSize',fontSize)
xlabel('x', 'FontSize',fontSize);
ylabel('y', 'FontSize',fontSize);
zlabel('z', 'FontSize',fontSize);

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

タグ

質問済み:

2024 年 11 月 21 日

コメント済み:

2024 年 11 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by