Analyze the tweet "Your attitude toward your struggles is equally as important as your actions to work through them. #optimism" and quantify the intensity of the emotion joy. Use a scale from 0 to 1, with 1 representing the highest intensity.
0.479