calculator icon indicating copy to clipboard operation
calculator copied to clipboard

Calculator will crash, when analyze function 𝑦=|sin(𝑥)|+|cos(𝑥)|

Open xvzhenduo opened this issue 3 years ago • 5 comments

Describe the bug 当在函数中分析𝑦=|sin(𝑥)|+|cos(𝑥)|时,计算器崩溃(闪退)。 Calculator will crash, when analyze function 𝑦=|sin(𝑥)|+|cos(𝑥)| .

Steps To Reproduce 1.打开计算器,进入侧边栏,点击函数 Open Calculator, go to Graphing mode. 2.输入函数 y=abs(sin(x))+abs(cos(x)) Input function y=abs(sin(x))+abs(cos(x)) 3.点击分析函数 Click "Analyze function" button.

Screenshots image

Device and Application Information

  • OS Build: 10.0.22000.0
  • Architecture: X64
  • Application Version: 10.2103.8.0
  • Region: zh-CN
  • Dev Version Installed: False

Requested Assignment I'm just reporting this problem. I don't want to fix it.

xvzhenduo avatar Aug 08 '21 09:08 xvzhenduo

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

MicrosoftIssueBot avatar Aug 08 '21 11:08 MicrosoftIssueBot

Thanks for the bug report! I am not able to get the app to crash, but I do encounter an error preventing the expression from being plotted:

image

grochocki avatar Aug 09 '21 03:08 grochocki

@grochocki I can reproduce the crash in my machine, the expression can be plotted.

guominrui avatar Aug 09 '21 04:08 guominrui

Thanks for the bug report! I am not able to get the app to crash, but I do encounter an error preventing the expression from being plotted:

image

有时候经常出现这样的错误,你可以试着先重启应用,删除abs()绘制一下函数,然后再将abs()加上,在绘制函数就重现 (Translated by @tian-lt: It's a usual error sometimes, you can try restarting the App, remove operator abs() from the expression and plot it, then add abs() back, after that the expression can get plotted again.)

xvzhenduo avatar Aug 12 '21 03:08 xvzhenduo

The "abs()" was written or copied and pasted or was used by the | x |? Because if it was written or copied and pasted it might have taken some unknown character. For example when a complete function is copied. image image

adameverson avatar Dec 15 '21 19:12 adameverson