<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Finance &#8211; Alex Velasquez</title>
	<atom:link href="https://alexvelasquez.com/category/finance-2/feed/" rel="self" type="application/rss+xml" />
	<link>https://alexvelasquez.com</link>
	<description>The People&#039;s Nerd</description>
	<lastBuildDate>Sun, 12 May 2024 21:04:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.5</generator>
	<item>
		<title>Compound Interest Calculator</title>
		<link>https://alexvelasquez.com/compound-interest-calculator/</link>
					<comments>https://alexvelasquez.com/compound-interest-calculator/#respond</comments>
		
		<dc:creator><![CDATA[alexv53]]></dc:creator>
		<pubDate>Sun, 12 May 2024 21:04:05 +0000</pubDate>
				<category><![CDATA[Calculators]]></category>
		<category><![CDATA[Finance]]></category>
		<guid isPermaLink="false">https://alexvelasquez.com/?p=8156</guid>

					<description><![CDATA[Compound Interest Calculator Compound Interest Calculator Principal Amount ($): Annual Interest Rate (%): Times Compounded Per Year: Number of Years: Calculate Future Value:]]></description>
										<content:encoded><![CDATA[
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Compound Interest Calculator</title>
</head>
<body>
    <h1>Compound Interest Calculator</h1>
    <form id="interestForm">
        <label for="principal">Principal Amount ($):</label>
        <input type="number" id="principal" required><br><br>

        <label for="rate">Annual Interest Rate (%):</label>
        <input type="number" id="rate" step="0.01" required><br><br>

        <label for="timesCompounded">Times Compounded Per Year:</label>
        <input type="number" id="timesCompounded" required><br><br>

        <label for="years">Number of Years:</label>
        <input type="number" id="years" required><br><br>

        <button type="button" onclick="calculateInterest()">Calculate</button>
    </form>

    <h2>Future Value:</h2>
    <div id="result"></div>

    <script>
        function calculateInterest() {
            const principal = parseFloat(document.getElementById('principal').value);
            const rate = parseFloat(document.getElementById('rate').value) / 100;
            const timesCompounded = parseInt(document.getElementById('timesCompounded').value);
            const years = parseInt(document.getElementById('years').value);

            if (!principal || !rate || !timesCompounded || !years) {
                document.getElementById('result').innerHTML = 'Please enter all fields correctly!';
                return;
            }

            const amount = principal * Math.pow(1 + rate / timesCompounded, timesCompounded * years);
            const interest = amount - principal;

            document.getElementById('result').innerHTML = `The future value of your investment is $${amount.toFixed(2)}, which includes $${interest.toFixed(2)} in interest.`;
        }
    </script>
</body>
</html>

]]></content:encoded>
					
					<wfw:commentRss>https://alexvelasquez.com/compound-interest-calculator/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Weighted Average Returns</title>
		<link>https://alexvelasquez.com/weighted-average-returns/</link>
					<comments>https://alexvelasquez.com/weighted-average-returns/#respond</comments>
		
		<dc:creator><![CDATA[alexv53]]></dc:creator>
		<pubDate>Sun, 12 May 2024 20:07:27 +0000</pubDate>
				<category><![CDATA[Calculators]]></category>
		<category><![CDATA[Finance]]></category>
		<guid isPermaLink="false">https://alexvelasquez.com/?p=8145</guid>

					<description><![CDATA[Weighted Average Returns Weighted Average Returns Add Another Investment Calculate Results]]></description>
										<content:encoded><![CDATA[

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Weighted Average Returns</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 40px;
        }

        .investment {
            margin-bottom: 10px;
        }

        input[type="number"], input[type="text"] {
            width: 200px;
            padding: 8px;
            margin: 5px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        button {
            padding: 10px 20px;
            background-color: #007BFF;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            margin: 5px;
        }

        button:hover {
            background-color: #0056b3;
        }

        h2, h3 {
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <h1>Weighted Average Returns</h1>
    <div id="investmentContainer">
        <div class="investment">
            <input type="number" placeholder="Investment Period (years)" class="period">
            <input type="number" placeholder="Amount Per Investment" class="amount">
            <input type="number" placeholder="Expected Returns (%)" class="return">
        </div>
    </div>
    <button onclick="addInvestment()">Add Another Investment</button>
    <button onclick="calculateResults()">Calculate Results</button>
    <h2 id="weightedAverageResult"></h2>
    <h3 id="futureValueResult"></h3>
    <h3 id="totalInvestmentResult"></h3>

    <script>
        function addInvestment() {
            const container = document.getElementById('investmentContainer');
            const newInvestment = document.createElement('div');
            newInvestment.className = 'investment';
            newInvestment.innerHTML = `
                <input type="number" placeholder="Investment Period (years)" class="period">
                <input type="number" placeholder="Amount Per Investment" class="amount">
                <input type="number" placeholder="Expected Returns (%)" class="return">
            `;
            container.appendChild(newInvestment);
        }

        function calculateResults() {
            const periods = document.querySelectorAll('.period');
            const amounts = document.querySelectorAll('.amount');
            const returns = document.querySelectorAll('.return');
            let totalWeightedReturn = 0;
            let totalInvestment = 0;
            let totalAmountInvested = 0;
            let futureValues = [];

            periods.forEach((period, index) => {
                const years = parseFloat(period.value);
                const amount = parseFloat(amounts[index].value);
                const returnPercentage = parseFloat(returns[index].value);

                if (!isNaN(years) && !isNaN(amount) && !isNaN(returnPercentage) && years > 0) {
                    const weight = amount * years;
                    totalWeightedReturn += returnPercentage * weight;
                    totalInvestment += weight;
                    totalAmountInvested += amount;
                    const futureValue = amount * Math.pow(1 + returnPercentage / 100, years);
                    futureValues.push(`Investment ${index + 1}: $${futureValue.toFixed(2)}`);
                }
            });

            if (totalInvestment > 0) {
                const averageWeightedReturn = totalWeightedReturn / totalInvestment;
                document.getElementById('weightedAverageResult').innerText = `Weighted Average Returns: ${averageWeightedReturn.toFixed(2)}%`;
                document.getElementById('futureValueResult').innerText = `Future Values: 
${futureValues.join(', ')}`;
                document.getElementById('totalInvestmentResult').innerText = `Total Invested Amount: $${totalAmountInvested.toFixed(2)}`;
            } else {
                document.getElementById('result').innerText = 'Please enter valid periods, amounts, and returns.';
            }
        }
    </script>
</body>
</html>

]]></content:encoded>
					
					<wfw:commentRss>https://alexvelasquez.com/weighted-average-returns/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Burn Rate Calculator</title>
		<link>https://alexvelasquez.com/burn-rate-calculator/</link>
					<comments>https://alexvelasquez.com/burn-rate-calculator/#respond</comments>
		
		<dc:creator><![CDATA[alexv53]]></dc:creator>
		<pubDate>Sun, 12 May 2024 19:43:58 +0000</pubDate>
				<category><![CDATA[Calculators]]></category>
		<category><![CDATA[Finance]]></category>
		<guid isPermaLink="false">https://alexvelasquez.com/?p=8135</guid>

					<description><![CDATA[Burn Rate Calculator Burn Rate Calculator Net Worth ($): Monthly Expenses ($): Monthly Passive Income ($): Federal Tax Rate (%): State Tax Rate (%): Calculate]]></description>
										<content:encoded><![CDATA[
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Burn Rate Calculator</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            padding: 20px;
        }
        .input-group {
            margin-bottom: 10px;
        }
        label {
            margin-right: 10px;
        }
    </style>
</head>
<body>
    <h2>Burn Rate Calculator</h2>
    <div class="input-group">
        <label for="netWorth">Net Worth ($):</label>
        <input type="number" id="netWorth" required>
    </div>
    <div class="input-group">
        <label for="monthlyExpenses">Monthly Expenses ($):</label>
        <input type="number" id="monthlyExpenses" required>
    </div>
    <div class="input-group">
        <label for="monthlyPassiveIncome">Monthly Passive Income ($):</label>
        <input type="number" id="monthlyPassiveIncome" required>
    </div>
    <div class="input-group">
        <label for="federalTaxRate">Federal Tax Rate (%):</label>
        <input type="number" id="federalTaxRate" step="0.01" required>
    </div>
    <div class="input-group">
        <label for="stateTaxRate">State Tax Rate (%):</label>
        <input type="number" id="stateTaxRate" step="0.01" required>
    </div>
    <button onclick="calculateSustainability()">Calculate</button>
    <div id="result" style="margin-top: 20px;"></div>

    <script>
        function calculateSustainability() {
            // Retrieve input values
            const netWorth = parseFloat(document.getElementById('netWorth').value);
            const monthlyExpenses = parseFloat(document.getElementById('monthlyExpenses').value);
            const monthlyPassiveIncome = parseFloat(document.getElementById('monthlyPassiveIncome').value);
            const federalTaxRate = parseFloat(document.getElementById('federalTaxRate').value) / 100;
            const stateTaxRate = parseFloat(document.getElementById('stateTaxRate').value) / 100;

            // Calculate total tax rate and adjust monthly passive income for taxes
            const totalTaxRate = 1 - (federalTaxRate + stateTaxRate);
            const adjustedMonthlyPassiveIncome = monthlyPassiveIncome * totalTaxRate;

            // Calculate net monthly burn rate using adjusted passive income
            const netMonthlyBurnRate = monthlyExpenses - adjustedMonthlyPassiveIncome;

            // Calculate total months of sustainability and convert to years
            const months = netWorth / netMonthlyBurnRate;
            const years = months / 12;

            // Display result
            document.getElementById('result').innerText = `Considering state and federal taxes on your passive income, you can sustain your current lifestyle for approximately ${years.toFixed(2)} years before running out of money.`;
        }
    </script>
</body>
</html>
]]></content:encoded>
					
					<wfw:commentRss>https://alexvelasquez.com/burn-rate-calculator/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Understanding Agilent Technologies (A)</title>
		<link>https://alexvelasquez.com/understanding-agilent-technologies-a/</link>
					<comments>https://alexvelasquez.com/understanding-agilent-technologies-a/#respond</comments>
		
		<dc:creator><![CDATA[alexv53]]></dc:creator>
		<pubDate>Sun, 12 May 2024 07:29:38 +0000</pubDate>
				<category><![CDATA[Finance]]></category>
		<guid isPermaLink="false">https://alexvelasquez.com/?p=8123</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<iframe width="560" height="315" src="https://www.youtube.com/embed/-CznTwlJfE4?autoplay=1&amp;mute=1&amp;start=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe>
]]></content:encoded>
					
					<wfw:commentRss>https://alexvelasquez.com/understanding-agilent-technologies-a/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
