MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
5th Edition
ISBN: 9781118629864
Author: Amos Gilat
Publisher: WILEY
bartleby

Videos

Question
Book Icon
Chapter 9, Problem 1P
To determine

To write:

A MATLAB code that finds the solution of the equation e0.3xx2=4.

Expert Solution & Answer
Check Mark

Answer to Problem 1P

Solution:

The solution of the equation e0.3xx2=4 is x1=2.4693.

Explanation of Solution

The given equation is, f(x)=e0.3xx2+4

Plot the graph of the above equation.

MATLAB: An Introduction with Applications, Chapter 9, Problem 1P , additional homework tip  1

Figure (1)

The solution of the above equation is x1=2.4693.

Write the MATLAB code that finds the solution of the equation e0.3xx2=4.

MATLAB Code:

fplot('exp(0.3*x)-x^2+4',[0 5])

xlabel('x<<')

ylabel('y<<')

% Plot of the function shows that the function has one solution between 2 and 4

F = @ (x) exp(0.3*x)-x^2+4;

x1 = fzero(F,2.5)

Save the MATLAB script with the name, Chapter9_29864_9_1P.m in the current folder. Execute the script by typing the script name at the command window to get the code that finds the solution of the equation e0.3xx2=4.

Result:

MATLAB: An Introduction with Applications, Chapter 9, Problem 1P , additional homework tip  2

Conclusion:

Therefore, the solution of the equation e0.3xx2=4 is x1=2.4693.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
For the distribution shown, match the letter to the measure of central tendency. A B C C Drag each of the letters into the appropriate measure of central tendency. Mean C Median A Mode B
A physician who has a group of 38 female patients aged 18 to 24 on a special diet wishes to estimate the effect of the diet on total serum cholesterol. For this group, their average serum cholesterol is 188.4 (measured in mg/100mL). Suppose that the total serum cholesterol measurements are normally distributed with standard deviation of 40.7. (a) Find a 95% confidence interval of the mean serum cholesterol of patients on the special diet.
The accompanying data represent the weights (in grams) of a simple random sample of 10 M&M plain candies. Determine the shape of the distribution of weights of M&Ms by drawing a frequency histogram. Find the mean and median. Which measure of central tendency better describes the weight of a plain M&M? Click the icon to view the candy weight data. Draw a frequency histogram. Choose the correct graph below. ○ A. ○ C. Frequency Weight of Plain M and Ms 0.78 0.84 Frequency OONAG 0.78 B. 0.9 0.96 Weight (grams) Weight of Plain M and Ms 0.84 0.9 0.96 Weight (grams) ○ D. Candy Weights 0.85 0.79 0.85 0.89 0.94 0.86 0.91 0.86 0.87 0.87 - Frequency ☑ Frequency 67200 0.78 → Weight of Plain M and Ms 0.9 0.96 0.84 Weight (grams) Weight of Plain M and Ms 0.78 0.84 Weight (grams) 0.9 0.96 →

Chapter 9 Solutions

MATLAB: An Introduction with Applications

Knowledge Booster
Background pattern image
Statistics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
MATLAB: An Introduction with Applications
Statistics
ISBN:9781119256830
Author:Amos Gilat
Publisher:John Wiley & Sons Inc
Text book image
Probability and Statistics for Engineering and th...
Statistics
ISBN:9781305251809
Author:Jay L. Devore
Publisher:Cengage Learning
Text book image
Statistics for The Behavioral Sciences (MindTap C...
Statistics
ISBN:9781305504912
Author:Frederick J Gravetter, Larry B. Wallnau
Publisher:Cengage Learning
Text book image
Elementary Statistics: Picturing the World (7th E...
Statistics
ISBN:9780134683416
Author:Ron Larson, Betsy Farber
Publisher:PEARSON
Text book image
The Basic Practice of Statistics
Statistics
ISBN:9781319042578
Author:David S. Moore, William I. Notz, Michael A. Fligner
Publisher:W. H. Freeman
Text book image
Introduction to the Practice of Statistics
Statistics
ISBN:9781319013387
Author:David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:W. H. Freeman
Interpreting Graphs of Quadratic Equations (GMAT/GRE/CAT/Bank PO/SSC CGL) | Don't Memorise; Author: Don't Memorise;https://www.youtube.com/watch?v=BHgewRcuoRM;License: Standard YouTube License, CC-BY
Solve a Trig Equation in Quadratic Form Using the Quadratic Formula (Cosine, 4 Solutions); Author: Mathispower4u;https://www.youtube.com/watch?v=N6jw_i74AVQ;License: Standard YouTube License, CC-BY