subject
Engineering, 12.04.2021 21:20 taylorray0820

Write a user-defined MATLAB function named PBTask4p1_f. m for the following math function with x the input argument and y the output: y(x) = 3.2x 4 − 5x 2 − 7x. The function should work for x being a scalar or a vector. Write a script file named PBTask4p1.m to a. Use the function to calculate y(-5) and y(4) and display the results in command window.
b. Use the function to make a plot of the function y(x) for -5 ≤ x ≤ 5.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 15:10
If you were designing a bumper for a car, would you prefer it to exhibit elastic or plastic deformation? why? consider the functions of a bumper in both a minor "fender-bender" and a major collision.
Answers: 1
question
Engineering, 04.07.2019 18:10
Assuming compressible flow of air and that the measurements are done at flagstaff a pitot static tube that gives the difference of total and static pressure measures 0.35 m of mercury. what is the velocity of air? assume the temperature to be 300k. (submit your excel or matlab calculation sheet)
Answers: 1
question
Engineering, 04.07.2019 18:10
Aturning operation is performed with following conditions: rake angle of 12°, a feed of 0.35 mm/rev, and a depth of cut of 1.1 mm. the work piece is aluminum alloy 6061 with t6 heat treatment (a16061-t6). the resultant chip thickness was measured to be 1.0 mm. estimate the cutting force, fc. use shear stress of 207 mpa and coefficient of friction on the tool face of 0.6.
Answers: 1
question
Engineering, 04.07.2019 18:20
Agas mixture consists of 8 kmol of h2 and 2 kmol of n2. determine the mass of each gas and the apparent gas constant of the mixture.
Answers: 3
You know the right answer?
Write a user-defined MATLAB function named PBTask4p1_f. m for the following math function with x the...
Questions
question
Mathematics, 11.06.2021 09:50
question
Social Studies, 11.06.2021 09:50
Questions on the website: 13722367