Login
Account
Sign Up
Home
About Us
Catalog
Search
Register RSS
Embed RSS
FAQ
Get Embed Code
Example: Default CSS
Example: Custom CSS
Example: Custom CSS per Embedding
Super RSS
Usage
View Latest
Create
Contact Us
Technical Support
Guest Posts/Articles
Report Violations
Google Warnings
Article Removal Requests
Channel Removal Requests
General Questions
DMCA Takedown Notice
RSSing>>
Collections:
RSSing
EDA
Intel
Mesothelioma
SAP
SEO
Latest
Articles
Channels
Super Channels
Popular
Articles
Pages
Channels
Super Channels
Top Rated
Articles
Pages
Channels
Super Channels
Trending
Articles
Pages
Channels
Super Channels
Switch Editions?
Cancel
Sharing:
Title:
URL:
Copy Share URL
English
RSSing.com
RSSing>>
Latest
Popular
Top Rated
Trending
Channel: ASKSAGE: Sage Q&A Forum - RSS feed
NSFW?
Claim
0
X
Mark channel Not-Safe-For-Work?
cancel
confirm
NSFW Votes:
(
0
votes)
X
Are you the publisher?
Claim
or
contact us
about this channel.
X
0
Showing article 3 of 4 in channel 76691868
Channel Details:
Title: ASKSAGE: Sage Q&A Forum - RSS feed
Channel Number: 76691868
Language: English
Registered On: November 25, 2023, 11:00 pm
Number of Articles: 4
Latest Snapshot: December 1, 2023, 2:04 pm
RSS URL:
https://ask.sagemath.org/feeds/question/68663
Publisher:
https://ask.sagemath.org/questions/
Description: Q&A Forum for Sage
Catalog:
//asksage223.rssing.com/catalog.php?indx=76691868
Remove ADS
Viewing all articles
Article 1
Article 2
Article 3
Article 4
Browse latest
Browse all 4
↧
Comment by toni for I am trying to plot the following function:x = var('x') def y(x): return RR(len(prime_range(floor(0.95 * x), floor(1.25 * x))) / round(1.25 * x - 0.95 * x)) I am not sure whether it is well-constructed mathematically, but it's trying to check the density of prime numbers around a given value x I am using the floor() function because I'm not sure that prime_range() accepts non-integers.If I test the function with random real values of x I get a plausible output without errors.However, when I try to plot the function as in:plot(y(x), (x, 5, 20)) I get the following error message:TypeError: unable to convert floor(0.950000000000000*x) to an integer and argument is also not real: unable to simplify to float approximation I don't understand why this input cannot be understood as real by sagemath, or why the floor is not an integer.
May 22, 2023, 5:37 pm
≫
Next: Plotting error message regarding numerical type of function arguments
≪
Previous: Comment by John Palmieri for I am trying to plot the following function:x = var('x') def y(x): return RR(len(prime_range(floor(0.95 * x), floor(1.25 * x))) / round(1.25 * x - 0.95 * x)) I am not sure whether it is well-constructed mathematically, but it's trying to check the density of prime numbers around a given value x I am using the floor() function because I'm not sure that prime_range() accepts non-integers.If I test the function with random real values of x I get a plausible output without errors.However, when I try to plot the function as in:plot(y(x), (x, 5, 20)) I get the following error message:TypeError: unable to convert floor(0.950000000000000*x) to an integer and argument is also not real: unable to simplify to float approximation I don't understand why this input cannot be understood as real by sagemath, or why the floor is not an integer.
$
0
0
Thank you! @John Palmieri
↧
Search
RSSing.com
Remove ADS
Viewing all articles
Article 1
Article 2
Article 3
Article 4
Browse latest
Browse all 4
Trending Articles
Practice Sheet of Right form of verbs for HSC Students
September 22, 2019, 11:40 pm
Download: FK ft Shenky – Nakuyewa ”Prod by: Shenky”
February 16, 2017, 4:24 pm
How to win at Markstrat (Markstrat Tips and Tricks) – Vodites
January 5, 2014, 10:34 pm
Ominde Commission Report and Recommendations – Ominde Report of 1964
March 16, 2015, 5:14 am
Bureau of Internal Revenue: Regional Offices (Directory)
January 9, 2014, 11:06 pm
GO 53 on Enhancement of Ex-gratia upto 5 Lakhs Toddy Tappers in Telangana
March 26, 2017, 11:23 pm
Cakewalk CA-2A Leveling Amplifier v2.0.1.97 WiN, v2.0.1.96 OSX Incl Keygen
October 17, 2016, 7:20 am
Mp3 Download: Mdu - Kunjenjenjena
December 7, 2017, 8:16 am
How the kill the job , when DTP request running for long hours.
July 26, 2013, 2:41 am
Microsoft Intune から展開しているアプリのアップデートについて
October 17, 2016, 4:11 am
18-year-old girl was beaten for half an hour by two Northampton men in 'an...
September 1, 2017, 10:00 pm
Car crash in Dunton Bassett leaves driver in critical condition
October 7, 2014, 7:51 am
Macky 2, Two Others In Road Accident
March 29, 2015, 5:34 am
Application log 00000000000000089514: Could not convert queue DLVST90CLNT
May 14, 2015, 11:27 pm
Detroit mafia: D’Anna Brothers agree to plea deal
April 21, 2016, 6:56 am
Delivery block field greyed out using VA02
January 26, 2016, 2:52 pm
Muloraki Au
June 22, 2016, 1:44 am
【個人撮影】スマホのプライベート映像♪「中に出さないで///」カラオケ屋での生ハメ撮りが流出w【リベンジポルノ】@PornHub
October 12, 2017, 2:23 pm
BREAKING NEWS: Diamond Platnumz Is Reported Dead After Ghastly Car Accident
February 9, 2018, 4:56 am
FIAT 500 B0111 B0112
July 5, 2018, 10:31 am
Search
RSSing.com
© 2025 //www.rssing.com