Calculus MAT1011 Lab 2.pdf - Name ANMOL BANSAL Registration...

This preview shows page 1 - 4 out of 4 pages.

Name: ANMOL BANSAL Registration Number: 19BCE0630 SLOT: ELA- L15+L16 EXPERIMENT 2-A Dated: 28/8/2019 TANGENT OF A FUNCTON Question: Using MATLAB find the tangent to the curvey=x 1/2 at x=4 and show graphically. Program/Code: syms x y f=input(‘Enter the function in variable x: ‘); x0=input(‘Enter the x coordinate of the point: ‘); y0=subs(f,x,x0); fx=diff(f,x); m=subs(fx,x,x0); t_line=y-tangent; plotrange=[x0-3,x0+3]; ezplot(f,plotrange); hold on: ezplot(tangent,plotrange); title(‘Tangent Line Plot’)
Tangent Line Plot
Name: ANMOL BANSAL Registration Number: 19BCE0630 SLOT: ELA- L15+L16 EXPERIMENT 2-B Dated: 28/8/2019 LAPLACE AND INVERSE LAPLACE TRANSFORMATION Question: 1. Find the Laplace Transform of f(t)={t² t<2 t-1 2<t<3

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture