EBK MATLAB: AN INTRODUCTION WITH APPLIC
EBK MATLAB: AN INTRODUCTION WITH APPLIC
5th Edition
ISBN: 8220102007642
Author: GILAT
Publisher: YUZU
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.

EBK MATLAB: AN INTRODUCTION WITH APPLIC, 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:

EBK MATLAB: AN INTRODUCTION WITH APPLIC, 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!

Chapter 9 Solutions

EBK MATLAB: AN INTRODUCTION WITH APPLIC

Knowledge Booster
Background pattern image
Electrical Engineering
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:PEARSON
Text book image
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:9781337900348
Author:Stephen L. Herman
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Electrical Engineering
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Text book image
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:9780078028229
Author:Charles K Alexander, Matthew Sadiku
Publisher:McGraw-Hill Education
Text book image
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:9780134746968
Author:James W. Nilsson, Susan Riedel
Publisher:PEARSON
Text book image
Engineering Electromagnetics
Electrical Engineering
ISBN:9780078028151
Author:Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:Mcgraw-hill Education,
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