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

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 14:10, bryneosburn
Line joining liquid phase with liquid and solid phase mixture is known as: a) liquidus b) solidus c) tie line d) none of the mentioned
Answers: 2
image
Engineering, 04.07.2019 18:20, cxttiemsp021
Atank with constant volume contains 2.27 kg of a mixture of water phases (liquid-vapor). in the initial state the temperature and the quality are 127 °c and 0.6, respectively. the mixture is heated until the temperature of 160 oc is reached. illustrate the process in a t-v diagram. then, determine (1) the mass of the vapor in kg at the initial state, (2) the final pressure in kpa.
Answers: 3
image
Engineering, 04.07.2019 19:10, babas97
What is a monomer? how do they form a ploymer from the view point of chemical bonding?
Answers: 1
image
Engineering, 04.07.2019 19:10, nbug2121
Arigid tank contains 10 kg of air at 137 kpa (abs) and 21°c. more air is added to the tank until the pressure and temperature rise to 242 kpa (abs) and 32°c, respectively. determine the amount of air added to the tank. [r-0.287 kj/kg k]
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 in other subjects:

Konu
Mathematics, 27.08.2020 05:01
Konu
Mathematics, 27.08.2020 05:01
Konu
Mathematics, 27.08.2020 05:01