Learn more about our help with Assignments: Matlab

MatLAB

Evaluate the series 1 − 1 3 + 1 5 − 1 7 + 1 9 − ... + 1 1001 .

MatLAB

The command etime takes as input two 6-dimensional row vectors. Use the help facility for etime

and emphasize to find out more. Then find the number of seconds between 09h 27m 35s on 17

February 2002, and 17h 49m 02s on 23 August 2006

MatLAB

Generate 1 Hz , 5 Hz and 10 Hz signals with amplitudes 3, 2, 1

NB:Sine Waves

- A game where the user has to try to form the longest dictionary word from a set of random letters (vowels and consonants).

This is the criteria:

The code that you use to produce that application must use a combination of at least two of:

Loops

Vectors or Arrays

Conditional execution

Optionally, your code might embed:

Functions.

Visualisation of data

MatLAB

Make an octave code to find the root of cos(x) – x * e x = 0 by using bisection method. The answer should be corrected up to four decimal places.

MatLAB

. Make an octave code to integrate e* with respect to dx from 0 to 1, by Simpson’s ⅓ rule. Divide the limits into 6 equal parts.

MatLAB

You are designing a spherical tank, as shown in figure below, to hold water for a sonll village in

a developing country. The volume of liquid it can hold can be compuned as

V=pi*h2*

(3R-h)/3

where V is the volume of water in the tank in m3, b is the height of water in the tank in m, R is

the radius of tank in m. If R is 3m and V is 30 m.

Formulate the equation in terms of height (h), from above generalized equation, representing the

present situation

Use the correct built-in function in MATLAB to determine all possible values of height (h) that

will satisfy the formulated equation i.e. determine all possible roots of the formulated equation.

From those values height (h) which one is the correct and why?

MatLAB

11. The battery life of a certain battery is normally distributed with a mean of 90 days and a standard deviation of 3 days.

For each of the following questions, construct a normal distribution curve and provide the answer.

a) About what percent of the products last between 87 and 93 days?

b) About what percent of the products last 84 or less days?

For each of the following questions, use the standard normal table and provide the answer.

c) About what percent of the products last between 89 and 94 days?

d) About what percent of the products last 95 or more days?

MatLAB

FWHM = 2𝜎sqrt2ln2

(v) Compare the theoretical and the experimental results of FWHM. (5)

(vi) What are the theoretical and experimental values of 𝒚 at FWHM? (5)

MatLAB

Write a MatLab program to find the value of ×, y and z using Gauss-Elimination method in

the following equations

2x+4y + 2 - 3;

3x+2y - 2z= -2;

x-y+z=6.