Matalb solution hello i have some questions that i need

Assignment Help MATLAB Programming
Reference no: EM13570083

hello, <br/>I have some questions that I need them to be solved <br/>Q1) 9. The cost of manufacturing n units (where n is an integer) of a particular product at a factory is given by the equation: <br/>C(n) = 5n2 – 44n + 11 <br/>Write a script “mfgcost” that will <br/>• prompt the user for the number of units n <br/>• call a function “costn” that will calculate and return the cost of manufacturing n units <br/>• print the result (the format must be exactly as shown below) <br/>Next, write the function costn, which simply receives the value of n as an input argument, and calculates and returns the cost of manufacturing n units. Here is an example of executing the script: <br/>>> mfgcost <br/>Enter the number of units: 100 <br/>The cost for 100 units will be £45611.00 <br/> <br/>Q2) If a certain amount of money (called the principal P) is invested in a bank account, earning an interest rate i compounded annually, the total amount of money Tn that will be in the account after n years is given by: <br/>T_n=P(1+i)^n <br/> <br/>Write a function that will receive input arguments for P, i, and n, and will return the total amount of money Tn. Also, give an example of calling the function. <br/> <br/>Q3) 7. Write a function calcrectarea that will calculate and return the area of a rectangle. Pass the length and width to the function as input arguments. <br/> <br/>Q4) 4. In the metric system, fluid flow is measured in cubic meters per second (m3/s). A cubic foot per second (ft3/s) is equivalent to 0.028 m3/s. Write a script titled flowrate that will prompt the user for flow in cubic meters per second and will print the equivalent flow rate in cubic feet per second. Here is an example of running the script. Your script must produce output in exactly the same format as this: <br/>>> flowrate <br/>Enter the flow in m^3/s: 15.2 <br/>A flow rate of 15.200 meters per sec <br/>is equivalent to 542.857 feet per sec <br/> <br/>Would you be able to help me solving them?

Reference no: EM13570083

Questions Cloud

The correct amount of check 1419 for rent expense is 1 920 : the april cash records of donald insurance follownbspnbsp cash receiptsnbspnbspnbspnbspnbspnbspnbspnbspnbsp cash
Please review the following real-world ratios for johnson : please review the following real-world ratios for johnson amp johnson and pfizer for the year ended 2012 and address
Paying for physician services requesting assistance for the : requesting assistance for the attached please let me know if you are able to assist. ltbrgti need 3 to five pages with
Lasa 1 promoting cognitive development unit 3 module 3 - m3 : ltbrgtunit 3 module 3 - m3 assignment 2 ltbrgt ltbrgt ltbrgt ltbrgt ltbrgt ltbrgt ltbrgtdropbox
Matalb solution hello i have some questions that i need : hello ltbrgti have some questions that i need them to be solved ltbrgtq1 9.the cost of manufacturing n units where n
Communication channels presentation you are the project : you are the project manager at a state-supported public health care facility. because of the success of your
Tutorial workbook solve the activities of health promotion : solve the activities of health promotion media and advocacy according to the question and the attached files ltbrgtit
Tutorial workbook solve the activities of health promotion : solve the activities of health promotion media and advocacy according to the question and the attached files ltbrgtit
Tutorial workbook solve the activities of health promotion : solve the activities of health promotion media and advocacy according to the question and the attached files ltbrgtit

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd