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
Computer programming languages are such tough assignments to deal with. I am glad that I found TheReliableTutor and their online Visual C++ programming assignment help expert. I am very impressed with the quality and accuracy of the coding. Experts and quality control definitely make the Visual C++ programming language assignments free of plagiarism and unwanted errors.
1. Without TheReliableTutor.com I would have been in deep soup, what with the assignments due on geometry, algebra, trigonometry on my undergrad. Keeping up with all the assignments along with keeping up with the homework assignments was proving to be a bit too much for me to manage on my own. The professors were helpful but not always easily available for consultation. The tutors at TheReliableTutor.com are available at all times to answer my queries and I feel so much calmer now and my grades have improved dramatically!
While I took occasional help for my different assignments from TheReliableTutors, I kept on wondering whether they could actually help with my dissertation paper. When I first approached them, they sounded confident and they already knew what is needed to be done. That was very relieving as even before my professor told me what to be done next, the thesis help tutor knew what to do. I have got an “A†in my master’s dissertation report and now I have assigned them by PhD thesis paper also.
The object oriented programming languages like C++ and Java were a nightmare for me and my professor rushed off with her lectures so fast that I couldn’t catch up with the syllabus. Then once HwA started helped me out with my programming homework I got more time to understand how the things summed up.
I was completely lost with my Thermodynamics assignment. I approached the HwA team for help and they connected me with the best chem engineering tutor ever. He not only cleared my concepts but also helped me in solving my assignments. Kudos team!
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.