Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Analyze and Plot Efficiency Data | Thermodynamics and Data Analysis
Python for Mechanical Engineers
セクション 3.  7
single

single

bookChallenge: Analyze and Plot Efficiency Data

メニューを表示するにはスワイプしてください

Comparing efficiencies of thermodynamic cycles is key for engineering decisions. This challenge will help you automate analysis and visualization.

タスク

スワイプしてコーディングを開始

Write a script that takes lists of cycle names and efficiencies, computes the average, and generates a labeled bar chart comparing them.

  • Calculate the average value of the efficiencies list.
  • Create a bar chart with cycle_names on the x-axis and efficiencies on the y-axis.
  • Add a horizontal line representing the average efficiency.
  • Label the x-axis as "Thermodynamic Cycle" and the y-axis as "Efficiency (%)".
  • Include a legend that displays the average efficiency value.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 3.  7
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt