Course Solutions Uncategorized (Solved) : Loop Working Want Keep Decreasing Value X Order Integrate Function Work Keeps Either Pront Q32730038 . . . .

(Solved) : Loop Working Want Keep Decreasing Value X Order Integrate Function Work Keeps Either Pront Q32730038 . . . .

 

Why is my while loop not working. I want to keep decreasing thevalue of x in order to integrate the function but it does not workand it keeps on either pronting the same value of x or decreasingit only once?

int n, i-2; double integral_1; double p; double L1 1; for (p 0.99 ; p > 0.98; p-=0.01){ double L2 - 0.99; integral-1-trapezoidal (f,L1, L2, İ) ; printf(The integral is %1fin, integral-1); double a,b; a--10; b-20; bisection (a,b) printf(n); printf( Accurate Root calculated 1s-%1fn,c); double integral_2; double x1-c; double x2-0.005; double intergal_3- integral_2-integral_1; integral 2-simpsons (func,x1, x2,i); while (intergal_3>0.001) integral_2-simpsons (func, x1, x2,i); integral-1-trapezoidal (f, L1, 0.99, i) ; intergal 3- integral_2-integral_1; x1-x1-0.001 printf(The value of x1 is %1fn, x1);

int

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : 9 1o1 Adetermine Area Parallel Plate Capaeitor Plate Separation 7 Mm Dielectric Constant M Q33095934 . . . .(Solved) : 9 1o1 Adetermine Area Parallel Plate Capaeitor Plate Separation 7 Mm Dielectric Constant M Q33095934 . . . .

<p dir="ltr"><img src="https://media.cheggcdn.com/media%2F52d%2F52d13adb-e828-48b0-a252-4e4d123952e3%2Fimage.png" alt="9. (1o1 aDetermine the area for a parallel-plate capaeitor with plate separation of 7 mm; he dielectric constant for the material positioned between the plates is when3