Вы находитесь на странице: 1из 4

ANALYSIS PIECEWISE FUNCTION USING VELOCITY AND

TIME IN MATLAB

Rista Fitri Indriani


Department of Geophysics Engineering Institute Technology Sepuluh Nopember
Surabaya
ristafitri31@gmail.com

ABSTRACT
Velocity is defined as the rate of change of position of an object with respect to
time.While a piecewise function is a function that is defined on a sequence of intervals.
In this analysis, we can use matlab. We can create from following piecewise function of
velocity of rocket might and create variation t. The graph can plot in the matlab.
Piecewise function is not the function in matlab. In this analysis use piecewise
calculations. In this analys is using t = -5.5 second. The script that composes the graph
for the first equation is 0 with a speed between -5 to -1. The second equation is 10t ^ 2-
5t with a time interval of 0 to 8. From this analysis it can be seen that the velocity
constant in the first or first seconds is up to 48.5 seconds, and increases within 49
seconds.
Keyword: Piecewise, Time , and Velocity
analysis of piecewise equation is to
define interval times in matlab.
Introduction
Some people assume that speed and
speed are the same, indeed both are a 1. Materials and Methods
quantity, especially in physics, but the
concepts of the two quantities are 1.1 Materials
different. Velocity is defined as the rate
1.1.1 Velocity
of change of position of an object with
Velocity is defined as the rate of change
respect to time.While a piecewise
of position of an object with respect to
function is a function that is defined on
time. Velocity is a vector quantity
a sequence of intervals. The application
which describes about the magnitude
of Piecewise is an OFDM transmission
and direction. Velocity is a vector
system. OFDM transmission system is a
quantity because the motion of an
transmission system that uses several
object or displacement is a vector. The
frequency pieces that are mutually
unit of velocity is meter per second in
orthogonal. OFDM transmission is used
International System of Units (SI). It
because it can optimize the use of the
has many other units which are most
spectrum, has a better frequency usage
commonly used such as km/hr, cm/s, or
efficiency and is resistant to frequency
mi/hr. So the equation is
selective fading. The purpose of the
∆𝑥 2. Result and Discussion
𝑣= ……………(1.1)
𝑡
2.1 Observasion Data
Here, the rate of change in position of
an object is Δx and time is t.
1.1.2 Piecewise
A piecewise function is a function that
is defined on a sequence of intervals.

Up to now in this chapter a function has Graph 2.1 Relation of Velocity and Time
been represented by a single equation.
In many real-life problems, however, 2.2 Study
functions are represented by a Velocity is defined as the rate of change
combination of equations, each of position of an object with respect to
corresponding to a part of the domain. time. While a piecewise function is a
function that is defined on a sequence of
1.2 Methods intervals. piecewise function is not the
1.2.1 Tools and Materials function in matlab. In this analysis use
The material used in this analysis is the piecewise calculations. In this analys is
computer that has installed Matlab. using t = -5.5 second. The script that
composes the graph for the first
1.2.2 Methodology equation is 0 with a speed between -5 to
-1. The second equation is 10t ^ 2-5t
with a time interval of 0 to 8. The
second equation is 624-5t with intervals
of 8 to 16. The fourth equation is 36t +
12 (t-16) ^ 2 with interval times 16 to
26. 2136e ^-0.1 (t-26) with a time
interval of 27 to 50. In matlab we use
other t functions to set in different
times. In our script we use xlim to the
grid so that it can be read clearly. From
this analysis it can be seen that the
velocity constant in the first or first
seconds is up to 48.5 seconds, and
increases within 49 seconds.
2.3 Conclusions
The results of the analysis are :

 From this analysis it can be seen


that the velocity constant in the
first or first seconds is up to 48.5
seconds, and increases within 49 http://www.freelance-
seconds. teacher.com/physics_mechanics.pdf/07/
03/2019/17.56WIB

REFERENCES https://www.phys.hawaii.edu/~morse/P
Rytin, M. "Integration of Piecewise 170Fa15-7.pdf/07/03/2019/18.47WIB
Functions with
Applications." http://library/infoce
nter/MathSource/5117.
ATTECHMENT
Editor Command Window Notes
clear all - Use t=-5.50
clc

t= -5:50 ;
if t<0
v = 0;
elseif t<8
v = 10*t^2-5*t;
elseif t<16
v = 624-5*t;
elseif t<26
v = 36*t +12*(t-
16)^2;
else
v = 2136*(eps.^(-
0.1*(t-26)));
end

figure(1)
plot (t,v)
title ('T vs V')
xlabel('waktu (s)')
ylabel('kecepatan (m/s)')
grid on

Вам также может понравиться