answersLogoWhite

0

Numerical Analysis and Simulation

The study of algorithms for problems related to continuous mathematics

818 Questions

What is a directed graph in discrete mathematics?

A directed graph in discrete mathematics, usually refered to as graph theory, is a collection of nodes that represent information/data, connected together by edges, where the edges are directed as going from one node to another rathen than being a simple link.

For example the road network could be depicted as a complex network, and the vast majority of edges (depicting roads) would not be directed, excluding one way streets, due to roads going in both directions.

Whereas the water network running through a city or county or whatever you choose, would be depicted as a directed network as the water can only flow in one direction. Also, sometimes in cases such as these you will get directed magnitude graphs where the directed edges specify the direction of flow and the numbers attributed to each edge show the maximum capacity through that edge/pipe.

Solve ex-3x2 equals 0 by bisection method?

I'm assuming you're trying to write f(x)=exp(x)-3x2=0 as your function. This has 3 solutions where f(x)=0 between (-0.5,-0.4), (0.85, 0.95) and (3.7, 3.8) I won't find all of the roots, only the one between 3.7 and 3.8 in order to show you the procedure/algorithm.

What we do is choose two points x=a, b on the function where it takes on opposite values. We then find the mid point (a+b)/2 between these values and find the value of the functions at f((a+b)/2) we then choose the smallest interval where the points take on opposite values and repeat until we have a small enough value for x.

We will do our iteration until we get within 0.01 of the solution (i.e. the first number to give an answer between -0.01 and 0.01) and i will be using c instead of writing out (a+b)/2 all the time.

iteration 1: a=3.7 b=3.8 c=3.75 f(c)=0.3335 +ve

iteration 2: a=3.7 b=3.75 c=3.725 f(c)=-0.155 -ve

iteration 3: a=3.725 b=3.75 c=3.7375 f(c)=0.086 +ve

iteration 4: a=3.725 b=3.7375 c=3.73125 f(c)=-0.035 -ve

iteration 5: a=3.73125 b=3.7375 c=3.734375 f(c)=0.025 +ve

iteration 6: a=3.73125 b=3.734375 c=3.732813 f(c)=-0.005 between -0.01 and 0.01

ONE solution for f(x)=exp(x)-3x2=0 is x=3.732813 (actual value is x=3.733079029 so we have an absolute error of 0.000266029, a relative error of 0.00007126262207 and a percentage error of 0.007126262207%)

Advantage and disadvantage of the Euler method for numerical integration?

The main advantage of the Euler method is that it's one of, if not the most basic numerical method of numerically integrating ordinary differential equations. A downside however is that it can sometimes have a tendancy to be unstable unless you take stupidly small steps in the algorithm, in cases like this there are some other methods that work better.

Who advocated the binary number system?

The binary system is not used because someone advocated it.

It's used because each digital computer is composed of an enormous number of on-off switches. The obvious way of representing 'on-off' in numbers is as one or zero, which is the binary number system.

If you ask why couldn't computers be composed of 10-way switches well that's a matter of electronics. It would be much more difficult to build those than the two-way switches.

What numbers complete 1 3 4 6 9 12 16?

It looks like the sequence containing only powers of two or three or both, excluding odd powers of two.

1 is 20 or 30 so it's included.

2 is 21 so it's not included.

3 is 31 so it's included.

4 is 22 so it's included.

5 is 51 so it's not included.

6 is 2131 so it's included.

And so on.

The next number should be 18.

What is the volume of 5000kg of water?

The density of pure water at +4 degrees C, is 1 g/ml. The volume, then, of 5000 kg of water is 5000 liters.

What is the significance of 992?

It's just a number. If you meant to ask how many significant numbers there are in 992, the answer is 3. There are only 3 digits written in 992.

How do you write 10 micro liter numerically?

10 uL (instead of "u", the Greek letter "mu" should actually be used, if possible).

Or, convert to liters: 0.00001 L

How do you calculate percentage error for density of pennies?

Percent error refers to the percentage difference between a measured value and an accepted value. To calculate the percentage error for density of pennies, the formula is given as: percent error = [(measured value - accepted value) / accepted value] x 100.

What are all the ways you can arrange a line of eleven people?

