Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Derivation Case No. X Z Y XXXXXXXXXX64e-15 XXXXXXXXXX89e-15 XXXXXXXXXX148e-15 XXXXXXXXXX3e-15 Case No. ? ? 1 2 3 4 2 2 2 4 4(4 1) ( ) X A X XYZ    XXXXXXXXXX 2 2 2 2 XXXXXXXXXX ) XXXXXXXXXX ) X Y...

1 answer below »
Derivation
Case No. X Z Y
XXXXXXXXXX64e-15
XXXXXXXXXX89e-15
XXXXXXXXXX148e-15
XXXXXXXXXX3e-15
Case No. ? ?
1
2
3
4
2 2 2
4
4(4 1) ( )
X
A
X XYZ

 
XXXXXXXXXX
2 2 2 2
XXXXXXXXXX )
XXXXXXXXXX )
X Y X X XZ Z X Y X Z XZ X Z
B
X Y X XZ Z
 

       

   
XXXXXXXXXX  
Please write a MATLAB program to plot a surface based on A(X,Y) and B(X,Y), Z will be set as a constant, instead X and Y
are variables. Hence, there will be four plots to go, as Z = 3000, 1500, 1000, 700
Range of X and Y will be (Each of the variable will have 20 points in the given range)
X = [0.1, 5]
Y = [30e-15,300e-15]
Answered Same Day Aug 08, 2021

Solution

Swapnil answered on Aug 09 2021
155 Votes
clear all;
clc;
x = linspace(0.1,5,20);
y = linspace(30*power(10,-15),300*power(10,-15),20);
w = 2.388*power(10,11);
[X Y] = meshgrid(x,y);
%for z = 3000
z = 3000;
for i=1:20
A(i) = (4*x(i))/(sqrt(4*power((4*x(i) + 1),2)+power(w,2)*power(x(i)*y(i)*z,2)));
B(i) = sqrt(4*power(x(i),2)*(2*power(w*y(i),2)*x(i)*((x(i)+3*x(i)*z+z)+3*x(i)+1))+power(w*y(i),2)*power((6*power(x(i),2)*z -x(i)*z - x(i) - z),2))/ (power(3*x(i)+1,2) + power(w*y(i),2)*power((x(i) + 3*x(i)*y(i) + z),2));
end;
[A A] = meshgrid(A,A);
[B B] = meshgrid(B,B);
subplot(4,2,1)
surf(X,Y,A);
title('A (z=3000)');
xlabel('X axis');
ylabel('Y axis');
subplot(4,2,2)
surf(X,Y,B);
title('B (z=3000)');
xlabel('X axis');
ylabel('Y axis');
clear A;
clear B;
%for z =...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here