Plot the days to pay off the turbine

Assignment Help Other Engineering
Reference no: EM131647770

Learning objectives:

Create (and call) a simple function file. Create (and call) a simple anonymous function. Use an anonymous function to create a function with one parameter from a function with multiple parameters.

Matlab commands you will need; these are highlighted in bold in the instructions below: function [output] = functionname(input1, input2)

What the function does; make sure to set output end

functionName = @(input1, input2) code; - anonymous function declaration fplot( function, start, stop ); - plot the function from start to stop axis equal - make sure the aspect ratio of the two axes are the same (ie, a circle will show up as a circle, not a squashed ellipse).

1) Plot the days to pay off the turbine versus the percentage the wind turbine is on. Create functions to: convert from kw to dollars, calculate the amount of electricity produced given the percentage on and the efficiency of the wind turbine, and calculate the number of days needed to pay off the turbine. Plot twice, once with plot to make the markers, and once with fplot to create the blue line.

function [ dollars ] = KWtoDollars( kw, kwCostInDollars )

function [ kWHPerDay ] = ElectricityPerTurbinePerDay( percentageOn, electricityProducedPKWh )

function [ daysToPayOff ] = DaysToPayOff( percOn, cost, kwProduced, kwCostInDollars )

475_figure1.png

2) There are two provided functions that are more "realistic" models of how often the wind blows over the course of the year, and usage rates. Plot these two functions (first two plots below). Then, plot the amount of money made per day, with the following twist: If the turbine generates more electricity than is used that day, then the power company will pay you and extra .1 over the given price per kw hour.

1168_figure2.png

3) Print out the number of years needed to break even, approximately, using the values you created in problem 2.
Number of years needed to pay off: 2X.XX

Attachment:- Lab Functions.rar

Reference no: EM131647770

Questions Cloud

What types of businesses would prosper in china why : What types of businesses would prosper in China? Why? What are the challenges and risks associated with doing business in China?
Define the caregivers right to privacy and confidential : Discuss the potential controversy when considering a patient's right to know whether a caregiver has AIDS, and the caregiver's right to privacy and confidential
Perpetuity discounted back to the present : What is the present value of a $723 perpetuity discounted back to the present at 10.61 percent. The answer should be calculated to two decimal places.
Discuss higher level needs on maslow''s hierarchy : Sensory impairment may affect an individual's ability to meet their higher level needs on Maslow's hierarchy
Plot the days to pay off the turbine : Plot the days to pay off the turbine versus the percentage the wind turbine is on. Create functions to: convert from kw to dollars, calculate the amount
What is the present value of the annuity : What is the present value of the following annuity? $4,885 every quarter year at the end of the quarter for the next 5 years
Define community consent should be actively pursued : How would you feel if your medical records were examined and included in research without your consent based on an illness in the past
Promised coupons and the face value at maturity : You just purchased a bond for $800. The bond has a face value of $1000, pays $50 in coupons each year, and has a yield to maturity of 7%.
How people influence others at work : Women in high positions: Does it harm the organization or women as individuals? (Are the views biased?)

Reviews

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

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