If this is a homework assignment, please consider trying to answer it yourself first, otherwise the value of the reinforcement of the lesson offered by the assignment will be lost on you.

The possible ways of arranging a line of eleven people is equivalent to the number of permutations of eleven things taken eleven at a time. That is eleven factorial, or 39,916,800.

What does biodmas mean?

BIDMAS (not BIODMAS) is a acronym to help people remember the order in which arithmetical operations must be evaluated.

In the US it is better know as PEMDAS.

Brackets (Parentheses)

Index (Exponent)

Division

Multiplication

Addition

Subtraction

D and M are given the same priority and evaluated from left to right (and hence the reversal in the US acronym).

A and S are given the same priority and evaluated from left to right

What are all the properties of division?

Properties of division are the same as the properties of multiplication with one exception. You can never divide by zero. This is because in some advanced math courses division is defined as multiplication by the Multiplicative Inverse, and by definition zero does not have a Multiplicative Inverse.

What is the rate of convergence for an iteration method?

The rate of convergence of an iterative method is represented by mu (μ) and is defined as such:

Suppose the sequence{xn} (generated by an iterative method to find an approximation to a fixed point) converges to a point x, then

limn->[infinity]=|xn+1-x|/|xn-x|[alpha]=μ,where μ≥0 and α(alpha)=order of convergence.

In cases where α=2 or 3 the sequence is said to have quadratic and cubic convergence respectively. However in linear cases i.e. when α=1, for the sequence to converge μ must be in the interval (0,1). The theory behind this is that for En+1≤μEn to converge the absolute errors must decrease with each approximation, and to guarantee this, we have to set 0<μ<1.

In cases where α=1 and μ=1 and you know it converges (since μ=1 does not tell us if it converges or diverges) the sequence {xn} is said to converge sublinearly i.e. the order of convergence is less than one. If μ>1 then the sequence diverges. If μ=0 then it is said to converge superlinearly i.e. it's order of convergence is higher than 1, in these cases you change α to a higher value to find what the order of convergence is.

In cases where μ is negative, the iteration diverges.

What does the exclamation point symbolize in a math equation?

The exclamation point in a math equation symbolizes the factorial function. The factorial of an integer > 0 is the product of that integer and all of the integers between 1 and that integer. For instance 7! is 7 * 6 * 5 * 4 * 3 * 2 * 1, or 5040. The special case of 0! is defined as 1.

Why is numerical differentiation unstable as an approximation method?

it is unstable as an approximation method due to round-off errors involved and the fact that it involves taking a limit of h->0. Doing this for an iteration method is a really bad idea because as h gets very close to 0, say h=1x10-10, f(x0+h) and f(x0) are virtually the same number and subtracting near equal numbers in an iteration formula has the effect of producing huge errors and as such would not give a very reliable answer.

In fact if they are to close the computer can't recognise a difference between the two when doing the algorithm and you end up with 0/h so you don't get an answer at all! It is because of these reasons that taking the formula for numerical differentiation as it is, with the limit of h-> 0, is unstable and not suitable as an approximation method.

It is however, a good place to start. What we do instead is take the formula, but get rid of the limit and make it so we take h at very small values but not so small as to create huge round errors, so values such as h=0.1 or 0.001 or something like that. Then to get the answer we obtain from the formula more accurate, we apply a truncation error to it. i.e. we subtract a small amount from it to get it closer to the answer. This error correction term is f''([xi])|h|/2 where x0<[xi]

f'(x0)=(f(x0+h)-f(x0))/h - (h/2)*f''([xi])

This is known as the forward-difference formula if h>0and the backward difference formula if h<0

How does the reciprocal of mph work?

The reciprocal of mph is 1/mph, or the reciprocal of miles/hour is hours/mile. For instance, if you were going 20 miles per hour, you would also be going 1/20 hours per mile, or 3 minutes per mile.

What are the different sets of number under the real number system?

The real number system can be sliced and diced in an infinite number of ways. In other words, you can't list all the different sets of numbers in the real number system. However, here are some of the commonest:

  • the real number system itself (on the grounds that every set is a subset of itself)
  • the integers
  • the whole numbers: 1, 2, 3, ...
  • the even number: ..., -6, -4, -2, 0, 2, 4, 6, ...
  • the rational numbers