I have created the Matlab code to calculate the average speed of Pluto. Please find the following code screenshot, output, and Code.
ANY CLARIFICATIONS REQUIRED LEAVE A COMMENT
1.CODE SCREENSHOT:
2.OUTPUT:
3.CODE:
clc; %Given data a=5.9065e9; b=5.7208e9; %Calculate the value of 'k' using the given formual k=sqrt(a^2-b^2)/a; %Create the equaltion to apply integrations SQ=@ (x) sqrt(1-k^2*sin(x).^2); %Apply integration and obtain the value q=integral(SQ,0, pi/2); %Caluclate the value of the perimeter of the ellipse perimeter=4*a*q; % Number of hours in 248 years. hours=24*365*248; %Calculate the average speed AveSpeed=perimeter/hours; fprintf('The average speed of Pluto is : %.4f\n',AveSpeed); |
solve this using matlab and post the code on how to solve for it and plot...
Solve and plot with MATLAB . A safety bumper is placed at the end of a racetrack to stop out-of-control cars. The bumper is designed such that the force that the bumper applies to the car is a function of the velocity v and the displacement x of the front edge of the bumper according to the equation: where K = 30 (s kg)/m5 is a constant. A car with a mass m of 1,500 kg hits the bumper at...
Please help me solve the bottom two question using Matlab and
show the steps to do it. Thanks. i appreciate your help
(12 points each) 10. In dynamics course, a particle move in the elliptical slots due to the motion of the slotted link as shown on the figure. The normal acceleration of the particle is proportional to the velocity square over the radius of curvature (r). + y2 = 1000 _(1 + (x) 325 r(x) = — a) Calculated...
I'm
trying to solve this differential equations by using matlab and
I've got a plot from the code attached. But I wanna get a plot of
completely sinusoidal form. If I can magnify the plot and expand
x-axis, maybe we can get the sinusoidal form. So help me with this
problem by using matlab. Example is attached in below. One is the
plot from this code and another is example.
function second_order_ode2
t=[0:0.001:1];
initial_x=0;
initial_dxdt=0;
[t,x]=ode45(@rhs,t,[initial_x initial_dxdt]);
plot(t,x(:,1))
xlabel('t')
ylabel('x')...
Create a MATLAB program to solve the bubble point temperature and plot the T-x-y diagram of the acetone(1)-1-hexene(2) system at 101.33 kPa. T in K ln(Psat(kPa))=A-B/(T+C) A1=14.3145; B1=2756.22; C1=-45.09; log(Psat(bar)=A-B/(T+C) A2=3.99063; B2=1152.971; C2=-47.301; x1 = [0 0.06 0.116 0.184 0.287 0.387 0.497 0.593 0.605 0.698 0.805 0.908 1]
How do I solve using Matlab?
Plot a star that prompts the user to enter how many points the star has. Only worry about odd numbered points. Indicate to the user only odd numbers can be entered. Change the star line color to red.
I'm
trying to solve this differential equations by using matlab and
I've got a plot from the code attached. But I wanna get a plot of
completely sinusoidal form. If I can magnify the plot and expand
x-axis, maybe we can get the sinusoidal form. So help me with this
problem by using matlab. Example is attached in below. One is the
plot from this code and another is example.
function second_order_ode2
t=[0:0.001:1];
initial_x=0;
initial_dxdt=0;
[t,x]=ode45(@rhs,t,[initial_x initial_dxdt]);
plot(t,x(:,1))
xlabel('t')
ylabel('x')...
Help me!! Please solve (1) and (2).
And I desperately want to know how to solve (2) by using
MATLAB. Please teach me Matlab code in detail.
a rectangular shape Aluminum block (L=10mm, D=3mm) has well
insulated top and bottom. The left surface has thermal boundary
condition, and the right surface has convection boundary
condition.
* the surface temperature Ts=100℃, the ambient air temperature
Ta=20℃, heat transfer coefficient h=120 W/(m^2*K)
* thermal conductivity of Aluminum = 220 W/m*K, density of...
help me please , By using MATLAB
How can I plot the solution of linear diffrential system ? I
want the code in general case
We were unable to transcribe this imageclose all clear MATLAB Code: clc A= [1 0 1; 0 0 0;00-1]; % Coefficient Matrix Xo = [5 76]'; % Initial condition V, D = eig(A); % Get the Eigen values and Eigen vectors % General Solution: X=Sum of {c_i*exp(L_i*t) *V_i % where c_i are constants, L_i are...
Your task is to write a matlab code using the
Finite-Volume-Method (FVM) to solve the following 1D equations.
Solve the 1D heat conduction equation without a source
term.
The 1D heat conduction equation without a source term can be
written as
Where k is the thermal conductivity, T the local temperature and
x the spatial coordinate.
Using the Finite Volume Method, use this equation to
solve for the temperature T in a rod. The rod has
a length of L=2.0m,...
Solve using matlab and show code:
A reversible chemical reaction 2A + B C can be characterized by the equilibrium relationship K = c_c/c_a^2 c_b where the nomenclature ci represents the concentration of constituent i. Suppose that we define a variable x as representing the number of moles of C that are produced. Conservation of mass can be used to reformulate the equilibrium relationship as K = (c_c, 0 + x)/(c_a, 0 - 2x)^2 (c_b, 0 - x) where the...