Calculate the integration along the given path

Assignment Help MATLAB Programming
Reference no: EM13491411

1. Roots of Polynomial.

p(x) = x5 - 2x + 3

(a) Demonstrate how to store the above polynomial as p = . . . in Matlab.
(b) Find the roots of the stored polynomial and show as r = . . . .

2. Find the roots of the following function.

f(z) = z2 + 2iz +3

3. Recall integration by the use of the path along C using the parametric representation.

2453_Roots of Polynomial.png

Now we have a complex function f(z) = z22z + 1 and the contour C expressed as x = y2+ 1; ( 2 < y < 2) .

(a) Find a parametric representation of C using Matlab ( Let y = t. ).

This means that you need to find z(t).
First define y using t and then x.
You can then use the command the simple to define z.

(b) Store the given function f(z) as f = . . . and define the integrand (left hand side of the integral symbol) using the given definition as Integrand = . . . .

(c) Calculate the integration along the given path using the int command as F = . . . . You need to convert the result to a numerical answer using the double command.

4. You can generate random numbers using Matlab command. Type,

randn('seed', 1);
x=randn(1000,1);
y=randn(1000,1);

Now calculate the following values.
(a) the mean of x;
(b) the median of x;
(c) the standard deviation of x;
(d) the interquartile range of x;
(e) the correlation matrix of x; y
(f) plot a histogram of x; with 50 intervals.

Reference no: EM13491411

Questions Cloud

Determine the kinetic energy of the cart : A 2.0 kilogram cart is initially at rest on a level floor. Determine the kinetic energy of the cart after a constant horizontal 8.0 newton force is applied to the cart over a distance of 1.5 meters
Prepare the adjusting entry for accrual interest : Purchased 90, 6%, $1,000 MarksCompanybondsfor $90,000 cash plusbrokeragefees of $950. Interest is payable semiannually on July 1 and January 1.
Define the net ionic equation for the reaction : The net ionic equation for the reaction, if any, which occurs when aqueous solutions of manganese(II) chloride and sodium carbonate are mixed is
Determine the weight of the object : An object is suspended on a frictionless inclined plane by a rope parallel to the incline, as illustrated above. what is the weight of the object
Calculate the integration along the given path : define the integrand using the given definition as Integrand - Find a parametric representation of C using Matlab
Find the travelers total displacement : A traveler first drives 18.8 km east, then 31.8 km southeast, and finally 11.1 km south. Find the traveler's total displacement
Explain a common driving force in displacement reactions : a common driving force in displacement reactions? a. precipitation b. evolution of a gas c. formation of a weak or nonelectrolyte d. the transfer of electrons
Post the individual entries and totals to the general ledger : ACC200 Accounting Systems - 201290. Determine that the subsidiary ledgers agree with the control accounts in the general ledger. g.  The following adjustments at the end of February are necessary.
What is the resultant force of air resistance : A 1500 kg car moving on horizontal roa with speed of 30 m/s coasts to a stop in 1800 m, once the motor is turned off. What is the resultant force of air resistance

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Create a function that returns true i

Create a function that returns true if the input is a numeric matrix and false otherwise.

  Consider a cstr with a feed stream

Consider a CSTR with a feed stream containing only A at a concentration of cA and the reactions A?B?C taking place in the CSTR. Both reactions are first order in the reactant

  Considering the integral

Using the code, generate the first 40 terms: show the result using the format long e. Comment about your results.

  Write a matlab function newtonraphson

Write a MATLAB function newtonRaphson(fx, x0, sigfig, maxIT) that will return a root of the function f(x) near x=x0 using the Newton-Raphson method, where sigfig is the accuracy of the solution in terms of significant figures

  An efficient human identification using gait analysis

An Efficient Human Identification Using Gait Analysis, Apply specific approach for Pattern Recognition,Implement this approach in MATLAB,Compare and discuss the results with others.

  Write a function that takes a list of integers as argument

Write a function that takes a list of integers as argument and returns a pair consisting of the sum of the even positions and the sum of the odd positions of the list. You should not use any auxiliary functions.

  Vb and matlab to calculate the cumulative days

Create a function TotalDaysMonth(intYear, intMonth, strIndOrCum) in both VB and Matlab to calculate the cumulative days or number of days in a given month, depending on inputs, by employing array vector in VB or a vector matrix in Matlab.

  Anatomy of a machine

Need a Machine Learning application written in matlab to be able to predict, based on certain selected features of wine, which variants of wine are likely to score above a 5 out of 10 quality score.

  Integration and random numbers

assemble 1,000 bolt + hole combinations. The bolts have a mean diameter of 1.000 cm, normally distributed with standard deviation of 0.010 cm. The holes have a mean diameter of 1.030 cm, normally distributed with standard deviation of 0.015 cm.

  Coding(using for and while loop)

coding(using for and while loop)

  Compute the eigenvalues and eigenvectors of the matrix

Compute the eigenvalues and eigenvectors of the matrix

  Division by zero is not possible

You must also ensure that division by zero is not possible. If the user tries to divide by zero, the calculation should not be attempted, and an error message should appear in the Result text box.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd