Showing posts with label Numerical Methods. Show all posts
Showing posts with label Numerical Methods. Show all posts

Friday, April 4, 2014

Find a real solution for: x^3+10x=80

We can use Newton's method. Writing f(x)=x^3+10x-80, and f'(x)=3x^2+10 and writing as a sequence we can see:
x%5Bn%2B1%5D=x%5Bn%5D-%28x%5Bn%5D%5E3%2B10x%5Bn%5D-80%29%2F%283x%5Bn%5D%5E2%2B10%29
For a reasonable first guess we can use the fact that when x=3, the LHS of the original equation is 57 and when x=4, LHS=104. So let's split the difference and choose x=3.5
This gives us...

x%5B2%5D=3.545454
x%5B3%5D=3.54499
x%5B4%5D=3.54499
so probably close enough... 

How do you solve square roots of irrational numbers w/o a calculator? for example sqroot of 68.

There are many ways. One way is to sort of work backwards:
64 < 68 < 81 (close to 64),
so sqrt(68) is close to 8.
Then by trial and error, determine that
8.2 < sqrt(68) < 8.3
Continue this process as long as you are able.

Thursday, April 3, 2014

how to solve 10th root of 1.6

From numerical methods we can write
f%28x%29=x%5E10-1.6
and use Newton's method to get:

x%5Bn%2B1%5D=%289x%5Bn%5D%5E10%2B1.6%29%2F%2810x%5Bn%5D%5E9%29
which converges very fast:
x%5B1%5D=1.00%29%29%29%0D%0A%7B%7B%7Bx%5B2%5D=1.06
x%5B3%5D=1.0487037
x%5B4%5D=1.0481238
x%5B5%5D=1.0481223

Saturday, November 23, 2013

I have tried to solve the following equation but unfortunately couldn't managed to do it. This is the simplest form it gets: (a/x)+lnx=b How can I find x? Is there a similar function that I can use to simplify it?

this equation has no algebraic solution. Problems of this type are solved by graphing and/or using numerical techniques. So any numeric solution depends on the values of a and b - which must be supplied before anything else can be determined.

Monday, June 3, 2013

how to solve this equation? x + ln (x^(2+x)) = 0

First we rewrite 



ln+%28x%5E%282%2Bx%29%29+=+-x 
Immediately we notice that no matter what we do we end up with exponential/logarithmic term as well as algebraic terms. This equation cannot be solved using algebra because it is neither strictly algebraic nor exponential and so no operations can be done to solve directly for x. In cases like this we can use numerical or graphic methods: 

+graph%28+300%2C+300%2C+-1%2C+2%2C+-2%2C+2%2C+-x%2C+ln%28x%5E2%2Bx%29%29+ 


After tinkering with the window settings and such we can approximate the intersection as much as we need. 
x is about 0.75941 



:)

Monday, April 8, 2013

Approximate sqrt(5) using Newton's Method



Newton's Method is an efficient way to approximate square roots. We choose our initial point as 2 because we know that root 5 is closer to 2 than to 3. The number crunching is done by calculator (HP50g) and the table summarizes the results.




If you need help with math, I can help you. Visit my mobile website: www.mathhelp.mobi
or email me at services@mathhelp.mobi