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)



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.


今天我們在課堂上提到 深謀遠慮
(Reenforcement 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,所以多了一些步驟如上)