Get in touch with us
Send us an e-mail
Question
a) In this problem, we will be computing the height and velocity of a ball when it is thrown vertically with an initial velocity from both Earth and Mars. For a given time t, the height reached is given by h = vt + 12 at2 and final velocity is determined by the equation vf = v + at (Consider that a = - g for both the equations in this problem). Implement these equations by defining two functions namely height and velocity where both these functions require Gravitational acceleration g, initial velocity v, time t as input parameters. The Gravitational acceleration on earth is 9.8 ms-2 and on mars is 3.7 ms-2, calculate the height and final velocity of the ball in both earth and mars for initial velocity of 10 ms-1 & time 1 second. Display your results.
b) Your task in this problem would be to write functions to interleave matrix elements. Your functions must accept matrices A and B as input, and the function InterRow would interleave the matrices row by row and the function InterCol would interleave column by column. Hence display the corresponding interleaved matrices for
Illustration of what your function should perform is shown in the example below:
Output of InterRow = Output of InterCol =
Note: The dimensions of A and B should be equal for interleaving. Do not interleave by manually entering the values, and your function should work for any dimensions of A and B (& not just 3x3).
Summary
This question belongs to MATLAB software and discusses about application of MATLAB in physics to write functions to interleave matrix elements to compute height and velocity of a ball when it is thrown vertically up.
Answer is in MATLAB format
Download Full Solution
I never faced any problem with marketing management or finance. But with location strategy, I always suffered with the PERT and CRM based problems. I was unable to understand the concept of location strategies. When I came across HwA, I was relieved as they helped me overcome the horrors of location strategy and transformed my fear into a genuine interest.
I needed help with writing my Stats Dissertation and my advisor was not available all the time due to her busy schedule. At first i was pretty apprehensive about using an online service for help with my dissertation writing. I had major doubts about the quality would not be up to dissertation level. But i was proved very wrong by the standard of online stats tutoring I received at HwA. I was paired with an online stats tutor who had a PhD in the subject and from there on the journey was as smooth as it can get.
The corporate strategy case study which I was handed over by my professor was a bit difficult and I was not certain that I would be able to meet the standards. So I looked online for help and eventually landed here in HwA. I was thrilled to see that the experts here are all well aware of my syllabus and they did a fantastic job in providing an excellent solution.
I chose civil engineering for my graduate studies because I am fascinated with the concepts of municipal and urban engineering. Since it has been my area of interest from high school and I had done some research on the topic I thought the graduate program would be a breeze. But I was soon proved wrong and found myself struggling from the very first semester. At HelpWithAssignment my online civil engineering assignment tutor helped walk me through the different concepts and with in-depth quality research that was missing from my work.
1. My main concern was the relevant research and reference work that is required in my Masters course in the university. They are very particular about referenced and researched assignments and with the stats experts at HelpwithAssignment.com I have never have had to worry about that since the experts provide the most excellent and relevant references in all my assignments which help me get top marks in the class.
Comments
this is a very good website
I have 50 questions for the same test your page is showing only 28
hi can you please help or guide me to answer my assignments. thanks
hi can anyone help or guide me to my assignments. thanks
This solution is perfect ...thanks
Hello Allison,I love the 2nd image that you did! I also, had never heard of SumoPaint, is something that I will have to exolpre a bit! I understand completely the 52 (or so) youtube videos that you probably watched. Sometimes they have what you want, sometimes they don't! However, it is always satisfying when you are able to produce something that you have taught yourself. Great job!Debra 0 likes
Perfect bank of solution.
great !
thanks for the quick response. the solution looks good. :)
thnx for the answer. it was perfect. just the way i wanted it.
works fine.