Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Algorithms Assignment
The following 3 tasks are to be completed for Homework 1 - using the following MATLAB syntax for the script file "bike.m"
1) Write additional syntax to create an INPUT variable named time and prompt the user for the amount of time pedaling the bicycle (in hours).
2) Then, create a distance calculation assigned to the variable distance that is equal to the variable time multiplied by the variable speed.
3) OUTPUT the calculated distance value using the fprintf function. What are the distance units? Include the units in the fprintf statement.
%bike.m - calculates speed of a bicycle in km/h%define known input variable valueswheel = 622;tire = 28;fgear = 40;rgear = 22;%prompt user for cadence (can be a vector of multiple cadence values)cadence = input('rpm: ');%prompt user for time (amount of time pedaling) - HOMEWORK Q1%caculate meters of development (modev) and speedmodev = (wheel + 2 * tire) * (fgear/rgear) * pi * 0.001;speed = modev * cadence * 0.06;%calculate distance traveled = time * speed - HOMEWORK Q2%use the <fprintf> function to output "speed" in km/hfprintf('The bicycle speed is: %g km/h\n', speed);%use the <fprintf> function to output "distance" in kilometers - HOMEWORK Q3
Use the finite difference method to calculate the temperature at the point specified since it is easier.
In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.
Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule
Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.
Write a program to calculate and plot the error in the numerical estimate of the derivative.
Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.
Develop a simulation program
Create a three dimensional diagram of function.
Open a named pipe and to read data from the pipe in matlab
Write the commands that will create the matrix.
Lagrange interpolating polynomial of degree
Digital Signal Processing
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd