s144x14

# s144x14 - T Min T Max Y Min Y Max V Avg sec. sec. meters...

This preview shows page 1. Sign up to view the full content.

clear all; clc; close all; echo on % % Stewart 144/14 % %The displacement (in meters) of a particle moving in a strait line is %given by s=t^2-8*t+18, where t is measured in seconds. % %----A) find the average velocitys over the following time intervals:---- % Initial_t=[3, 3.5, 4, 4]; Final_t=[4, 4, 5, 4.5]; % Change_time=Final_t-Initial_t; % Displacement_1=(Initial_t.^2)-8.*Initial_t+18; % Displacement_2=(Final_t.^2)-8.*Final_t+18; % Displacement=Displacement_2-Displacement_1; % avg_vel=Displacement./Change_time; % echo off
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: T Min T Max Y Min Y Max V Avg sec. sec. meters meters m/s---------------------------------------------3.0 4.0 3.0 2.0 -1.0 3.5 4.0 2.2 2.0 -0.5 4.0 5.0 2.0 3.0 1.0 4.0 4.5 2.0 2.2 0.5 % %-------------------A) find the instantaneous velocity at time 4:--------------------------% syms t % % Displacement_4=diff((t^2)-8.*t+18,t) Displacement_4 = 2*t - 8 % t=4 t = 4 % Instant_Vel_4=eval(Displacement_4) Instant_Vel_4 = %Instant_Velocity=Displacement_4/time echo off; diary off...
View Full Document

## This note was uploaded on 06/18/2009 for the course MATH 151 taught by Professor Artbelmonte during the Spring '06 term at Texas A&M.

Ask a homework question - tutors are online