Question: According to matlab 10. Write a program to plot the function y 3x-26x+12. first and second derivatives for -2sxS4, in all in the same plot

According to matlab  According to matlab 10. Write a program to plot the function

10. Write a program to plot the function y 3x-26x+12. first and second derivatives for -2sxS4, in all in the same plot with different colours. Hint: use hold on. 11. Write a program to plot the function y 2 for 0.1sx s60, in all in the same figre one with linear axes, one with a log scale for the y axis, one with a log scale for the x axis, an done with a log scale on both axes. Then add axis labels to the plots. Hint: use subplot command. 12. write a program that calculates the tip based on amount of bills, using the following rules and the variable bill" bill is less than 15TL bill is between 15 TL and 60 TL Tip is %24 bill is above 60 TL Tip is 2.80 TL * Tip is %30 13. Plot sin(-5x) and cos(3x) over [0,2n], on the same plot with different colours. Then add axis labels and legend to the plot.. Please use hold on command. 14. n-3 or end total total:total+(1M)'i What is the value of total after executing the program? 15. The function sin(x) can be written as a Taylor series by Write a user-defined function file that calcualtes sin(x) by using the Taylor series. For the function name and arguments use y- Taysin(x,n). The input arguments are the angle x in degrees and the n the number of the terms in the series. Use the function to calculate sin(70) using five and 15 terms

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!