Calculate the analytical derivate of a function

Assignment Help Computer Engineering
Reference no: EM132216541

Write a VBA-Excel program that calculates the analytical derivate of a function. Your program should be able to handle the following types of equations:

(a) Polynomial equations up to fourth order (i.e. ax4 + bx3 + cx2 + dx + e)

(b) Exponentials (i.e. aebx )

Your program should ask the user for which type of equation they want to enter (polynomial,exponential or natural logarithmic) and then ask the user to enter all constants.

Use a loop and an array to store the coefficients for the polynomial equation. Next, the program should calculate the analytical derivative of the equation (see equations below). Finally, the program should output results either to an Excel worksheet or using MsgBox.

d/dx(axb) = (b * a) * xb-1

d/dx(aebx) = aebx * b

Note: a, b are constants, x is a variable.

Reference no: EM132216541

Questions Cloud

Write a function to swap odd and even bits of a 32-bit : Write a function to swap odd and even bits of a 32-bit integer with as few instructions as possible
Write vhdl code that represents t flip flop : Write VHDL code that represents T flip flop (toggle flip flop) with an asynchronous clear input.
Write a vba module that has your program read 3 numbers : Your program then adds the 3 numbers and displays the answer and units in a message box and also on the spreadsheet.
Write vhdl code for two bit binary adder use structral vhdl : Write a VHDL code for two bit binary adder use structral VHDL the inputs are push buttons (in FBGA) the adder has three outputs.
Calculate the analytical derivate of a function : Write a VBA-Excel program that calculates the analytical derivate of a function.
Write a vhdl code fsm model including a process : Write a vhdl code FSM model including a process for modeling the state FF, a process for modeling the outputs as a function of the Present state.
What is your evaluation of the health industry : What is your evaluation of the health industry's need for leadership today and into the next decade? Which specific leadership knowledge, skills, and abilities
Write your own version of the c string library function : Your function should have the same prototype as strncat except that it has a different name char* my_strncat(char *str1, char str2, int n).
Determine gibbs free energy of mixing assuming solution : Determine gibbs free energy of mixing assuming ideal solution and also determine the excess gibbs free energy for the feed/input to flash drum

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write a program which takes as input an integer n

Write a program which takes as input an integer N and outputs the number of recursively palindromic partitions of N .

  Design a clocked d flip flop

Design a clocked D flip-flop, using a modified ECL circuit design, such that the output becomes valid on the negative-going edge of the clock signal.

  Which loop arrangement be best for accessing an array

Which loop arrangement be best for accessing an array.

  Write the xhtml for a three-column table

Write the XHTML for a three-column table to describe the courses you are taking this semester.

  What exactly is the operation of the spaceship operator

What is the difference between the downcase and downcase! methods? What exactly is the operation of the spaceship operator?

  Determine hernandezs optimal shipping quantities

Marc Hernandez's construction firm currently has three projects. Determine Hernandez's optimal shipping quantities so as to minimize total transportation costs.

  Expalain a programming language is machine independent

What does it mean that a programming language is strongly typed.

  Data set contains a total of n numbers

A data set has a median of 43, and four of the numbers in the data set are less than median. The data set contains a total of n numbers.

  Discuss the benefits of your selected quality attribute

Describe/Discuss how choosing one technology, which could make use of the property/quality, over another technology, would satisfy this nonfunctional property or quality attribute. Discuss the benefits and drawbacks of your selected nonfunctional p..

  Evaluate friction coefficient and heat-transfer conductance

Consider fully developed laminar flow between symmetrically heated parallel plates with constant heat rate per unit of duct length.

  Design a simple card guessing game

CP5639 - Problem Solving and Programming - design a simple card guessing game, played by one player against the computer

  How to identify as important to the process

How important is it to have an established process while implementing a new technology into an organization.

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