Concept explainers
When trying to find the acidity of a solution of magnesium hydroxide in hydrochloric acid, we obtain the following equation
wherex is the hydronium ion concentration. Find the hydronium ion concentration for saturated solution (acidity equals zero) using two different methods in MATLAB (for example, graphically and the roots function).
Trending nowThis is a popular solution!
Chapter 7 Solutions
EBK NUMERICAL METHODS FOR ENGINEERS
Additional Engineering Textbook Solutions
College Algebra Essentials (5th Edition)
College Algebra (Collegiate Math)
Elementary Statistics ( 3rd International Edition ) Isbn:9781260092561
College Algebra (7th Edition)
University Calculus
Elementary Statistics Using The Ti-83/84 Plus Calculator, Books A La Carte Edition (5th Edition)
- Please help me solve the question in the picture below using matlabarrow_forwardIn matlabarrow_forwardI am trying to find the gross liftoff mass of a 2 stage rocket for different values of n and plot it in MATLAB. I found the total liftoff mass for stage 1 and stage 2. Is the gross liftoff mass equal to m_i1 in the code or do you have to add m_i1 and m_i2? Also, the liftoff seems to be negative for some intial values of n? That is not feasible, right? % Constants delta_V_ideal = 9800; % m/s f_inert1 = 0.15; f_inert2 = 0.25; Isp_1 = 325; % s Isp_2 = 380; % s g0 = 9.81; % m/s^2 m_PL = 750; n = 0.3:0.01:0.7; % Initializing variables delta_v1 = zeros(size(n)); delta_v2 = zeros(size(n)); MR_2 = zeros(size(n)); m_prop2 = zeros(size(n)); m_inert2 = zeros(size(n)); m_i2 = zeros(size(n)); MR_1 = zeros(size(n)); m_prop1 = zeros(size(n)); m_inert1 = zeros(size(n)); m_i1 = zeros(size(n)); for i = 1:length(n) delta_v1(i) = n(i)*delta_V_ideal; delta_v2(i) = (1-n(i))*delta_V_ideal; MR_2(i) = exp(delta_v2(i)/(g0*Isp_2)); m_prop2(i) = (m_PL*(MR_2(i)-1)*(1-f_inert2))/(1-f_inert2*MR_2(i));…arrow_forward
- If you can please take a look, I struggled with figuring out problem 2, 4, , and 6. Please let me know if you have any solutions.arrow_forwardHow do I input this code for this MATLAB problem? Thanks!arrow_forwardFor the following concentration expressions, indicate whether they are uniform or nonuniform and in how many dimensions (OD, 1D, 2D, or 3D), and steady or unsteady. Then for the following control volume and origin, and table of constants, use Excel or Matlab to graph profiles that show how concentration changes within the control volume and over time to a limit of 20 for the following: C(x,0,0,0), C(0,y,0,0), c(0,0,z,0) and C(0,0,0,t). On each graph, show which parameters are held constant, the CV boundaries, and the point where all four plots overlap. 20 C(x=0) 10 a 0.0001 b 0.001 20 0.01 y k 0.1 100 All of the following functions are C(space, time) and so not necessarily just x as suggested. a. C,(x)= C,(x = 0)x exp{- ax} d. C, (x) = C, (x = 0)x exp{-ax}x exp{- by² }x exp{-cz²}x exp{- kt}arrow_forward
- I am trying to find a Direction Cosine Matrix (DCM) for the Euler angle body 1-2-3 sequence. I tried making my own function and using the MATLAB function, but the result is a matrix that is transpose of each other. I mean that transpose(EA123toDCM) = E123toDCM. Why is that? Also, for the E123toDCM line, I am using the sequence 'ZYX'. Is that correct or should it be 'XYZ'? I know that that for a DCM of sequence 1-2-3 = R3(theta1)*R2(theta2)*R1(theta3). Is ZYX sequence the same as a 1-2-3 sequence? EA = [pi/3; -pi/4; -pi/6];EA123toDCM = EA123DCM(EA) E123toDCM = angle2dcm(EA(1,1), EA(2,1), EA(3,1), 'ZYX') function [R] = EA123DCM(EA) theta1 = EA(1,1); theta2 = EA(2,1); theta3 = EA(3,1); R1 = @(a)[1 0 0 ; 0 cos(a) -sin(a); 0 sin(a) cos(a)]; R2 = @(a)[cos(a) 0 sin(a) ; 0 1 0 ; -sin(a) 0 cos(a)]; R3 = @(a)[ cos(a) -sin(a) 0; sin(a) cos(a) 0;…arrow_forwardCan you help me code the algorithm into MATLAB? The delta zero, delta one and so forth are equal to the determinats of a 3x3 matrix made of the three vectors.arrow_forwardplease answer question 3 , 5, 7 in full detail explanationarrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY