MATLAB QUESTION
Find the general solution of the given application of differential equation using MATLAB.
NOTE: Screenshot the MATLAB ENVIRONMENT together with the CODES and FINAL ANSWERS.
ANSWER:
CODE TEXT
% first order diffrential equation
% for E = 50*sin(20t), R = 5, I(inductance) = 0.4 Henrys, current=i is
% I (di/dt) + R.i = E(t)
% using syms and dsolve methods of matlab
syms curr(t)
% defining other given variables
I = 0.4;
R = 5;
E = 50*sin(20*t);
% defining equation
eqn = I*diff(curr,t) + R*curr == E;
% defining initial condition
cond = curr(0) == 0;
% solving equation using dsolve w.r.t initial condition
currSol(t) = dsolve(eqn,cond);
% finding current for T=1:100 using solution, converting sym solve to
% double
T = 1:100;
current = double(currSol(T));
% ploting the result
plot(T,current);
xlabel('Time');
ylabel('Current');
title('Time vs current for I (di/dt) + R.i = E(t)')
CODE/ENVIRONMENT IMAGE
OUTPUT IMAGE
MATLAB QUESTION Find the general solution of the given application of differential equation using MATLAB. NOTE:...
MATLAB QUESTION Find the answer for the given application of first-order differential equation using MATLAB. NOTE: Screenshot the MATLAB ENVIRONMENT together with the CODES and FINAL ANSWERS. PLEASE SOLVE USING MATLAB CODE! PLEASE SOLVE USING MATLAB CODE! PLEASE SOLVE USING MATLAB CODE! A racquetball is hit straight upward with an initial velocity of 2m/s. The mass of a racquetball is approximately 0.0427 kg. Air resistance acts on the ball with a force numerically equal to 0.50, where v represents the...
MATLAB QUESTION Find the answer for the given application of higher order differential equation using MATLAB. NOTE: Screenshot the MATLAB ENVIRONMENT together with the CODES and FINAL ANSWERS. PLEASE SOLVE USING MATLAB CODE! PLEASE SOLVE USING MATLAB CODE! PLEASE SOLVE USING MATLAB CODE! Assume an object weighing 2 lb stretches a spring 6 in. Find the equation of motion if the spring is released from the equilibrium position with an upward velocity of 16 ft/sec. What is the period of...
USING MATLAB Please post code 1. Solve the 2nd order differential equation ?+89 +15y-sin(t), y(0)-1,?(0)-2 symbolically and numerically, and plot both results together over the time interval 0,10 sec. Provide appropriate labels on both axes, a title, and a legend that denotes each solution. Check your symbolic answer by using the Matlab DIFF function to compute the appropriate derivatives and then substituting them into the differential equation.
Find the general solution of the given second-order differential equation. y'' + 10y' + 25y = 0 Solve the given differential equation by undetermined coefficients. y'' + 4y = 2 sin 2x Solve the given differential equation by undetermined coefficients. y'' − y' = −10
Hi would you mind answering the question? I appreciate your help. (Matlab) - using matlab program Write a MATLAB program to solve for the currents i_1, i_2, and i_3 (amps) in the circuit shown below in which the resistances are R_1 = 20, R_2 = 13, R_3 = 6, R_4 = 32 and R_5 = 110 ohms and the input voltage V_i is 120 volts Derive the equations using the Kirchoff Voltage Law (sum of voltages around a loop must...
1.Find a general solution to the given differential equation. 21y'' + 8y' - 5y = 0 A general solution is y(t) = _______ .2.Solve the given initial value problem. y'' + 3y' = 0; y(0) = 12, y'(0)= - 27 The solution is y(t) = _______ 3.Find three linearly independent solutions of the given third-order differential equation and write a general solution as an arbitrary linear combination of them z"'+z"-21z'-45z = 0 A general solution is z(t) = _______
Given: y''+5y'+6y=x solve for all representations USING MATLAB 1. Differential System 2. Impulse Response 3.La Place (transfer function) 4.block diagram 5.state equation 6. draw schematic using op-amps please show the code used in matlab
Please write and include a matlab code for the following: Given the following differential equation 10?̈+ 20?̇ + 250? = ?(?) a. Plot response to f(t) = 200sin(4t) b. Plot response to a step f(t) = 200 that starts at t = 0 s and stops at t = 2s; note that the response goes past the 2 seconds of input. Part a.) I need matlab code to generate the plot for 10x''+20x'+250x=200sin(4t) Part b.) I need matlab code to...
Find the general solution of the first order partial differential equation using the method of separation of variables. Use the substitution U = XY to solve the boundary value partial differential equation 34x + 2 uy = u for . for u(0,y) = 2e By Use the substitution U = XY to solve the boundary value partial differential equation 3ux +2y = for 3. for u(x,0) = 4e2+ +5e*:
9. Question Details ZIDIFEQ9 4.3.009.(38 Find the general solution of the given second-order differential equation. y"+ 36y o y(x) 10. Question Details zomEQ9 4.3.015. Find the general solution of the given higher-order differential equation. yx) - 11.Question Details ZIDTEQ9 4.3.029 Solve the given initial-value problem. y" + 36y-o, y(0)-7, yto)--5 ytx)- 12. Question Details ZIMDifTEQ9 4.4 Solve the given differential equation by undetermined coefficients. y"-6y' + 9y # 6x + 5 y(x)- 13. Question Details ZillDiffE Solve the given differential...