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 14:10
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
question
Engineering, 04.07.2019 19:20
Aseries piping system conveys methyl alcohol. the system consists of 70 m of 1- nominal pipe follow by 50 m of 2-nominal pipe, both schedule 40 commercial steel. the 1-nominal pipe contains 3 90Β° elbows (regular) anda fully open gate valve, all threaded. the pressure drop through the system is 150 kpa. determine the volume flow rate through the system that is horizontally laid.
Answers: 1
question
Engineering, 06.07.2019 03:10
What is the direction and how to operate the lathe?
Answers: 2
question
Engineering, 06.07.2019 04:10
An inventor claims to have developed a reversed heat engine (ie. a heat pump) which is able to deliver 10 kj heat into the room at 20Β°c from outside ambient temperature of -10Β°c by consuming only 2 kj electricity in winter. this claim is a)-impossible b)-possible only if the heat pump is ideal c)-practically possible d)-unable to be assessed as it depends on the working fluid used in the heat pump.
Answers: 2
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, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
Physics, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
English, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
Social Studies, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
Social Studies, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01
question
Chemistry, 15.09.2020 01:01
question
English, 15.09.2020 01:01
question
Social Studies, 15.09.2020 01:01
question
Mathematics, 15.09.2020 01:01