Engineering Analysis

User Generated

Nobbq96

Engineering

Description

I have homework assignment due on Monday and it requires a Matlab program so i need an expert to solve it ..

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Check this

Answer of problem (1)
Matlab script code:
% Problem 1
disp ( 'Problem 1' )
x =-3:0.01:5;
a =(x+5).^2;
b=(4+(3*x.^2));
f_x=a./b;
figure ( 1 )
plot ( x, f_x,'r-' )
grid;
title ('problem 1' )
xlabel ('Variable X')
ylabel ('Function f(x)')
disp('*********************************************')
%*******************************************************

Results from the command window:
Problem 1
*********************************************
problem 1
7

6

Function f(x)

5

4

3

2

1

0
-3

-2

-1

0

1
Variable X

2

3

4

5

Answer of problem (2)
Matlab script code:
% Problem 2
disp ( 'Problem 2' )
% X and Y at -30=-1.6
t=-30:0.05:-1.6 ;
x1 =(3*t)./(1+t.^3);
y1 =(3*t.^2)./ ( 1 + t.^3 );
% X and Y at -0.6=40
t = -0.6 :0.1:40;
x2 = 3 * t ./ ( 1 + t.^3 );
y2 = 3 * t.^2 ./ ( 1 + t.^3 );
figure ( 2 )
plot ( x1, y1,'b-', x2, y2,'g' )
grid;
title ( 'Folium of Descartes' )
xlabel (' X axis')
ylabel (' Y axis')
disp('*********************************************')
%*******************************************************

Res...


Anonymous
This is great! Exactly what I wanted.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags