You are on page 1of 4

Alert when this question is answered

× ★★★★★ GE T APP
4,500+ five-star reviews

  Textbook Solutions Expert Q&A 

home / study / engineering / mechanical engineering / mechanical engineering questions...


Find solutions for your homework

Question: 1. (First order ordinary differential equation) The rate


at which a radioactive substance decays ...

Show transcribed image text

Expert Answer

asdads
answered this

a)
at t= 0, N = 1000

b)

By FDM

Here

This formula can be used to iterate from t = 0 to 10 seconds.

c)

Matlab Code:

clear;clc;
t = 0:0.2:10;

ya = 1000*exp(-0.1.*t);

yb = zeros(51,1);
yb(1) = 1000;

for i = 1:50
yb(i+1) = (yb(i))/1.02;
end

[t,yc] = ode45(@deriv,t,1000);

plot(t,ya,'o');
hold on;
plot(t,yb,'.');
hold on;
plot(t,yc,'-');
hold on;
legend('a','b','c');

function dndt = deriv(t,N)

dndt = - 0.1*N;
  
end

d)

for N to become 500

it takes 6.9 seconds.

It can be clearly seen from the graph

Since all three method closely follow each other, they end up with same result.

0 Comments

Was this answer helpful? 1

0
Up next for you in Mechanical Engineering

4. (Interpolation) The ! Required information A


upward velocity of a fractal is a curve or
rocket is given as a geometric gure, each
unction of time in Tabl… part of which has the sa…
See more quest
for subjects you s

See answer See answer

Questions viewed by other students


(First order ordinary differential equation) Amy models the instantaneous water height h(t) in the water
tank as given in the following 2d d th e t , 0 ≤ t ≤ 2. Initial water height is 0 [m], i.e., ho = 0 [m] at t =
0 s. She would like to predict the water height as a function time, t. Use t = 0.05 s. (a) Determine the
water height h(t), using analytic approach. (0.5 pt) (b...
See answer

Numerical method question


See answer

Show more 

COMPANY

LEGAL & POLICIES

CHEGG PRODUCTS AND SERVICES

CHEGG NETWORK

CUSTOMER SERVICE

© 2003-2020 Chegg Inc. All rights reserved.

You might also like