Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. the input will have three arguments. Name the function Xs = NewtonSol(Fun, FunDer, Xest). The output argument Xs is the solution, and the input

1. the input will have three arguments. Name the function Xs = NewtonSol(Fun, FunDer, Xest). The output argument Xs is the solution, and the input arguments Fun, FunDer, and Xest are the same as in NewtonRoot. The iterations should stop when the estimated relative error is smaller than 10-6. The number of iterations should be limited to 100 (to avoid an infinite loop). If a solution with the required accuracy is not obtained in 100 iterations, the program should stop and display an error message. Use the function NewtonSol to solve the equation 8-4.5(x-sinx) = 0.

2.The operation of Resistance Temperature Detector (RTD) is based on the fact that the electrical resistance of the detector material changes with temperature. For Nickel which is sometimes used in such detectors, the resistance, RT, at temperature T (C) as a function of temperature is given by: RT = R0(1+AT+BT2+CT4+DT6) Where R0 is the resistance of the detector at 0C and A = 5.485*10-3, B = 6.65*10-6, C = 2.805*10-11, and D = -2* 10-17 are constants. Consider a detector with R0 = 1000 and determine the temperature when its resistance is 300 . Use the user-defined function Xs = NewtonSol(Fun, FunDer, Xest)

3.the power output of a solar cell varies with the voltage it puts out. The voltage Vmp at which the output power is maximum is given by the equation:

exp^(q Vmp /T kB )*(1+(q Vmp /TkB=))=exp^(q Voc / kB T)

Where Voc is the open circuit voltage, Tis the temperature in Kelvin, q = 1.6022*10-19C is the charge on an electron, and kB= 1.3806*10-23 J/k is Boltzmann's constant. For Voc = 0.5V and room temperature (T = 297 K), determine the voltage Vmp at which the power output of the solar cell is a maximum. Write a program in a script file that uses the fixed-point iteration method to find the root. For starting point, use Vmp = 0.5 V. To terminate the iterations, use Xs = NewtonSol(Fun, FunDer, Xest)with E = 0.001.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke

12th Edition International Edition

1292023422, 978-1292023427

More Books

Students also viewed these Databases questions