Questions: 96

Free Answers by our Experts: 96

Ask Your question

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Use finite difference approximations of O(h²) to compute f'(2.36) and f''(2.36)

from the data :

x = 2.36 2.37 2.38 2.39

f(x) = 0.85866 0.86289 0.86710 0.87129


Q.1

(a) Generate data with the function y = ax3+ bx2+ cx + d in the range of x as it

varies from 0 to 2 with step increase of h . Assign suitable values of constants a, b, c and d.

Also assume the increment h to any value in between 0.1 to 0.25.


(b) Using the data obtained in (a), determine [dy/dx]x=p and [d2y/dx2]x=q

. Assign suitable values of p and q in the range 0.1 to 0.6.


(c) Compare your result with the original one and make a conclusion.


Generate data with the function y = ax3 + bx2 + cx + d in the range of x as it

varies from 0 to 2 with step increase of h . Assign suitable values of constants a, b, c and d.

Also assume the increment h to any value in between 0.1 to 0.25.


Make a MATLAB function which count on all the prime numbers from 0-1000.

• Sort the numbers in descending order.

• Sum all the even numbers in ascending order from 0-100.  

• Use only While loop.


• Make a MATLAB function which count on all the prime numbers from 0-1000.

• Sort the numbers in descending order.

• Sum all the even numbers in ascending order from 0-100.  

• Use only While loop.

Add pic matlab in text.


Write a MATLAB program to solve the following integral using

Simpson’s 1/3rd Rule.


I=∫ p0 (ax3+bx2+cx+d) dx=?


Assign suitable values of a, b, c and d.

Also assume suitable values of p and step size h.

Compare your program result with original one.


Apply Trapezoidal Rule, Simpsons 1/3 Rule and Trapezoidal Rule to compute

   a
I=∫   p/q+x^2
   0


Assume: i) the constant “a”- in between 1.1 to 1.5
        ii) the constant “p” – in between 2 to 5.
        iii) the constant “q” – in between 6 to 9.
         iv) the increment “h” – in between 0.025 to 0.1

Generate data with the function y = ax^3 + bx^2 + cx + d in the range of x as it

varies from 0 to 2 with step increase of h . Assign suitable values of constants a, b, c and d.

Also assume the increment h to any value in between 0.1 to 0.25.


Write a MATLAB program to generate a sinusoidal signal consisting of frequencies 200Hz, 300Hz and 600Hz with sampling frequency of 2 kHz and pass it through a system H(z) which is cascade combination of two LTI systems H1(z) and H2(z) with zero initial condition and prove the output is same even if you change the order of H1(z) and H2(z) in the cascade connection.


For each of the following, write an algorithm and draw a flow chart then write a MATLAB code in separate script:

1. Finding the area of a rectangle and show it as below: The Area of This rectangle = ?

2. Finding sum of the even numbers from 2 to 100,

3. Finding the volume of a cylinder and show it as: The volume of This cylinder = ?

4. Finding the maximum number among three numbers entered by the user.


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS