Tuesday, October 14, 2025

HW#6 Smart AI

任選2題

 

1. Try smart search. Prompt AI models to generate A* search Algorithm





2. for 推理模式 special topic Smart Dog Ball Retrieval 



3. 搶救感恩節晚餐大作戰講義 題目 


Plan a feasible schedule. Then verify the schedule. Then visualize your results. 



繳交範例

Claude validationreasoning*, Viz





檢查你的感恩節計畫是否正確

Use validator to check up the plan






如果你希望驗證結果可輸出為app
1. 先進入 validator
2. 按下右上方 customize 鍵
3. 接下來的操作步驟
4. 結果輸出為app





可使用狀態圖(State Diagram),看板圖 (Dashboard), 流程圖(Flow chart) 進行視覺化






 (interactive timeline)





Hint 
優化解可以達成所有人四點前到家

Hint
如果你要使用現成版型(artifact type) 做行程視覺化,步驟如下
0 找到版型程式  (工程圖下方連結)
1 按介面右上方 customize  鍵
2. 輸入你的文字版時間排程
3 得到專業工程圖
 

Wednesday, October 08, 2025

Solving Electronics


   AI for solving amplifier electronics (課堂講義內有參考解答)


 建議工具

使用 Claude Sonnet 4

使用 ChatGPT 5

使用 Gemini 2.5 Pro 免費額度最高 1M tokens

使用 Grok 4


strategy


solve for gain

do not ignore bias current


calculate miller effect

calculate poles for lower cut off

calculate poles for higher cut off

plot bode plot gain vs. Hz

plot bode plot phase vs. Hz


1. Solve for the gain. 

2. Solve for the gain. 











Gemini 2.5 Pro for s-stage amp, Freq Response








3. solve for the gain


 (source)






以上參考答案
(1) -4 (2) 8513 (3) -165 答案誤差10%以內都是正常的


4. Design a two stage amplifier using bjt.

the first stage is class A. the second is class AB. freq response cut off at 10Hz and 25 KHz

 




Make AI smarter (Smart Dog Ball Retrieval)




化繁為簡 思維鏈 (chain of thought)

深謀遠慮 RL(reinforced learning)



A* 





推理模式 special topic Smart Dog Ball Retrieval 


Tuesday, October 07, 2025

A* as heuristic (guidance)

 Model Smart Dog Ball Retrieval as a search problem.

We can use A* to get a solution.


今天我們在課堂上提到 深謀遠慮
(Reinforcement learning) 是AI 能夠聰明推理的主因

茫茫大海中,A* 就常常被用來指引 AI 的推理要往哪個方向前進
不至於盲目搜尋(brute force)

A* 演算法不一定總是得出最佳解,但這題A*剛好可以得到最佳解


 


A* modelinganimated



\







Build an AI App

 製作可自動依據計畫繪製流程圖的 AI API








製作卡路里與營養分析App,輸入一張食物照片即可分析營養成分





HW#5 推理模式

繪圖,動畫:  建議 使用 Claude Sonnet 4

推理,複雜問題:  建議使用以下 

使用 Claude Sonnet 4 extended thinking 付費版

使用 Gemini 2.5 Pro 免費額度最高 1M tokens

使用 ChatGPT 5

使用 Grok 4



  課堂練習 

Deadline: This Saturday at 23:59

Send all the share links to  me chang212@gmail.com by email with subject HW#5  [your id, your name]

How to share a Claude link

How to share a ChatGPT link

How to share a Grok link

How to share a Gemini link


策略思維


任選2題


1. Solve Smart dog ball retrieval  and animate your solution process




2. Given 1,2,3,4,5,6 can you give an equation that equals -38?  If you got a correct answer, ask how AI made it. If not, ask AI why it failed. 請分析AI解題策略(推理,直覺,蠻力,內建程式演算...),如果有錯誤,原因是什麼?


3. 計算面積




Amazing 3d animation


帥氣




黃泓凱



張程維


鍾啓廷


馮振宏










AI App (AI API Call)

製作 AI App

輸入接機計畫 自動繪製流程圖(Mermaid 格式)
規格
如何使用視覺化AI App
  1. 進入 Plan visualizer (Flow diagram only)
  2. 按下 customize
  3. 輸入你的文字計畫到Claude,執行 Claude
  4. Claude 會製作一個新的 visualizer,已經塞好你提供的計劃
  5. 發布(publish) 得到你的連結
  6. 得到專業的流程圖(Mermaid)
(因為Claude不允許artifact產生新的artifact,所以多了一些步驟如上)

Saturday, September 27, 2025

HW#4 製作豐富資訊的動畫模擬

繪圖,動畫:  建議 使用 Claude Sonnet 4

推理,複雜問題:  建議使用以下

使用 Claude Sonnet 4 extended thinking 付費版

使用 Gemini 2.5 Pro 免費額度最高 1M tokens

使用 ChatGPT 5

使用 Grok 4


課堂練習  

Deadline: This Saturday at 23:59

Send all the links to  me chang212@gmail.com by email with subject HW#4 Populate data for visualization [your id, your name].


至少做二題


1. Laser Weapon Animation using React + three.js

2, drone deployment using React + three.js

3. Coastal Defense Simulation using React + three.js

4. Design engineering animation in multiple view. You can choose what you like. 可以自訂主題或是從以下選擇

 

Jet Engine  (share)

 



5. Use iterative design to implement your project. You can refer to the following examples. 可以自訂主題或是從以下選擇


 realistic 離岸風場





Visualize Bike gear change






AC Induction Motor



Tuesday, September 23, 2025

Iterative Design

 離岸風場













Visualize Bike gear change 





focus on gear magazine






AC Induction Motor 








animated


匿蹤部署無人機隊