Question
THIS NEEDS TO BE ANSWERED IN MATLAB CODING ONLY please use screen shots so I can follow along because these two questions have been answered,
THIS NEEDS TO BE
ANSWERED IN MATLAB CODING ONLY please use screen shots so I can follow along because these two questions have been answered, but I do not understand how it works!
See problems under image below....
I KNOW HOW TO CALCULATE ALL OF THESE PROBLEMS ALREADY I DON'T KNOW HOW TO CODE IN MATLAB, so if possible show me the steps so I understand, Thank you.
ALSO CAN YOU PLEASE ONLY USE ONE (1) function M FILE
CODE I USED (see below)
function [ approx ] = myapproximatefun( a,b ) syms x f=9+(9*exp(x)) K=diff(f) ans2 = vpa(subs(K,x,a)) ans1 = (a) ans3 =(b-a); result=ans1+(ans2*ans3); end function [ L ] = a( val ) L = 9 + (9*exp(val)) end
RESULTS I GOT (see below)
myapproximatefun(9.700000,14.600000): Extra Output AND No Result Returned +0 myapproximatefun(2.300000,4.600000): Extra Output AND No Result Returned +0 myapproximatefun(5.400000,13.100000): Extra Output AND No Result Returned +0 myapproximatefun(3.500000,8.200000): Extra Output AND No Result Returned +0 myapproximatefun(6.400000,15.600000): Extra Output AND No Result Returned +0 myapproximatefun(1.700000,8.900000): Extra Output AND No Result Returned +0 myapproximatefun(5.800000,10.200000): Extra Output AND No Result Returned +0 myapproximatefun(8.900000,12.900000): Extra Output AND No Result Returned +0 myapproximatefun(1.800000,8.200000): Extra Output AND No Result Returned +0 myapproximatefun(6.300000,9.600000): Extra Output AND No Result Returned +0
can someone please help I need to turn this in on 8/16/2018 (Tuesday, @5pm EST,USA)
Math 206 Spring 2017 Project 3 What to Submit: Generated For: For this project you will need to create and upload four function m-files. Grading Method: run a variety of data throug For grading we will h your function m-hles. Each m-hle will earn credit based up how many correct values it returns. For example if we test it on 10 sets of input and it returns 7 correct values it would earn 70%. Very Important Note: Your functions should print absolutely nothing (no disp and please do use semicolons to suppress calculation outputs) and should only return the value requested. The returned value will be displayed automatically as a result of being returned from the function Another Very Important Note: Please do not try to find Matlab functions which do these things for you. The point of these projects is to practice the material from the tutorials and so trying to use obscure Matlab functions which shortcut the whole process means you're not really doing what the project is trying to test. If you're not sure about whether you can or cannot use some specific Matlab function for a project please ask me Sample Data: See the sample data (also in this directory) to see some sample input and output
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started