Вы находитесь на странице: 1из 3

##################>###

#################N###########P###########M#########

#[
########################bjbj######################
####
##pa!\pa!\#######################
############################################################>#######>#####
##############################################################b###\###
#######2###########f#######f#######f#######f#######%######%######
%#######2######
2######
2######
2######
2######
2######
2##$###)4#####6#####.2#############################%######################
%##@###%######%######
%######.2##############>#######>#######f###############f###K
##C2######)######)######)######%##|
###>###R###f##############f########2##############)##############################
########################
%#######2##############)######)##V###0##@######"###############################
####################################l1######f############(QV############
#m&##0###0##

###########1######Y2##0###2######0##x###u7######'#####u7######l1##############
################################################################u7################
#####l1#####%######%######)######%######
%######################################%######%######
%######.2######.2######################################')##^#######################
############%######%######%######2######%######%######%######
%##################################################
########################################u7#####
#%######%######%######%######%######
%##############################################################%######%######
%#########>

######:#########
###################################################################################
###################################################################################
###################################################################################
###################################################################################
###################################################################################
#########
FCM2043/FDM2043 - COMPUTATIONAL METHODS JANUARY
2015 S EMES TERMATLAB AS S IGNMENT/TES T QUES TIONS Q1.
Develop an M-file to
implement the bisection method. Using this program solve the following problem.
The velocity of falling parachutist is given as# EMBED Equation.3 ###.
Where # EMBED Equation.3 ###= velocity of parachutist = # EMBED Equation.3
###,
# EMBED Equation.3 ###= gravitational constant = # EMBED Equation.3
###,
# EMBED Equation.3 ###= the mass of the parachutist = # EMBED
Equation.3 ###.Find the drag coefficient, c at the time # EMBED Equation.3 ###
seconds using the initial bracket of the root as [13, 16] and iterate until # EMBED
Equation.3 ###%.Q2.
Develop an M-file to implement the falseposition method.
Using this program solve the following problem.
The velocity of falling
parachutist is given as# EMBED Equation.3 ###. Where # EMBED Equation.3 ###=
velocity of parachutist = # EMBED Equation.3 ###,
# EMBED Equation.3 ###=
gravitational constant = # EMBED Equation.3 ###,
# EMBED Equation.3 ###=
the mass of the parachutist = # EMBED Equation.3 ###.Find the drag coefficient, c
at the time # EMBED Equation.3 ### seconds using the initial bracket of the root
as [13, 16] and iterate until # EMBED Equation.3 ###%.Q3. Locate the root of #
EMBED Equation.3 ###
(a)
Using the MATLAB function fzero with an initial guess
of # EMBED Equation.3 ###.
(b)
Using Newton-Raphson method by
writing a function M-file. Use an initial guess of # EMBED Equation.3 ### and
iterate until # EMBED Equation.3 ###%.Q4.
Develop an M-file to implement the
modified secant method. Using this program determine the loest positive root of #
EMBED Equation.3 ### with an initial guess of # EMBED Equation.3 ### and # EMBED
Equation.3 ###. Iterate until# EMBED Equation.3 ###.Q5. Find the solution of the
following set of linear algebraic equations# EMBED Equation.3 ###Using the leftdivision \.Using Gaussian elimination.Using the LU decomposition.[Hint: S ince [LU]x
= b, let [U]x = y, so that [L]y = b. Now, first solve for y and then for x.]Q6.
Develop a function M-file Tridiag.m to solve the following tridiagonal system
with the Thomas algorithm.# EMBED Equation.3 ###
Thomas Algorithm:
Decomposition:# EMBED Equation.3 ### and# EMBED Equation.3 ###, where # EMBED
Equation.3 ###.Forward substitution:# EMBED Equation.3 ###, where # EMBED
Equation.3 ###.Back substitution:# EMBED Equation.3 ###
and #
EMBED Equation.3 ###, where # EMBED Equation.3 ###. Using your program, solve the
following tridiagonal system.
# EMBED Equation.3 #### EMBED Equation.3 ####
EMBED Equation.3 ###=# EMBED Equation.3 ###Q7.
Develop a MATLAB script file
to determine the solution of the following system of linear equations using the
Gauss-S eidel iteration method by performing first seven iterations.# EMBED E

Вам также может понравиться