Assignment NO.01 Spring 2020

Total Marks: 20 Due Date: 15-06-2020

Write the code of the given problems in Script File with .m extension

You can directly upload the .m file or you can paste the code and output in word file and then upload the word file.

Question # 1

In parametric form the circle of radius 1 centered at (0, 0) can be expressed in parametric form

as x = cos(2 π t) and y = sin(2 π t) where t is from 0 to 1.

Graph the circle with given parametric equations in MATLAB with 1. plot function

2. ezplot function

Question # 2

22222

Draw the contour plot of lemniscate x − y = (x +y ) . You can take any range for the

meshgrid.

Question # 3

Find the sixth derivative of the following given function using MATLAB

f (x) = sin(4x2 3) + ]]>

Assignment NO.01 Spring 2020

Total Marks: 20 Due Date: 15-06-2020

Write the code of the given problems in Script File with .m extension

You can directly upload the .m file or you can paste the code and output in word file and then upload the word file.

Question # 1

In parametric form the circle of radius 1 centered at (0, 0) can be expressed in parametric form

as x = cos(2 π t) and y = sin(2 π t) where t is from 0 to 1.

Graph the circle with given parametric equations in MATLAB with 1. plot function

2. ezplot function

Question # 2

22222

Draw the contour plot of lemniscate x − y = (x +y ) . You can take any range for the

meshgrid.

Question # 3

Find the sixth derivative of the following given function using MATLAB

f (x) = sin(4x2 3) + ]]>

Question # 1

In parametric form the circle of radius 1 centered at (0, 0) can be expressed in parametric form

as x = cos(2 π t) and y = sin(2 π t) where t is from 0 to 1.

Graph the circle with given parametric equations in MATLAB with 1. plot function2. ezplot function

Answer 1:

t= 0:0.01:1;

x = cos(2pit);

y = sin(2pit);

plot(x,y)

And for figure 2:ezplot(‘x^2+y^2=1’)

Answer 1:

Using plot

Using ezplot:

Question # 2

22222

Draw the contour plot of lemniscate x − y = (x +y ) . You can take any range for the

meshgrid.

Answer 2:

x = linspace(-2

pi,2pi);

y = linspace(0,4*pi);

[X,Y] = meshgrid(x,y);

Z = X-Y-(X+Y);

contour(X,Y,Z)

]]>Question # 3

Find the sixth derivative of the following given function using MATLAB

f (x) = sin(4x2 3) +

Answer 3:syms x

f = sin(4*x^2/3);diff(f,6)

We get:

ans =

(163840x^4cos((4x^2)/3))/81 - (2560cos((4x^2)/3))/9 + (20480x^2sin((4x^2)/3))/9 - (262144x^6sin((4*x^2)/3))/729https://www.coursehero.com/qa/attachment/12556913/https://www.coursehero.com/qa/attachment/12557005/https://www.coursehero.com/qa/attachment/12557153/

]]>In parametric form the circle of radius 1 centered at (0, 0) can be expressed in parametric form

as x = cos(2 π t) and y = sin(2 π t) where t is from 0 to 1.

plz share the sol of MTH643

We provides only idea solution. We can hire a teacher for you if you want complete solution.

]]>plz written sol today is extend day

@Malik-Qasim said in MTH643 Assignment 1 Solution and Discussion:

plz written sol today is extend day

We are trying best please wait. its paid assignment but we are trying to provide FREE ASAP!

]]>