find numerical answers using Matlab

Solve for the variable y in terms of t, for given initial condition.
dy/dt= 20 cos 5t +8 ; y(0)=0
What is the value of y for t=4?

5 comentarios

John D'Errico
John D'Errico el 24 de Jul. de 2022
Since this is clearly your homework assignment, surely you are the one who should be doing the work? Or, should we send the answer directly to your teacher? If so, then please provide their address and name, so we could contact them directly, to get credit for the work. Would your teacher not be happy to be informed of your request to have someone else do your work for you?
Razzaq
Razzaq el 24 de Jul. de 2022
Editada: Razzaq el 24 de Jul. de 2022
yep, this is my homework,
I have many questions like this one, so i posted this question here , to get help from experts, if you can help me in this question I will be able to solve the remaining questions at my own.
And if you don't know how to solve and please don't do loose talk in the comment section.
Thanks.
Torsten
Torsten el 24 de Jul. de 2022
If you cannot integrate this simple function on your own, MATLAB's "int" should help:
Steven Lord
Steven Lord el 24 de Jul. de 2022
Since this is a homework assignment, if you show us the code you've written to try to solve the problem and ask a specific question about where you're having difficulty we may be able to provide some guidance.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the free MATLAB Onramp tutorial to quickly learn the essentials of MATLAB.
If you aren't sure where to start because you're not familiar with the mathematics you'll need to solve the problem, I recommend asking your professor and/or teaching assistant for help.
John D'Errico
John D'Errico el 24 de Jul. de 2022
Experts won't do your homework for you. You won't learn anything if we do it for you, except how to get someone to do your work for you. And your teacher will rarely be happy with your posting your assignments on Answers. This is not a loose comment, but one pointing out why it is inappropriate to post your homework assignments online with no effort made.

Iniciar sesión para comentar.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 23 de Jul. de 2022

1 voto

Integrate the right hand side with respect to t, remembering the constant. Solve for the constant given the initial condition. Evaluate the expression at the given t

3 comentarios

Razzaq
Razzaq el 24 de Jul. de 2022
kindly solve it on matlab,and share the code
Walter Roberson
Walter Roberson el 24 de Jul. de 2022
Use Symbolic toolbox syms and int() and subs() . You will not need solve()
syms t C
dydt = 19 * tan(7*t) + 11 * sin(8*t) + 11
dydt = 
y = int(dydt)
y = 
C = -subs(y, t, 0)
C = 
y = simplify(y + C)
y = 
simplify(subs(y, t, 9))
ans = 
%crosscheck boundary
subs(y, t, 0)
ans = 
0

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.

Preguntada:

el 23 de Jul. de 2022

Comentada:

el 25 de Jul. de 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by