2025年10月8日 星期三

EX#6

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



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



Using AI for the following three tasks.
Propose two valid solution sequence.
Use A* macro thinking to model the two solutions.
Prove why one solution is better than the other in terms of the A* macro thinking.




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

Visualize the optimal solution sequence. Then visualize any other solution. Plan A&Plan B.



\




 



4. Work out Puzzle 3 macro thinking in A*  and viz








HW#6

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




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


Plan a feasible schedule. Then verify the schedule by flow template . 將結果視覺化以人工查驗正確性






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

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

2025年10月7日 星期二

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. Find blue area



share Claude man in the loop

計算面積這題並沒有辦法靠內容比對這種直觀法就能得到答案,推理模型會比較適合


建議使用各種AI(特別是有推理能力的)

可考慮使用 Claude 4.5 Sonnet (Extended Mode 推理模式), Grok 4或 ChatGPT 5, Gemini 2.5 Pro


 


4.  Find green area





5. Find Angle x

Claude man in the loop
Gemini 2.5 Pro got it right twice in a row





6. 計算面積







2025年10月6日 星期一

EX#5

  建議工具

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

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

使用 Gemini 2.5 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 EX#5  [your id, your name]





1. solve Puzzle 3 River Crossing by reasoning

 

檢查你的渡河計畫是否正確

Use validator+ to check up the plan




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





繳交範例

ChatGPT validationBFS*, visualize

Claude validationreasoning!, visualize 





如何將驗證過的答案視覺化


方法一: 版型套用


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






    • 方法二: 使用視覺化AI App 
    • 1. 進入 visualizer
    • 2. 按下 customize
      3. 輸入你的文字計畫到Claude,執行 Claude
      4. Claude 會製作一個新的 visualizer,已經塞好你提供的計劃
      5. 發布(publish) 得到你的連結
    • 6. 得到專業的渡河計畫動畫 

      (因為Claude不允許artifact產生新的artifact,所以多了一些步驟如上)

    方法三: 自行給予提示



2. solve Puzzle 3 River Crossing by code generation for python A* search 





To run Python, use Google Colab



If you are not familiar with Python, you can also convert Python to JavaScript to run on Browsers.


繳交範例 

Claude A* Gen*, ColabValidatorVisualize 

ChatGPT: BFS*, colabvalidatorvisualize

ChatGPT: BFS* (auto), visualize









3. solve 渡河問題4

You can use reasoning or generate a search program to solve it.

檢查你的渡河計畫是否正確

Use validator4+ to check up the plan




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




繳交範例

Claude validationreasoning!,  Visualization

Claude validationBFS* (auto),  Visualization 

ChatGPT validationBFS* (auto), Visualization