Skip to main content
1-Visitor
September 21, 2019
Question

x.f and x.q

  • September 21, 2019
  • 2 replies
  • 1565 views

xq.png

 

 

what is the difference between xq and xf

2 replies

23-Emerald IV
September 21, 2019

That difference is 999....

 

In the top half, you solve an ODE, resulting in a function y(x).

You plot that function for values of x ranging from 0 to x.f

where x.f is defined as being 1000.

 

In the bottom half, the following problem is solved :

For which value of x is it that y(x)=1000 ?

You start with a guess value x.g set to 1.

Once found it appears to be 29.734, as shown by find(x.q)=29.734

You did not assign the result of the find() to anything, so

x.q is still 1, and the difference between x.f and x.q is 1000-1=999.

 

Success!
Luc

25-Diamond I
September 21, 2019

Illustration:

B.png