#first one source code:
a=1/3;
b=-123/4;
c=1/6;
x1=(-b+sqrt(b^2-4*a*c))/(2*a);
x2=(c/a)/(x1);
fprintf("x1=%.4f\nx2=%.4f\n",x1,x2);
#outtput:
#second one source code:
data=log(50-sqrt(2499));
printf("%.4f\n",data);
#output:
#third one source code in matlab:
data=(exp(0.02)-exp(-0.02))/(0.03);
fprintf("%.4f\n",data);
#output:
#forth one source code;
data=sqrt(100.01)-sqrt(99.99);
fprintf("%.4f\n",data);
#output:
#by using matlab we can get the data all are 4 decimal places..
7. Give the formula of avoiding roundoff error to solve each of the fol- lowing problem...
I need help solving these problems 1. Suppose that y= a (x-1)" is the power series solution of the following initial value problem. x-y+2y=0; y(t) = -2, y(1)=1 Find the value of az. 2. Suppose that y=0(x) is the solution of the following initial value problem. y" + xy - (sinx)y=0; y(0)=1, 7(0) = 3 Find the value of (0) 3. Let p be the radius of convergence for the Taylor series of the following rational function centered at the...
Solve part a and b for the below question Extra information for part A of the question. Below is Question 2 from Tutorial 5 Below is answer for question 2 from tutorial 5 f(1) = 1, f(2) = 2, f(4) = 1. (a) Use the idea outlined in Q2 of tutorial 5 to determine an approximate values of the first f'(2) and the second derivatives f"(2) at point x = 2. (b) Which additional information about the function should be...
problem 19 OU 18. (1-x)" + x - y = 0, 7(0) = -3, y (0) = 2 s eL TUDOM 9. (a) By making the change of variable x-1 = 1 and assuming that y has a Taylor series in powers of 1, find two series solutions of y" + (x - 1)?y' + (x2 - 1)y=0 in powers of x-1. (b) Show that you obtain the same result by assuming that y has a Taylor series in powers...
Question 8 2 pts 8. The following data represent the number of games played in each series of an annual tournament from 1922 to 2002. Complete the mean of the random variable x. Round your answer to one decimal. Use this mean to answer the next question. x games played 1 2 3 4 P(x) 0.2 0.3 0.35 0.15 O 1.22 O 3.95 O 2.85 2.45 Question 9 2 pts 9. The following data represent the number of games played...
Solve the equation for x If 0 sx < 21. Give your answer in radians using exa cos x + cos2x = 0 7C 3 X Need Help? Read It Talk to a Tutor 7. [1/1 Points] DETAILS PREVIOUS ANSWERS MCKTRIG8 6.2.02: Solve the equation for x if 0 sx < 22. Give your answer in radians using exact 2 sin2 x - 3cOS X - 3 = 0 21 411 . 33 Need Help? Read It Talk to a...
Question 7 3 pts The solution of the Initial-Value Problem (IVP) zy! - 2y = 4(x - 2) y(1) = 4 y (1) = -1 is 1 23 +22 -3 +3 +2.3 -2.0.4 1 Y L 22 - 2.0 + 4 2 None of them 0 4 2.- - 2 + 1 y = 2 Question 8 3 pts The power series solution of the Initial-Value Problem (IVP) (22 +1)yll + xy + 2xy = 0 y(0) = 2 is...
problem 5 l lbout 0 for a general solution to the given differential equation u, y(0) = 0, V,(0) = 1 . Your answer should include a grneral formula for the ncients. (Find a recursive relation. If possible find Vi and 1,2). 3: Chebyshev's equation i(y + p'y-0, where p is a constant. Find two linearly Independert series solutions yi and ya. (Hint: find the series solution to the differential equation at z-0 to factor ao and ai as we...
11 18 7 Let 4 6 10 (a) Find the eigenvalues of A. (b) For each eigenvalue find the corresponding eigenvectors. (c) Let 21 and 22 be the eigenvalues of A such that 21 <12. Find a match for 11. Find a match for 12 Find a matching eigenvector vị for 11 - Find a matching eigenvector v2 for 12 Let P and D be 2 x 2 matrices defined as follows: 20 and P = [v1v2] o 22 that...
Please solve these 3 questions and please give me a detailed explanation for your answer. Hopefully your answers are correct. Please help me out because I am stuck on how to solve these problems for a long time. 4. Which is the solution for a(0, y) = 0, u(1,y) = 0 u(z,0)=2sin(3xx), lim u(z,y)=0? B. 2e-3ry sin(3nx) C. 2sinh(3Ty)sin(3T) D. 2sinh(3Ty) cos(3Tx) E. none of the above 5. If y" + 3y' +2y = δ(t _ 2) with y(0) =...