#Shorts
What is Rule of 72? Rule of 72 is a quick, useful formula that is popularly used to estimate the number of years required to double the invested money at a given annual rate of return. Alternatively, it can compute the annual rate of compounded return from an investment given how many years it will take to double the investment. The formula is: number of years ≈ 72 ÷ (rate of return). Here is the MATLAB Code from the video:
V = 10000; % Amount
CAGR = 7.2; % CAGR
Years = round(72/CAGR);
for i = 1:Years
V(i+1) = V(i)*(1+CAGR/100);
fprintf('Year %2d, Amount = %.2f\n',i,V(i+1));
end
Related Videos:
How to find Compounded Annual Growth Rate in MATLAB: • How to find Compounded Annual Growth ...
Keywords: Learn Rule of 72 with MATLAB, Investments with MATLAB, CAGR
Want to see more #shorts with MATLAB? Watch playlist: • #shorts with MATLAB
If you found this video helpful, Like, Comment & Share it. Make sure to Subscribe to our YouTube Channel. You can buy Super Thanks and show your support to this video and our channel.
If you are looking for #Expert Help, a paid service, then share your requirement on website chat at https://mlhp.link/services or email at [email protected] with your service preference, timeline, and any necessary attachments. We provide live sessions & offline work on #MATLAB & #Simulink Projects, including Homework, Assignment, Thesis, and #Research.
Join #training module of MATLAB Associate, MATLAB Professional, Simulink Fundamental, Image Processing, Arduino Interfacing, AppDesigner, or Machine Learning and get trained from #Mathworks Certified MATLAB Associate & Experts. Get training syllabus & proposal from https://mlhp.link/training
Explore our learning portal at https://mlhp.link/lms
Join a self-paced online #course at https://mlhp.link/courses
Participate in our #quiz & contests at https://mlhp.link/quiz
Watch and learn from our #webinar at https://mlhp.link/live
WhatsApp us at +91-8104622179 or https://mlhp.link/WhatsApp
Follow us on Linkedin: https://mlhp.link/LinCompany
Like us on Facebook: https://mlhp.link/facebook
Follow us on Instagram: https://mlhp.link/instagram
Education is our future. MATLAB is our feature. Happy MATLABing!