Questions: 150

Answers by our Experts: 150

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

The half-life of radium is 1600 years, i.e., it takes 1600 years for half of any quantity to decay. If a sample initially contains 50 g, how long will it be until it contains 45 g by power series method?Write a Matlab code for the above problem


315 people have to be transported using buses that have 37 seats. By typing

one line (command) in the Command Window, calculate how many seats will

remain empty if enough buses will be ordered to transport all the people.

(Hint: use MATLAB built-in function ceil.)


given a cylindrical piggy bank with radius g and height y, return the bank's volume


The heart beat rate has to be well regulated to provide enough oxygenated blood

throughout the body and so depends on feedback with the body’s oxygen demand. A simple discrete model of heart beat regulation is given by:


xt+1 = kxt(1 - xt)


Here xt represents the normalised heart beat rate at time t recorded once per minute. That is, the normalisation involves dividing the actual hear rate in beats per minute by 80 beats per minute.


The parameter k is a positive real number (hopefully) greater than 0.


a) Write a MATLAB program using array operations to generate a table (with headings) of the normalised heart beat rate per minute starting at time t = 0 with the value of x0 entered by the user. Run your program with the maximum time set to 30 minutes. Show table and MATLAB code for x0 = 0.1 and k = 2.


My answer:

x=0.1;

beats= A(1,30); 

for k=1:30

A=2x*(1-x);

x=A;

disp(A)

end


(I am getting an error code and I don't know how to solve it please help me!)


Solve this problem using MATLAB RTB commands. No need to solve

manually.

4.1 Find the rotation matrix R, obtained by the ZYZ Euler Angles (30
1. Implement the following system:

4x/dt=y

dy/dt = x-x
Matrix equations. Using the variables created in 2 and 3, find the values of xMat, yMat and
zMat below. Use matrix operators.
a. xMat = (aVec ∙ bVec) ∙ aMat-
b. yMat = (bVec ∙ aVec), note that this is not the same as (aVec ∙ bVec)
c. zMat = |cMat|(aMat ∙ bMat)1, where is the determinant of cMat , and T again
indicates the transpose (use det).
cM
Matrix variables.make the following variables

a. aMat= V a 9x9 matrix full of 2's (use 'ones' or 'zeros').

12

1

b. bMat=1

2

01

a 9x9 matrix of all zeros, but with the values 1-9 on the main

to ... 9
diagonal (use 'zeros', 'diag').

CMat=1_{-5}^{11}
0
2. Vector variables. Make the following variables

a. avec = [3.14 15 9 26]

b. bVec = [2.71 8 28 182], where [] stands for the vector transpose
c. cVec = [5 4.8...-4.8-5] (all the numbers from 5 to -5 in increments of -0.2)
LATEST TUTORIALS
APPROVED BY CLIENTS