plots giving wrong out output

I have two functions to plot(attached figure). I want to plot them and plot given by matlab seems not to be valid. Two functions will be equal at . two Funtions are, }
and the code is attached. #TIAbbbb.PNG

3 Comments

madhan ravi
madhan ravi on 9 Jan 2019
Edited: madhan ravi on 9 Jan 2019
why do you say not valid? Attach the graph you want to attain apart from the one which your getting now.
You don't seem to have code for u1 there?
Moslem Uddin
Moslem Uddin on 9 Jan 2019
Edited: Moslem Uddin on 9 Jan 2019
i added the code and little correction in the . both and will be equal at

Sign in to comment.

 Accepted Answer

Torsten
Torsten on 9 Jan 2019
In your code, replace
g1/2*m1
g2/2*m2
by
g1/(2*m1)
g2/(2*m2)

More Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!