Community Profile

photo

Sai Hitesh Gorantla


Last seen: 4 years 前 自 2020 起处于活动状态

Followers: 0   Following: 0

统计数据

  • Thankful Level 2
  • First Answer
  • Thankful Level 1

查看徽章

Feeds

排序方式:

提问


MATLAB program to compute the potential in a square region by solving Laplace’s equation using the Finite Difference (FD) approximation method.using the “surf” and “contour” MATLAB commands
My Code: clear all; [X,Y] = meshgrid(linspace(0,1,20)); V = zeros(size(X)); [M,N] = size(V); V(2:M-1,1) = zeros(M-2,1); ...

4 years 前 | 1 个回答 | 0

1

个回答

提问


Finite Difference Method (FDM)

4 years 前 | 0 个回答 | 0

0

个回答

0

个回答

提问


Write a MATLAB program to plot the following: a. The magnitude of the electric field along the central axis of a uniformly charged circular ring of radium 1 m and charge density 1 C/m. Assume that the ring is centred around the Z –axis.
Is my code is correct? Code: lambda = 1; R = 1; k = 9e9; n = input('Enter the value of z:'); z = -n:1:n; E = ((2*pi*k*lam...

4 years 前 | 0 个回答 | 0

0

个回答

提问


Variable Number of Input Arguments
My code: function [too_young] = under_age(age,limit) if age<21 too_young = true; else too_young = false; end if a...

4 years 前 | 5 个回答 | 0

5

个回答

提问


converts a point in cartesian to cylindrical and spherical cooridantes(error:getting same answer in cylindrical & spherical coordinates)
code: function [Pcyl Psph] = cart2cylsph(Pcart) % converts a point in cartesian to cylindrical and spherical cooridantes % in...

4 years 前 | 1 个回答 | 0

1

个回答

提问


cart to cyl (getting error of Not enough input arguments.)
function [Pcyl] = cart2cyl(Pcart) % input and output as 3 by 1 vectors x=Pcart(1); y = Pcart(2); z= Pcart(3); rho= ...

4 years 前 | 1 个回答 | 0

1

个回答

提问


the Trapezoidal rule for approximate integration

4 years 前 | 0 个回答 | 0

0

个回答

提问


Cart to cyl and spherical
Write a MATLAB program to accept the Cartesian coordinates of a point as a 3 by 1 column vector and return the Cylindrical and S...

4 years 前 | 0 个回答 | 0

0

个回答

提问


Hi, check this question
Two 1 nC point positive charges are located at (-1, 0, 0) m and (1, 0, 0) m respectively. Write a MATLAB script to plot the magn...

4 years 前 | 1 个回答 | 0

1

个回答