2026年2月24日 星期二

Chain of Thought (CoT)

HW#1 Use AI Professionally

 

建議工具

使用 Claude Sonnet 4.6 推理模式(手動切換,免費用戶額定時間內只能使用三次)

使用 ChatGPT 5 推理模式(自動切換)

使用 Gemini 3.0 Pro 免費額度最高 1M tokens (永遠推理模式)

使用 Grok 4 推理模式(自動切換)


課堂練習 

Deadline: This Saturday at 23:59

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

How to publish a Claude artifact

How to share a ChatGPT link

How to share a Grok link

How to share Gemini Link


Content share 作業繳交格式

  • share only link, pure text, markdown (md)
  • no attachments accepted, no html, screen dump, or png
  • non-compliant homework will be rejected and returned to you


任選一題



1. 

(a) Solve River Puzzles  (Pz 3Pz 20) by Chain of Thought and Visualize/Animate the process

(b) Verify each step not violating constraints and correctness.


2. Comparing LLMs: Claude 4.6, Gemini 3.0 Pro, ChatGPT 5.0 (三選二) for the following task.

Animate in 3d (in three.js) Yagi-Uda Antenna, AI pipe inspector, or things you choose. (擇一)

The animation must be scientifically accurate




Hints

  • Reasoning/Think/Extended Thinking Mode of the AI platform you use may be required for all the problems here
  • Pz 3 solutions on various platforms
  • Experiments on Pz 20 

River Crossing 20

 problem

animation23d

Animation of thoughts, not just solution, 2

(包含問題分析、每個嘗試的死路、突破點、逐階段的約束驗證,以及最後的最優性證明和經驗總結。)

Analysis of strategies



Part II 

2026年2月23日 星期一

AI Platforms & Variations

 


推薦 Opus 4.6 搭配思考模式(extended thinking)

我的使用體驗:

一次到位 vs. 反覆修正:這是 Opus 和 Sonnet 之間最核心的差異。Sonnet 在簡單任務上表現不錯,但面對複雜問題——像我們常做的 Three.js 地質動畫、LNA 教學投影片、A* 搜尋演算法視覺化這類高度整合的工作——Sonnet 容易在細節上出錯,需要來回修正好幾輪。Opus 因為推理深度更深,往往第一次就能把架構、邏輯、細節都處理到位。

Token 消耗的取捨:誠實地面對 Opus 單次消耗更多 token,這是因為思考模式下模型會在回應前進行更長的內部推理鏈。但從「總成本」角度來看,如果 Sonnet 要錯三次才修正到對,累積的 token 消耗和時間成本反而可能更高。這其實是一個「單次成本高但總效率高」vs.「單次便宜但需要多輪迭代」的經典取捨。

「比較一陣子才固定使用」:經過實際比較後的結論,更有參考價值。


AI Basics

 最好的程式語言 (Python? JavaScript?)

Prompt in English vs. Traditional English (中文版)

為什麼我的AI跟你不一樣: factorsbasic skills美學



supplemental


archive

2026年2月20日 星期五