blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
34bb1ce87335e441f9395c6f228d7d8bf48fa486 | 676ffceabdfe022b6381807def2ea401302430ac | /utilities/FieldConvert/Tests/bfs_tec.tst | 402d7cbed62992c838d56f9f815c99fe0808037d | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 768 | tst | bfs_tec.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description> Process 2D tecplot output </description>
<executable>FieldConvert</executable>
<parameters> -f -e bfs_tg.xml bfs_tg.fld bfs_tg.dat</parameters>
<files>
<file description="Session File">bfs_tg.xml</file>
<file description="Session File"... |
85f7d0e9ebd621c011657095d36259dcb727118f | 469d608ddab9d748da9e4c5af2263b1fd33ac914 | /Gauss-Jordan E - Scilab/Gauss-Jordan.sce | 2367b22f035485d07cd51889a040c4f5af133a35 | [
"MIT"
] | permissive | MikeSagnelli/NumericalMethods | d8f7df424e47b4469e6914bdb1762e0b4ddb3bb5 | ba56cc4f659971e4242eb506404c81a127313742 | refs/heads/master | 2021-01-09T06:18:30.938051 | 2017-05-20T00:06:58 | 2017-05-20T00:06:58 | 80,955,542 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 891 | sce | Gauss-Jordan.sce | // Author: Michelle Sagnelli D'urzo
// Create an augmented matrix using two given matrices.
AUGM = [A B]
X = AUGM
VARIABLES = []
ERRORS = []
// Display the complete matrix
disp("Augmented Matrix")
disp(X)
// Applying Gauss-Jordan
X = rref(X);
// Display Gauss-Jordan matrix
disp(X)
// Adding varia... |
8d4e11159632caf2f2f2cc34aef556f8a9515fdf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH2/EX2.21.C/EX2_21_c.sce | dd13b09cb3345d4cf3cd9e56e8983ba0546a2914 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 88 | sce | EX2_21_c.sce | //EXAMPLE 2.21.C
clc;
x1=10;
x=integrate('1','t',-2,x1);
disp(x)
disp('valid for t<=2')
|
43b7fc27a92e7a882aae4918ef2478a40a5fd1f5 | c8e1f3497e421ab8171304b956b541392620b46c | /fminbnd-optimization-algorithm/Example1.sce | c8b5ad972b7d533d1cb0e4c415efe363c90ebc41 | [] | no_license | Prankurtiwari/Optimization-FOSSEE-project | 73ef60cb45aa1084cd0f22d14fdbd181299b3a1a | b5f0f39542e70aacdf361bdb98ceff75861b70d3 | refs/heads/master | 2022-06-24T11:57:53.047101 | 2020-05-05T14:42:26 | 2020-05-05T14:42:26 | 261,466,839 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,729 | sce | Example1.sce | //Problem to test fminbnd
//Problem taken from Engineering Optimization b Singiresu S.Rao
//A manufacturing firm producing small refrigerators has entered into a contract to supply 50 refrigerators at the end of the first month, 50 at the end of the second month, and 50 at the end of the third. The cost of producing x... |
2cf7eec66a590d16983c6dd8359657e5a63427db | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/percent/%pmlss.sci | fb27327b0ce2d8cf65f048e291325ead1bca0f1d | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 219 | sci | %pmlss.sci | function [s]=%pmlss(d2,s1)
// [s]=%lssmp(d2,s1)
// d2*s1
//
// s1 : state-space
// d2 : polynomial matrix
//!
// origine s. steer inria 1992
//
s=tlist(['lss','A','B','C','D','X0','dt'],[],[],[],d2,[],[])*s1
|
dd0254842ba06b3c3445f4a47735a4c9d8973634 | 62e6605ab494919b6833bf1a1b158bcb6f9b79df | /typecheck.sci | 4a145d5283a74709de31d77c8622b2f955177119 | [] | no_license | mani1250/system-identification | c597c26d10bb5dd62b1b4db650b3945afc336e37 | 5db0536c792dfaa4a8f01561315263503ff34d3d | refs/heads/master | 2021-01-12T06:56:00.703593 | 2017-03-07T12:18:15 | 2017-03-07T12:18:15 | 76,865,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 333 | sci | typecheck.sci | function out = typecheck(A,B,C,D,F1)
if(A==1)
if(C==1 | F1==1)
out = "oe"
else
out = "bj"
end
elseif(D==1 & F1==1)
if(C==1)'
out = "arx"
else
out = "armax"
end
else
out = "idpoly"
end
... |
a241b83248b03a522b211a0ce745a52e887f89c9 | 36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd | /closefast.sce | f8f2e95a0e5e6611068a52ac5567b1872662e493 | [] | no_license | Ahmad6543/Scenarios | cef76bf19d46e86249a6099c01928e4e33db5f20 | 6a4563d241e61a62020f76796762df5ae8817cc8 | refs/heads/master | 2023-03-18T23:30:49.653812 | 2020-09-23T06:26:05 | 2020-09-23T06:26:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 24,413 | sce | closefast.sce | Name=closefast
PlayerCharacters=ow-heavysurgerifle
BotCharacters=ow-rotation.rot
IsChallenge=true
Timelimit=60.0
PlayerProfile=ow-heavysurgerifle
AddedBots=ow-rotation.rot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=boxernobounds.map
MapScale=2.0
BlockProjectilePredictors=true
BlockCheats=true
Invinc... |
eb5628e99891d34dd8a41f759ce9fc2d82acf2c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH2/EX2.7.1/2_7_1.sce | 80c44fd45030bc76e5c3e8153e12216646bf008c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | 2_7_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 2
//Example 2.7-1
//Principles of Momentum Transfer and Overall Balances
//given data
//Q=(z2-z1)*g+(v2^2-v1^2)/2 + (H2-H1)
//for KE terms
v1=1.52;//velociy of inlet stream
v2=9.14;//velocity of exit stream
KE=((v1^2)-(v2^2))/2;
//for PE terms ... |
8435ecec5583e95ad6a868f02533960d27b938b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /542/CH8/EX8.2/Example_8_2.sci | c4d187e29a0327fa50ceec8c8bd069d98627ab10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sci | Example_8_2.sci | clear;
clc;
printf("\n Example 8.2");
//From the gel polarisation model:
//J = (1/A)(dV/dt) = hD ln(Cg/Cf)
//Cf = Co(Vo/V)
//where Co and Vo are the initial concentration and volume,respectively and Cf and V are the values at subsequent times
//Combining these eq gives
//dV/dt =... |
a210560a9a41f313fa047f29e02bf330633eac58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH6/EX6.8/6Ex8.sce | 6d89c95901709f6e604d83d87b65d818bf27d28a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 188 | sce | 6Ex8.sce | //chapter 6 Ex 8
clc;
clear;
close;
total=25; avg25=18; avg12first=14; avg12last=17;
num13=(avg25*total)-((avg12first*12)+(avg12last*12));
mprintf("The 13th number is %d",num13);
|
79d602b2936090028a90b2f84cf862d28365f8a3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.3/Ex19_3.sce | afea2d2bdbfdff42853de83d54ba53664988b82b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 143 | sce | Ex19_3.sce | //Ex19_3 Pg-958
clc
a=1
b=0
c=1
dec=a*2^(-1)+b*2^(-2)+c*2^(-3) //decimal output
disp("The decimal equivqlent of 0.101 is")
disp(dec)
|
7ad9c0e353c80af462c55c8799f23033d316b220 | 27c8131743b503e49c4a4c184b396e4576d47b31 | /Week2/code.sce | 513a2b192cc02775bfa8e1b8f72d87b1d841702e | [] | no_license | tienanh-1999/DigitalSignalProcessing-Scilab | c4f9e506bd1877a915646d1f35b4b93bbcbdd09c | 7f91b44b74f31e690f301bdc04efcc3076ed37df | refs/heads/master | 2020-08-03T16:44:15.659180 | 2019-10-22T08:54:04 | 2019-10-22T08:54:04 | 211,817,238 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,618 | sce | code.sce | clc
clf
// --------- PLOT SIGNAL --------
function plot_signal(x, n, pos, name, dotColor)
subplot(2,4, pos)
indice = linspace(0, length(x) - 1, length(x))
indice = indice - n + 1;
plot2d3(indice, x)
config = gca()
config.x_location = "origin";
config.data_bounds = [ -10 -10; 10 10];
... |
e7f2c7f6eafb4d0daeb7ca4b1617c9a13ccb9b90 | 83cc38e86db979610d3b07de13a13b728154de65 | /Мобильная робототехника/Lab1/Lab2-1.sce | f3babb920e35c431ef13d0b426a61834420c4302 | [] | no_license | Murad255/Sharaga_ | ffa412f0f5ae4dd4cc7f8bec2329e075026389fb | 3ba1ff62c0933b942e6fbbbb370e7e18ee49a682 | refs/heads/master | 2023-04-02T02:28:57.289478 | 2023-03-22T12:44:16 | 2023-03-22T12:44:16 | 178,941,358 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 347 | sce | Lab2-1.sce | clear; xdel(winsid());
/*
1 вар
если уже в открытом списке, проверяем текущую Ф бол
*/
function s=f(h,g)
s = (h(1))
endfunction
size_ = 32;
map = zeros(size_,size_);
map(1,:) = 1;
map(size_,:) = 1;
map(:,1) = 1;
map(:,size_) = 1;
// отображение
figure(1); clf;
hist3d(map);
|
a0c27507535634d1c6005379c4c011335ada2de7 | 959e1fabeee80160b75037eedcd42474b4cbbd32 | /week9/Pk.sci | 2ee53d20eab62adece5112bc52dbd911d7ab72e1 | [] | no_license | catchmrbharath/compmeth | 935c84ce97812a9fe639e3a7467baafcd4414afc | a4fc350aa12e1a28e6880a6bcb32dff8d897f3d0 | refs/heads/master | 2016-09-09T20:20:29.138169 | 2011-11-25T01:35:19 | 2011-11-25T01:35:19 | 2,180,615 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sci | Pk.sci | function M=Pk(n,k,v)
u = householder(v);
M = eye() - 2*u*u';
endfunction
function M = P(n,k,a)
M = eye(n,n);
M(k:n,k:n)=Pk(n,k,A(k:n,k))
endfunction
function A= p2z(R,theta)
A = R*exp(%i*%pi*theta/180.0);
endfunction
A = eye(8,8)
for i=1:8
for j=1:8
A(i,j)=cos((i-1)*(j-1)*%... |
da35632130555450cae7b26f9692d5e4f9002f05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH6/EX6.9/6_9.sce | c0677e209244ffcaedb8109674e0614341cfeec5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 477 | sce | 6_9.sce | clc;
//page no 258
//prob no. 6.9
//An IF transformer at 455kHz & primary ckt has Qp=40 & secondary Q=30
fo=455*10^3;Qp=40;Qs=30;
//a)Determination of critical coupling factor
kc=1/sqrt(Qp*Qs);
disp(kc,'a)The critical coupling factor is');
//b)Determination of optimum coupling factor
Kopt=1.5*kc;
disp(Kopt,'b... |
5a8d05a9d3587856479e2d21185eb9ca195ff5e4 | 8b478a8f9c9ebc5420d79a115b278c7aea7308af | /3rdparty/hdf4-4.2.14-win64/HDF4Examples/hdf/examples/VD/testfiles/h4ex_VD_get_vdata_info.tst | ac66fa1a91f3fe95d195aa64124e5730bd228227 | [
"LicenseRef-scancode-hdf4"
] | permissive | gzliyu/GF2 | 85e71cf298e8365b2f6a94a11ed664aa3f59a4c0 | f0edd69e47022d1d16fc5b0c370d6e607ac594b0 | refs/heads/master | 2023-02-21T11:03:55.830515 | 2021-01-08T06:13:33 | 2021-01-21T12:11:55 | 331,960,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 249 | tst | h4ex_VD_get_vdata_info.tst | Vdata First Vdata: - contains 5 records
Interlace mode: FULL
Fields: Single-component Field - 1 bytes
Vdata Second Vdata: - contains 6 records
Interlace mode: FULL
Fields: Multi-component Field - 16 bytes
|
479d2604f96c3b4cb2d27ac75a66884d2a5db150 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3308/CH18/EX18.2/Ex18_2.sce | 7b14b1ffdcf1039ef7443be0fd2b08d74d5fa549 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 642 | sce | Ex18_2.sce | clc
// Given that
W=250//in ton Weight of injection moulding machine
d=4.5//in inch diameter of spur gear
t=0.5//in inch thickness of spur gear
//Gears have a fine tooth profile
// Sample Problem on page no. 488
printf("\n # Injection Molding of Parts # \n")
//because of fine tooth profile pressure requi... |
603b177755e6447a45668b8cf640fc0d01f303d2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/cothm.man.tst | 11dde5d191cd9bfccb4659735a743f843844920d | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 38 | tst | cothm.man.tst | clear;lines(0);
A=[1,2;3,4];
cothm(A)
|
00deeed0015a019cf249debee98acef2d8bb2601 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Drwpt.sci | 5cb45c6f05a1523ce0b53219465bd17829536a61 | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,608 | sci | Drwpt.sci | //
// 08.05.31
// 09.12.25
// 10.01.01
function Drwpt(varargin)
global Wfile FID TenSize TenSizeInit MilliIn;
Nargs=length(varargin);
if TenSize>TenSizeInit
N=round(6*sqrt(TenSize/TenSizeInit));
else
N=4
end
Tmp=varargin(Nargs);
if type(Tmp)==1
if length(Tmp)>1
Kosa=1; All=Nargs;
el... |
a368c47063d41b3307c6671ff6c8b279fca5d985 | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/calib3d/convertPointsToHomogeneous/test2.sce~ | 87684d0f52604c7ec2b2737b34e6fc3eb9e17e99 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 243 | test2.sce~ |
in = [ -75 -90 30 ;
-120 11 12;
122 11 14];
//Checking if error message pops up when input is 3D instead of 2D point set
output = convertPointsToHomogeneous(in);
//output->
// !--error 999
//Please enter 2D points matrix of size Nx2.
| |
c3b3b4c7bffe1a681e46cd53be8d881680ab5011 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH6/EX6.5/Ex6_5.sce | 5833aba37413eec7daaa937d65051b10d3bfc864 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 767 | sce | Ex6_5.sce | clc();
clear;
//Given :
ME = 35*10^3 ; //Maximum energy in eV
theta = %pi; // photon is backscattered
h = 6.625*10^-34; //planck's constant in Js
m0 = 9.1*10^-31; //electron mass in Kg
c = 3*10^8; //Speed of light in m/s
deltalambda = (h*(1-cos(theta)))/(m0*c); // in A
// (h*c/lambda) - (h*c/lambda') = 35 KeV ... |
cdfce3b742dcad1e6359cd5164a23fffa92aa990 | 449d555969bfd7befe906877abab098c6e63a0e8 | /978/CH4/EX4.6/Example4_6.sce | 7d86261a736fd92a9430b2fa2340e7dbe39892cf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sce | Example4_6.sce | //chapter-4,Example4_6,pg 490
add="0011"//binary-3 to be added
x="0010"//binary-2
x=bin2dec(x)
add=bin2dec(add)
XS31=x+add
XS31=dec2bin(XS31)
y="0100"//binary-4
y=bin2dec(y)
XS32=y+add
XS32=dec2bin(XS32)
z="0111"//binary-7
z=bin2dec(z)
XS33=z+add
XS33=dec2bin(XS33)
printf("X... |
66e9314324e39d3df39265060288100a229aef5c | 8bc8cad4ff08d4d9e353e7a5a1baa8b188b994f3 | /dft_rect_pulse/dft_rect_pulse.sce | 1fcf48ea928e7c4e2e4c9e6efde3c3fad791ad34 | [] | no_license | ROHITDH/scilabBasics | 259c74030901258dbe8d77c61eacd467fc58b9de | f29b20b645d0f8181a3abc14c0d03ff59b69bd40 | refs/heads/main | 2023-02-22T12:21:31.459103 | 2021-01-27T01:24:22 | 2021-01-27T01:24:22 | 333,165,290 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 556 | sce | dft_rect_pulse.sce | //find dft of a rectangular pulse --> sinc function
clear
clc
close
n = -10:0.1:10
a = 1
for i = 1:length(n)
if(n(i)>=-a & n(i)<=a)
x(i) = 1
else
x(i) = 0
end
end
figure(0)
subplot(211)
plot2d3(n,x)
title("Rectangular pulse")
xlabel("---->n")
ylabel("x(n)")
a1 = gca()
a1.x_location = 'ori... |
3d8feb3557c22e898281c196857c88267587ccb0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH10/EX10.15/ex10_15.sce | 3515949c165a7dcca48957817dffc69c9d74befc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | ex10_15.sce | // Exa 10.15
clc;
clear;
close;
format('v',6)
// Given data
P = 8;
phi = 0.1;// in Wb
Z = 400;
N =300;// in rpm
Eg = (N*phi*Z)/(60);// in V (A = p)
disp(Eg,"The emf when lap is connected in V is");
// For A=2, connected armature
A = 2;
Eg = (N*phi*P*Z)/(60*A);// in V
disp(Eg,"The emf when wave is connect... |
ba1c6da3f99b4bd5eb8ab29a807ebb22e41291e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH25/EX25.6/Chapter25_example6.sce | 331ef6a7524273a7b0b30ac9159060264ec6d6c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 920 | sce | Chapter25_example6.sce | clc
clear
//Input data
p1=5.62//Pressure of gas entering the turbine in kg/cm^2
T1=1000+273//Temperature of gas entering the turbine in K
p2=1.124//Pressure of gas leaving the turbine in kg/cm^2. In textbook it is given as 1.24 instead of 1.124
n1=0.8//Isotropic efficiency of the turbine in ratio
n=1.36//Adiabat... |
4bdc8721bfdb4e2f4f830021d17affd845684f63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH12/EX12.10.2/12_10_2.sce | 01322d8662f0cee9fefe28a04a49e35782eb0d70 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | 12_10_2.sce | clc
//initialisation of variables
v= 1155 //ft/sec
V= 600 //m.p.h
r= 880
//CALCULATIONS
V1= ((sqrt(v/1000))-1)*100
//RESULTS
printf ('percentage error = %.1f per cent',V1)
|
c6327ab9ed7ec07f4a15c910cbab858b3d4e1956 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH11/EX11.21/Ex11_21.sce | 6e1c17a0555957b4fa2462dbe424094bdaaa60b2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,275 | sce | Ex11_21.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 11.21\n\n\n");
// Chapter 11 : Heat Transfer
// Problem 11.21 (page no. 589)
// Solution
//Because the conditions of illustrative problem 11.15 are the same as for problem 11.19 and 11.20,we can solve this problem in two ways to obtain a check.
//Thus,... |
4150eb515bd510828c16d8d1462ca929ea223e94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH1/EX1.8.a/ex1_8_a.sce | 18b13f3dec97542202056d8a5499f9ca06e6d939 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 335 | sce | ex1_8_a.sce | //Example 1.8(a)
clc;
Fs=500*10^-3; //Full Scale
e=0.02; //error permissable +-2%
I=300*10^-3; //Current measured
lim_err=Fs*e; //magnitude of limiting error
//limiting error at a given current I
lim_err_I=100*lim_err/I;
printf('\nLimiting error at 300 mA = %.2f percen... |
2b6bd0e44dae01b9fb07bcc904a5aa7c56a952e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH6/EX6.13/Ex6_13.sce | 2aa54e579405cac3740b3d8adbf1180f60ade6be | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 259 | sce | Ex6_13.sce | //Example 6_13
clc;
clear;
close;
format('v',6);
//given data :
Vdc=30;//V
rf=25;//ohm
RL=500;//ohm
Idc=Vdc/RL;//A
Im=%pi*Idc;//A
Vi_max=Im^2*(rf+RL);//V
disp(Vi_max,"Voltage required at input(V) : ");
//Answer in the textbook is not accurate.
|
5a3b13932f4d136ed8becaefae7813a814f96dbb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH3/EX3.12/Ex3_12.sce | 49a0abd28506e6144ac808b63907e498329dbf52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sce | Ex3_12.sce | clc;
//ex3.12
d=0.001;
q=1.6*10**-19;
ND=10**20;
R=1000;
mun=0.1;
n=ND;//number of free electrons
sigma=q*n*mun;//conductivity
disp('S/m',sigma*1,"sigma=");
a=(1/sigma)*(1/(%pi*(0.001^2)/4));
l=R/a;
disp('mm',l*10**3,"l=");
|
708fe8c79a137f06f2a504ac808697983d79f969 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH3/EX3.6/3_6.sce | 2d062739a8617775625abdb8b9d6a978a64a0a3c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | 3_6.sce | clc
//initialistions
t1=80//c
t2=50//c
t3=60//c
t4=30//c
t=20
e=5
//CALCULATIONS
k=2.3026*log((t1-t)/(t2-t))/e
T=2.3026*log((t3-t)/(t4-t))/k
//results
printf(' time it will take = % 1f min',T)
|
ae50f6d107448ab3d6e5b74e59b8195c2f60ae1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH5/EX5.15/5_15.sce | c84d29127a3e82c557ae10c9f9ff8a0c2eb4bb31 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 785 | sce | 5_15.sce | clear all; clc;
disp("Ex 5_15")
disp("Free body diagram is as shown in fig 5-30b")
//Initilization of variables
F=[0,-1000,0] //matrix notation
T_C=[0.707,0,-0.707] //matrix notation
T_D=[-3/9,6/9,-6/9] //matrix notation
//Calculations
//Applying summation of forces along each axes and equating them to zero
//Apply... |
22020558f0bc87a39ef53c455727a578b3208b37 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/islinphase/islinphase11.sce | 8a2b0b1f1eb88de369da8eaeb25290d3fb5ad934 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | islinphase11.sce | //i/p args are matrices
b=[1 2 3 4;2 3 4 5];
a=[2 3 4 5;3 4 5 6];
flag2=islinphase(b,a);
disp(flag2);
////output
//!--error 10000
//check input dimension
//at line 23 of function islinphase called by :
//flag2=islinphase(b,a);
|
9c33d8fbb59d537487921051d1ebca24c9af9ff9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH8/EX8.5/8_5.sce | 7013ea9f17e6fe0a04c7128163dd7fe73b8fa913 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 643 | sce | 8_5.sce | //All the quantities are expressed in SI units
M = 3.5; //Mach number
T = 180; //static temperature from ex. 7.3
p = 0.3; //static pressure in atm
gam = 1.4;
R = 287;
//from eq. (8.40)
T0 = T*(1+((gam-1)/2*M*M));
//from eq. (8.42)
p0 = p*((1+((gam-1)/2*M*M))^(gam/(gam-1)));
a ... |
5ff2601460602019d1da8650affe13c7c758f426 | def990d46efecd1e2b6b9728c87a2a055e0cf8a2 | /math_mod/laboratory/lab02/files/lab02.sce | ec9ed0de248aafd69869436142db82e869de6165 | [] | no_license | Quidam33/2020-2021 | b5629d49fcdfd4e04f1feec00c7c289a97fbd3d9 | dc5d7842004a566a476242fefb067375c48b36ec | refs/heads/main | 2023-03-28T12:42:43.985145 | 2021-04-03T17:51:58 | 2021-04-03T17:51:58 | 340,481,454 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 796 | sce | lab02.sce | s=2;// начальное расстояние от лодки до катера
fi=3*%pi/4;
//функция, описывающая движение катера береговой охраны
function dr=f(tetha, r)
dr=r/sqrt(3);
endfunction;
//начальные условия в случае 2
r0=s;
tetha0=-%pi;
tetha=0:0.01:2*%pi;
r=ode(r0,tetha0,tetha,f);
//функция, описывающая движение лодки браконьер... |
18a2fe532494de08f36f20a0e574ca69fc73dcab | 3592fbcb99d08024f46089ba28a6123aeb81ff3c | /main/predControl/testPredictionICRA2013.sce | b29e18a1fab756cd9e769d7cff44d7e96d3e9693 | [] | no_license | clairedune/sciGaitanLib | a29ab61206b726c6f0ac36785ea556adc9ef03b9 | 7498b0d707a24c170fc390f7413359ad1bfefe9f | refs/heads/master | 2020-12-11T01:51:13.640472 | 2015-01-28T13:52:26 | 2015-01-28T13:52:26 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14,126 | sce | testPredictionICRA2013.sce |
// Exp1 : erreur en translation et mouvement de translation
pathSave = "results/Exp1";
Delta = [-0.04 0.07 0.0 0.00*%pi/180 0.0*%pi/180 0.00*%pi/180];
Uc_m = [0.1; 0; 0.0; 0; 0; 0]; // init velocity
FlagNoise = 0;
// Exp2 : erreur en translation et trans rot
pathSave = "results... |
92e5c8c9a7b25f7b6f421b6610b86d638610f89a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH11/EX11.7/Example11_7.sce | 805eaf8d2359297d04d7feb1047ff0763cd43d47 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | Example11_7.sce | //Example 11.7
clc;
clear;
close;
format('v',6);
//Given data :
Cd=0.62;//constant
Q=250;//litres/sec
Q=Q*10^-3;//m^3/s
theta=90;//degree
g=9.81;//constant
d=1.3;//meter
H=(Q/8*15/Cd/sqrt(2*g)/tand(theta/2))^(2/5);//m
h=d-H;//meter
disp(h,"Position above the bed in meter : ");
|
b90956bda7d663456954bf34455520614cfe0c05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH13/EX13.4/ex_13_4.sce | 5b61fba2254d7b312231cbc46fc5902bb3409ffe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 819 | sce | ex_13_4.sce |
clc
//solution
//given
P=40000//W
N=350//rpm
ts=40//N/mm^2
fcs=80//N/mm^2
tc=15//N/mm^2
//let d be dia
Tq=(P*60*1000)/(2*%pi*N)//N-mm
//Tq=(%pi/16)*ts*d^3=7.86*d^3
//d=(Tq/7.86)^(1/3)//mm
printf("the dia of shaft is,%f mm\n ",(Tq/7.86)^(1/3))
printf("the dia of shaft is ,say 55mm\n")
d=55//mm
D=2*d + 13//mm
printf("th... |
0d2345196562b8626c13ef4c9b284b8cb36faa2a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH3/EX3.8/Ex3_8.sce | bf91cf69e021f0983dff90abb48f92beace1c2e7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 898 | sce | Ex3_8.sce | // Chapter 3 example 8
//------------------------------------------------------------------------------
clc;
clear;
// Given data
f = 100*10^6; // operating frequency in Hz
v = 2*10^8 ; // propagation velocity in m/s
Zo = 300; // charecteristic impedance... |
86431a90474cc1f749c63fe714ae9294eb47a3c8 | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map3303.sce | 8c4f521755502eae1d814810b9c7c9cf68094d48 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 3,396 | sce | map3303.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map3303" Width="13" Height="13" CellSize="40" BackgroundSize="2" Background="_t.png">
<Cell Name="雪灌木" X="1" Y="1" />
<Cell Name="雪灌木" X="2" Y="1" />
<Cell Name="雪灌木" X="4" Y="1" />
<Cell Name="出生点" X="6" Y="1" />
<Cell Name="雪灌木" X="8" Y="1" />
<Cell N... |
da5b9394182e994a5b4827bd5e9bcb7b8bee491b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH7/EX7.4/Example_7_4.sce | ea6ffb06bd467a18b3e88f776395d2b799fe0e78 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 896 | sce | Example_7_4.sce | //Scilab Code for Example 7.4 of Signals and systems by
//P.Ramakrishna Rao
clc;
clear x y1 y y2 q t n;
clear;
//y(t)=x(2*t)
disp('y(t) depends upon past inputs for t<0');
disp('y(t) depends upon future inputs for t>0');
disp('Hence the system is Dynamic');
x1=[1,3,5,7,2,5,3,9];//Random Variable
x2=[2,4,6,8,2... |
88e984c6b0ddf666bb664043d42bbc7d54fceb2b | d566bba06eac5fd01c3fce33bf071b090a59c00f | /zerocrossings.sci | 6a884c381b502318c3af0b6dd5a677390bfd7797 | [] | no_license | ShashikiranYadalam/Signal_processing_toolbox | bf583f2592f6155e81d8cdcca8024c5e78e9c1dd | ebe9d76212a1f9b13948e6c84ecd9ecf04f5c454 | refs/heads/master | 2020-03-20T04:14:32.884061 | 2018-06-13T11:14:50 | 2018-06-13T11:14:50 | 137,176,252 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,684 | sci | zerocrossings.sci | function r = zerocrossing (x,y)
//This function estimates the points at which a given waveform crosses the x-axis.
//Estimates the points at which a given waveform y=y(x) crosses the
//x-axis using linear interpolation.
//Calling Sequence
//r = zerocrossing (w, y)
//Parameters
//r: zero crossing points
//y:function... |
ee36311216d471f25e577065cd3509059b359ad4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1628/CH10/EX10.1/Ex10_1.sce | f4672ff715cc5993d85bc78f51ff5ed10ad50edf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 942 | sce | Ex10_1.sce |
// Example 10.1
// From Diagram 10.2a
Vm=141+%i*0; // Peak value of Voltage
V=Vm/1.414; // Rms value of Voltage
v=100+%i*0; // Here will have V=99.70, but we took v=100
R=3; // Resistance
wL=0.0127*100*%pi; // Reactan... |
2e3d0b268fb9d6c7eac829256b17a05228192ea1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH9/EX9.10/ch9_10.sci | 9e6ca1df0507728befd9fb24be0ed8dfa88a350d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 285 | sci | ch9_10.sci | //to calculate max torque and slip, starting torque
clc;
k=5; //k=I_s/I_fl
s_fl=0.04;
s_max_T=sqrt((s_fl^2*(1-k^2))/((k*s_fl)^2-1));disp(s_max_T,'slip');
T_max=.5*(s_max_T^2+s_fl^2)/(s_fl*s_max_T);disp(T_max,'max torque(pu)');
T_s=k^2*s_fl;disp(T_s,'starting torque(pu)'); |
8b3f30402de5c7112cb771430c749cc61160349a | 449d555969bfd7befe906877abab098c6e63a0e8 | /881/CH1/EX1.15/exa1_15.sce | b5562ecfa93f97d37db6b324129cad5a758cf601 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 113 | sce | exa1_15.sce | clc;
//Example 1.15
//Page no 28
//solution
v1=4;
v2=0.005;
sn=20*log10(v1/v2);
disp('dB',sn,"S/N = ");
|
a2dd7189957dfddc4d50593eea9a848c102f3f5d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH5/EX5.1/Ex5_1.sce | a98d296f7ec5b97a1a0c71f31883ce7d35035f69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,256 | sce | Ex5_1.sce | clear all; clc;
disp("From figure 5.3a, we have Cl=0.36, Cd=0.017 and alpha=1.8 degrees at maximum L/D")
N=3500
C_l=0.36
alpha=1.8
C_d=0.017
r_t=13.25
r_h=3.25
Zb=7
Q=11560//cfm
gamma_1=70
alpha=1.8
A=%pi*(r_t^2-r_h^2)
printf("\n A is equal to %0.1f in^2",A)
disp("On converting it in terms of feet ... |
f6ba4693cfd8c7ccf7cdfb160e78a5e0e7dbad9c | e822c26ab557aca59a6a1da98e64e1490f3c521b | /ALU/FA.tst | 0af68264b6894bfeffe82e8631d8c7e3bfa31ecf | [] | no_license | imilicic/computer-circuits-hdl | 92e886422d182f9d2272f8a01a548b9ff0e9c005 | e21c052564976997ed176edeb3df4af67d1d2f98 | refs/heads/master | 2020-05-30T20:25:47.967396 | 2019-06-03T06:43:10 | 2019-06-03T06:43:10 | 189,949,252 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 394 | tst | FA.tst | load FA.hdl,
output-file FA.out,
output-list a b c0 c1 s;
set a 0, set b 0, set c0 0, eval, output;
set a 0, set b 0, set c0 1, eval, output;
set a 0, set b 1, set c0 0, eval, output;
set a 1, set b 0, set c0 0, eval, output;
set a 0, set b 1, set c0 1, eval, output;
set a 1, set b 0, set c0 1, eval, output;
set a 1, ... |
fce8f498078f10eb5bc7a3d72f938ddb068c3fbc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH3/EX3.15/Example3_15.sce | a51e92d85d217b7dbe1ddc74095a6814733a97f2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,376 | sce | Example3_15.sce | //Example 3.15
clc
disp("Step 1: Identify topology")
disp(" By shorting output(Vo = 0), feedback voltage does not become zero. By opening the output loop feedback becomes zero and hence it is current sampling. The feedback is applied in series with the input signal, hence topology used is current series feedback.")... |
fa13a46ffe5c36584c27f854d46fae892117c637 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH6/EX6.11/Ex6_11.sce | d20daa7c557ed76452c39d44074d1a0f34728920 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,153 | sce | Ex6_11.sce | clc
// solution
//initialization of variables
// refer to fig 6.10c
QdotC=300 //heating Load in KWh or heat rejected by condensor
T1=-12 // evaporator temperature in degree celsius
P2=800 // condensor pressure in kPa
h1=240 // specific enthalpy of saturated R-134a vapour @ -12 degree celsius from table D.1
s... |
0a77ba58a84136ebb1e1655a1aa27de605590930 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH8/EX8.3.b/8_3_soln.sce | 51fa6378ea73e915084d6d766275d1c803343ae4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | 8_3_soln.sce | clc;
pathname=get_absolute_file_path('8_3_soln.sce')
filename=pathname+filesep()+'8_3_data.sci'
exec(filename)
// Solution:
// Horsepower across the valve,
HP=((p*Q)/1714); //HP
// Results:
printf("\n Results: ")
printf("\n The Horsepower across the unloading valve is %.2f HP.",HP)
|
a9dac3a39e0dcde40c3d3858aba2cd8be282b99f | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH9/EX9.5/Ch09Ex05.sce | 7bb850ea8604bc59ade5bd008ac0009e1c05ec50 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 605 | sce | Ch09Ex05.sce | // Scilab code Ex9.5: Pg.381-382 (2008)
clc; clear;
delta_E = 4.77e-04*1.6e-19; // Energy difference, J
l = 0; // Rotational level
h_cross = 1.055e-34; // Reduced plank's constant, J-s
I = h_cross^2/delta_E; // Moment of inertia, ev-s^2
m_1 = 12; // Mass of C, u
m_2 = 16; // Mass of O, u
mu = ... |
c184807e7ba174a5180baaf18a18001a1d05f2d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH8/EX8.3/Ex8_3.sce | 6a534502eb8340e2da552797a6702d5990900090 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 814 | sce | Ex8_3.sce | clear all; clc;
disp("Scilab Code Ex 8.3 : ")
//Given:
ri = 600/1000; //m
t = 12/1000; //m
ro = ri+t;
sp_wt_water = 10; //kN/m^3
sp_wt_steel = 78; //kN/m^3
l_a = 1; //m depth of point A from the top
//Internal Loadings:
v = (%pi*l_a)*(ro^2 - ri^2);
W_st = sp_wt_steel*v;
p = sp_wt_water*l_a; //Pascal... |
fea4a42d6dd56e89ee54fe0a7be3dc135b4809da | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH5/EX5.45/example5_45.sce | 25ef007dd6e79a9cb34fdc848987b8b5c13869bc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 412 | sce | example5_45.sce | clear;
clc;
// Stoichiometry
// Chapter 5
// Energy Balances
// Example 5.45
// Page 297
printf("Example 5.45, Page 297 \n \n");
// solution
// (a)
Hf = -982.8
Hfcryst = -1053.904
Hdis = Hfcryst-Hf
// (b)
Hfcr = -3077.75
Hsol = Hfcryst+7*(-285.83)-(-3077.75)
printf(" (a) \n \n Hdissolulition =... |
846ab63765765680d3b92598eb4b85f875e3d9c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH5/EX5.10/Chapter5_Example10.sce | a4169455c9a26941956fc7f9ace40257522c9d59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 908 | sce | Chapter5_Example10.sce | //Chapter-5, Example 5.10, Page 178
//=============================================================================
clc
clear
//INPUT DATA
q=(0.3*10^6);//Heat flux in W/m^2
t=(10/60);//Time taken for heat transfer in s
Ti=30;//Initial temperature of the slab in degree C
x=0.2;//Distance of the plane from th... |
62167a043658430f1626a6d2ac5462c6d74c4943 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH5/EX5.17/Ex5_17.sce | e11e2d046cd8d6a4c807c78efd4f339902773c4e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 910 | sce | Ex5_17.sce |
mu_not=4D-7*%pi
//calculating exciting current
B=1.2//flux density
mu_r=500//rel permeability for iron
H=B/(mu_not*mu_r)
D=10D-2//mean diameter
l=%pi*D//length of flux path in the ring
AT=H*l
N=300//number of turns on the ring
I=AT/N
mprintf("Exciting current=%d A\n",round(I))
//calculating inductance
As=... |
4a10fdbf308a37fcf8531beb004769c97ba5899b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH7/EX7.6/7_6.sce | fe59ca48137430644cd4300d3f855789d456031b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 502 | sce | 7_6.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 7.6
//calculation of the speed of vehicle on the turn
//given data
r=10//radius(in m) of the turn
theta=10//angle(in degree) of the bank
g=9.8//gravitational acceleration(in m/s^2) of the earth
//calculation
v=sq... |
33954c6fe3c6e5cc4e5700e2ab95150d957f1d20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH6/EX6.2/ch6_2.sce | 15804756df32b6188af68a3c429e618c1f85357a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 386 | sce | ch6_2.sce | // To determine whether corona will be present in the air space round the conductor
clear
clc;
d=2.5;
di=3;// internal diameter
do=9;// external diameter
ri=di/2;// internal radius
ro=do/2;// external diameter
g1max=20/(1.25*log(ri/(d/2))+ .208*1.5*log(ro/ri));
mprintf("g1max=%.0f kV/cm \n",g1max);
mprintf("S... |
3b242982298403419b096c06e6fc6828d68fd2d5 | ae90aa32e949a5eab9665f526f886f05860161d2 | /code/nand2tetris/07/StackArithmetic/StackTest/StackTest.tst | 411750dfd99cdae779eab16e1d923efcfbacca5c | [
"CC-BY-SA-3.0",
"MIT"
] | permissive | cccbook/sp | 4097ab760cfb013b689dc4739a439de29d85d324 | aff23e6b18ba6221022b14b024fd562427c46d9a | refs/heads/master | 2022-05-22T03:31:33.324045 | 2019-06-06T07:04:37 | 2019-06-06T07:04:37 | 156,299,694 | 257 | 96 | MIT | 2022-03-19T08:48:32 | 2018-11-05T23:56:37 | Assembly | UTF-8 | Scilab | false | false | 545 | tst | StackTest.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/07/StackArithmetic/StackTest/StackTest.tst
load StackTest.asm,
output-file StackTest.out,
compare-to StackTest.cmp,
output-list RAM[0]%D2.6.2
RAM[256]%D2.... |
a1c4bb22bf6dd60e1fd6427273e1df219fb97879 | 035464a624f6f991af3d52aa977283771e8be0cd | /ИТ/2.sce | 2ab5197d0e265bee1bce3e5e60d843e5cd65f427 | [] | no_license | AlexLasher/infTech | 4a927a7430b3430948ff5e080629a8d971ec3919 | 8c4ee19fc907b9b9b7ad7fb6af4872774e0ad3f6 | refs/heads/master | 2021-01-22T18:28:00.896093 | 2017-06-10T04:35:08 | 2017-06-10T04:35:08 | 85,083,402 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | sce | 2.sce | //Задаем исходные данные
R=2.1;L=0.1;C=0.02;U=220;f=50;
// Выполняем расчет
I=U/((R^2+(2*3.1415926*f*L-1/(2*3.1415926*f*C))^2)^0.5)
// Выводим в командное окно
mprintf('\n')
mprintf(' ИСХОДНЫЕ ДАННЫЕ:\n')
mprintf('\n')
mprintf(' R=%.2f Ом L=%.3f Гн C=%.3f Ф\n',R,L,C)
mprintf(' U=%.2f В f=%.3f Гц\n',U,f)
mprintf(' ОТВЕ... |
a3520531a8fb0c5c16f4d88f606c67bbe4c375bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH11/EX11.1/Ex11_1.sce | 622620cf3f1fc47392a6a5db3f0c83a86d5d5a87 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Ex11_1.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 11 Oscillators and Multivibrators Pg no. 355 and 356
clear;
clc;
//Given
//Figure E 11.1
L=20D-3;//colpitts inductance in henry
C1=0.2D-6;//colpitts capacitor C1 in farads
C2=0.02D-6;//colpitts capacitor C2 in farads
//Solution
Ce=C1*C2/(C1+C2);//equival... |
d8f106cea37d2eb2de763c7a530fa571c8956e07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH3/EX3.11/Ex3_11.sce | 0787aa83ffe189440cfa0919b4ac884eaded07cb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 488 | sce | Ex3_11.sce | //=======================================================================
// chapter 3 example 11
clc;
clear;
//input data
sighem = 0.084; //magnetic susceptability
u0 = 4*%pi*10^-7;
//calculation
ur = 1+(sighem);
u = u0*ur;
//result
mpr... |
64a511e7bb721bb4553752836a5238aeddc51889 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/pertrans.man.tst | 4d82388af5d6b8f3bebf4d616ca357c6ee383dce | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 40 | tst | pertrans.man.tst | clear;lines(0);
A=[1,2;3,4]
pertrans(A)
|
2ac00266e8d5afb48f6cd1c3b9096776a3b7e0c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3773/CH15/EX15.9/Ex15_9.sce | 102b382ce33fe29b39c7bc63baea8d20a3b1315e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,070 | sce | Ex15_9.sce | //Chapter 15: Antennas for Special Applications
//Example 15-20.2
clc;
//Variable Initialization
f = 1.6e9 //Frequency (Hz)
r = 1400e3 //Height (m)
r_sep = 3500e3 //Height for 10 degree seperation (m)
c = 3e8 //Speed of light(m/s)
Ta = 300 //Satellite antenna temperature (K)
Tr = 45 ... |
79c3c4edfa2121e61b3ad4c92c649d614069db74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH4/EX4.7/4_7.sce | 822ad73434ef19d1957f1c06ded74d18701e7dac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | 4_7.sce | clc
//Initialization of variables
T1=150+460 //R
T1=40+460 //R
//calculations
disp("from freon tables,")
h2=43.850 //B/lbm
hf2=17.273
hfg2=64.163
x2=(h2-hf2)/hfg2
//results
printf("Quality of freon vapor = %.3f",x2)
|
4e404ceb350a44bf63d2cadae7e6a2d28cbae96d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2414/CH14/EX14.10/Ex14_10.sce | 94343a9cfb0826dd4ec75c1dc9c1122c1fe04e13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 269 | sce | Ex14_10.sce | clc;
close();
clear();
//page no 484
//prob no. 14.10
ZL=100; //ohm
RL=ZL;
R0=300; //ohm
TauL=(RL-R0)/(RL+R0);
mprintf('(a)The reflection coefficient at load is= %0.2f,',TauL);
S=R0/RL;
mprintf('\n (b) The standing wave ratio is, S = %.0f \n',S);
|
4b022c53adf9a5d11f9b46107727b6e859a6de80 | a22597ab3cd5830033e569b1240393071b552e43 | /tests/components/images/wrongImage.sci | fcabb80c156f7e5c8e33f41a826e885acb2dad0f | [] | no_license | meego-tablet-ux/meego-ux-components | 4915a93e562c03c14a2356b3d99894caf9ba74e1 | aee1c240e324708560b0d859c21a0ae79dcfb1cd | refs/heads/master | 2021-01-01T15:50:25.335925 | 2011-07-27T02:12:22 | 2011-07-29T00:28:18 | 32,042,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 130 | sci | wrongImage.sci | BorderImage {
border.left: 5
border.top: 5
border.bottom: 5
border.right: 5
source: "wrongImage.png"
} |
d572585e274da428431fcf92f1efa82ff1edad55 | 181f67b4868e49ca80872d6ac088a51540f90da6 | /186A3/186Scilab1.sce | f1c1f1be6eaaad6a87cb9d57a72a932d8c0a700a | [] | no_license | nobody51/AP186 | 567f25ba1ad7f71ad2983860078eeaccffa46080 | cb916fc9b38b508026403a2227ffc76d490fe948 | refs/heads/master | 2021-08-28T09:35:55.488122 | 2017-12-11T21:34:46 | 2017-12-11T21:34:46 | 104,969,401 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 250 | sce | 186Scilab1.sce | t = [0:0.1:2];
y = sin(t);
//plot(t,y)
nx = 100;
ny = 100;
x = linspace(-1,1,nx);
y = linspace(-1,1,ny);
[X,Y] = ndgrid(x,y);
r = sqrt(X.^2 + Y.^2);
A = zeros(nx,ny);
A (find(r<0.7) ) = 1;
f = scf();
grayplot(x,y,A);
f.color_map = graycolormap(32);
|
1ac0a7eac5967358935b39573f81b96e96dcb17d | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH1/EX1.17/Ex1_17.sce | 7a5c2ebb159392844b872e2d445b2d638b24c6d4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | Ex1_17.sce | //Example 1_17 page no:20
clc
I=12;//total current in circuit(in ampere)
R1=4;//Resistance in ohm
R2=4;//Resistance in ohm
R3=4;//Resistance in ohm
R=R2*R3/(R2+R3)
I1=I*R/(R+R1)
disp(I1,"Current in resistor R1(in ampere)")
I2=I*R/(R+R2)
disp(I1,"Current in resistor R1(in ampere)")
I3=I*R/(R+R3)
disp(I1,"Cur... |
eadd80262166573557353bc951438597d3c1ec01 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH2/EX2.15/example2_15.sce | ea6555bfa83e643aef18f833c823e9348c0c1166 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 378 | sce | example2_15.sce |
//exapple 2.15
clc; funcprot(0);
// Initialization of Variable
Pl=0.6;//longitudinal lap
Pw=0.3;//side lap
L1=12500;
s=100*20;
L2=8000;
N1=L1/((1-Pl)*s)+1;
A1=round(N1);
if N1-A1<0 then
N1=A1
else
N1=A1+1;
end
N2=L2/((1-Pw)*s)+1;
A2=round(N2);
if N2-A2<0 then
N2=A2
else
N2=A2+1;
... |
1133b4d84a7cdb27de0870aab74d493b7a23a9ac | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/DEVELOPMENT-LANGUAGES/oto-manguean/ctp.tst | acb3f2c6b127cfb50904744bbfc72a62c910cc4b | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,772 | tst | ctp.tst | xlyu V;HAB;1
xlyu V;PFV;1
xlyu V;PFV;3
xlyu V;HAB;3
xlyu V;PROSP;2
xlyu V;PROSP;1
xlyu V;HAB;2
xlyu V;PROG;3
xlyu V;PROSP;3
xlyu V;PROG;2
xlyu V;PROG;1
xlyu V;PFV;2
lya V;PROG;2
lya V;PROSP;1
lya V;PROG;1
lya V;PFV;3
lya V;HAB;3
lya V;HAB;1
lya V;PROSP;2
lya V;PROSP;3
lya V;HAB;2
lya V;PFV;2
lya V;PROG;3
lya V;PFV;1
jl... |
74a29e75c49b8328b7ef3ad1921a8e0701d2f14f | 449d555969bfd7befe906877abab098c6e63a0e8 | /869/CH15/EX15.7/15_7.sce | 28e4fe107149dc1ccbb476c8c7a893e006b4a62e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 273 | sce | 15_7.sce | clc
//initialisation of variables
P= 5 //kips
xab= 3 //in
xbc= 6 //in
xbp= 1 //in
y= 6 //in
n= 3
//CALCULATIONS
Dl= P/3
Pct= (6*P)/(((xab+xbp)*(xab+xbp)/(xbc-xbp))+(xbp/(xbc-xbp))+(xbc-xbp))
R= sqrt(Pct^2+Dl^2)
//RESULTS
printf ('Greatest Load= %.2f kips',R)
|
69e53b45ac3c8d13b3e8cf79617f78e16716b310 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH8/EX8.14/example8_14.sce | 9f442e4709950097903f3d975eafa05593a93c12 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 339 | sce | example8_14.sce | //clc()
P = 101.3;//kPa
MW = 58;
T1 = 280.8;//K
Ps = 5;//kPa
pr = 2;//kJ/kgK ( Psychometric ratio )
Hvap = 360;//kJ/kg
Tw = T1;
Yw1 = Ps * MW / (( P - Ps) * 29);
// Tw = Tg - Hvap * ( Yw1 - Y1) / (hG / kY), where hG/kY is the psychmetric ratio pr
Y1 = 0;
Tg = Tw + Hvap * ( Yw1 - Y1) / pr;
disp("K",Tg,"The a... |
d0e8e51bcb9e7c493cd6b8bfc8f6523293b55f2d | 417f69e36190edf7e19a030d2bb6aa4f15bb390c | /SMTTests/tests/ok_sat.tst | 01a2704f2b2cd762bc018586ba52624cbd05195c | [] | no_license | IETS3/jSMTLIB | aeaa7ad19be88117c7454d807a944e8581184a66 | c724ac63056101bfeeb39cc3f366c8719aa23f7b | refs/heads/master | 2020-12-24T12:41:17.664907 | 2019-01-04T10:47:43 | 2019-01-04T10:47:43 | 76,446,229 | 1 | 0 | null | 2016-12-14T09:46:41 | 2016-12-14T09:46:41 | null | UTF-8 | Scilab | false | false | 113 | tst | ok_sat.tst | (set-logic QF_UF)
(declare-fun p () Bool)
(declare-fun q () Bool)
(assert (or p q))
(assert (not p))
(check-sat)
|
6f902069216f233bf018f08f9e917f422d17bf49 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set13/s_Introductory_Methods_Of_Numerical_Analysis_S._S._Sastry_1673.zip/Introductory_Methods_Of_Numerical_Analysis_S._S._Sastry_1673/CH6/EX6.19/6_19.sce | 0927b27817ca041c8b80f5a5c990a5990a4c612e | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | 6_19.sce | errcatch(-1,"stop");mode(2);//gauss' formula
//example 6.19
//page 242
;;
u=[-0.86113 -0.33998 0.33998 0.86113];
W=[0.34785 0.65214 0.65214 0.34785];
I=0;
for i=1:4
I=I+(u(i)+1)*W(i);
end
I=I/4;
printf(' the value of integrand is : %0.5f',I);
exit();
|
e36bc92461cd6e53c304cb32cdfca1057574aa71 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Hamster Wheel Switching.sce | 85bec7888cb52b9cef68cf38a6903dd5904108d9 | [] | no_license | MBHuman/Scenarios | be1a722825b3b960014b07cda2f12fa4f75c7fc8 | 1db6bfdec8cc42164ca9ff57dd9d3c82cfaf2137 | refs/heads/master | 2023-01-14T02:10:25.103083 | 2020-11-21T16:47:14 | 2020-11-21T16:47:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 101,227 | sce | Hamster Wheel Switching.sce | Name=Hamster Wheel Switching
PlayerCharacters=HWS Player
BotCharacters=HWS Bot Rotation.rot;HWS Bot Rotation Even.rot;HWS Bot Rotation Odd.rot
IsChallenge=true
Timelimit=300.0
PlayerProfile=HWS Player
AddedBots=HWS Bot Rotation Even.rot;HWS Bot Rotation Odd.rot
PlayerMaxLives=0
BotMaxLives=22;23
PlayerTeam=1
BotTeams=2... |
f9d20cc8723f3ce303ecce2d4e8c2281acd8ffd3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH5/EX5.11/Ex5_11.sce | 88a01e5f643ed587139e41a9954ab12856aee51a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | Ex5_11.sce | clc
clear
printf("Example 5.11 | Page number 133 \n\n");
//This is a theoritical question. Refer textbook for solution.
printf("This is a theoritical question. Refer textbook for solution.")
|
578a002fadc945464aee4a35b5e523b03d0ef3b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH11/EX11.4/11_04.sce | 05c117fc17b18888c82566fb413772aeed2d2187 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 475 | sce | 11_04.sce | clear
clc
k=0.307;
//Given mean residence time(min)
t=15;
//For plug flow with negligible density
fr_unconverted=exp(-k*t);
printf("\n The fraction of reactant unconverted in a plug flow reactor is %f",fr_unconverted)
//For the real reactor
T=[5;10;15;20;25;30];//given time
E=[0.03;0.05;0.05;0.04;0.02;0.01];/... |
44fe20839c5bcad91d4708f83a8e17b6aadf8405 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.6_12.tst | 59b7605ab791b112e4492129ff427eef00123ea6 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 39,754 | tst | bow.6_12.tst | 6 9:0.25 14:1.5 16:0.05 18:0.07142857142857142 27:1.0 29:0.5 43:0.3333333333333333 44:0.25 56:0.3333333333333333 60:0.07692307692307693 64:0.5 70:0.125 78:0.3333333333333333 127:1.0 129:0.5 160:0.3333333333333333 183:0.25 199:1.0 200:1.0 230:0.3333333333333333 289:0.5 301:1.0 387:0.25 398:0.3333333333333333 442:0.2 578... |
9f73e233797713bbccac17e1963ffeca6755bf78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH7/EX7.7/eg7_7.sce | ef2e9cb4f75560f9f78afe1ae8263a7032bce44e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 383 | sce | eg7_7.sce | clear;
//clc();
d=6;
s=0.3;
r=12.5/1000;
dab=6;
dbc=6;
dca=12;
dsl=sqrt(0.7788*r*s);
dm=(dab*dbc*dca)^(1/3);
lb=2*log([dm/dsl])/10;
xl=2*(%pi)*50*lb;
ds1=0.7788*r*sqrt(2);
l1=2*log([dm/ds1])/10;
xl1=2*(%pi)*50*l1;
printf("\n the line inductance is: %.3f Ohm/km\n",xl1/1000);
pu_red=(xl1-... |
4d5a5d3b81be840bc3c29c59dccb7be791e96776 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH1/EX1.15.a/1_15_a.sce | c5c7892ba25b00d91b5016314aa66e7cca800ae8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | 1_15_a.sce | //Example 1.15<a>
// Find wheather the following signal is periodic or not x3(n)=2*e^(%i*(t+%pi/4))
clc;
t=-21:21;
x=2*exp(%i*(t+%pi/4));
f=1/(2*%pi);
N=1/f;
disp('samples',N,'(b)the given signal is not periodic');
|
52730477ebd7639d5f1449902ab8b9bd811b8649 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.9/ex_4_9.sce | c31e1f3f4fc198bb1541e2b9fed83e5cfacdcaea | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | ex_4_9.sce | // Example 4.9
clc;
clear;
close;
// Given data
V_BB= 1.8;// in V
V_BE= 0.7;// in V
R1= 10;// in kΩ
R2= 2.2;// in kΩ
R_E= 1;// in kΩ
bita= 200;
R= R1*R2/(R1+R2);// in kΩ
R=R*10^3;// in Ω
R_E= R_E*10^3;// in Ω
I_E= (V_BB-V_BE)/(R_E+R/bita);// in mA
disp(I_E*10^3,"The emitter current in mA is : ")
disp("T... |
8ce4ab88a8a1ce940cf3b8a80e24a9cf0c2d904a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH33/EX33.5/example5.sce | 4fafc5364300f9fb0dd98416a92f9a874c1e5c5f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | example5.sce | //chapter 33
//example5
clc
//given
i=200 //current in the strip in amp
B=1.5 //magnetic field in wb/m2
n=8.4*10^28 //in m-3
e=1.6*10^-19 //in coul
h=1.0*10^-3 //thickness of copper strip in metre
w=2*10^-2 //width of copper strip in meter
//calculation
Vxy=i*B/(n*e*h)
disp(Vxy,"Hall potential difference ar... |
5f6e340bf7347c0d3f447d2d81b46611df0ad248 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH10/EX10.16/10_16.sce | 4e98352d95c73c710455f1a0bbbeaa7045e7f416 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sce | 10_16.sce | //Chapter 10, Problem 16
clc;
g1=12; //gain of stage 1
g2=15; //gain of stage 2
g3=-8; //gain of stage 3
P=g1+g2+g3; //Power ratio
P1=10^(P/10); //calculating overall power gain
printf("Overall power gain (P2/P1) = %f ",P1);
|
a7312a0d2fba2b17aefeba7ae8a812520bb85a24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1202/CH10/EX10.12/10_12.sce | c7e07de51b0949bc5c758b2d8dc39dfe6fee1b93 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | 10_12.sce | clear
clc
//Example 10.12
disp('Example 10.12')
w=poly(0,"w")
s=%i*w; //j or iota is i
G=10*s^3+17*s^2+8*s+1;//Kc has been removed here because in a single expression
//two polynomials are not allowed
w=roots(imag(G));
p=-real(G)//Real part of G
Kc=horner(p,w)
mprintf("The values outside which system is unstable \n... |
c494ebea934ea392c3916a593fa0a091cc8339a5 | 4a4229d18b16e2c24392f0d50bcd43f32ef97d0a | /test_suite/fuzzy.tst | 8c172c2c70ea92f948d46888e4800202aebab181 | [] | no_license | PRFina/NRES-FuzzyClips | 7b93e5ddb68a16d8c3e9bd1418f1284f56adb7b5 | 487409d0d916995993cb27e5e76c82b66b7c9c1a | refs/heads/master | 2020-04-18T08:42:37.463172 | 2019-01-24T18:12:23 | 2019-01-24T18:12:23 | 167,405,277 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | tst | fuzzy.tst | (unwatch all)
(clear)
(set-strategy depth)
(open "Results//fuzzy.rsl" fuzzy "w")
(dribble-on "Actual//fuzzy.out")
(batch "fuzzy.bat")
(dribble-off)
(load "compline.clp")
(printout fuzzy "fuzzy.bat differences are as follows:" crlf)
(compare-files "Expected//fuzzy.out" "Actual//fuzzy.out" fuzzy)
; close result file
(clo... |
b7d7b5c93e502f889361edf4b4572864f224fd31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /698/CH18/EX18.3/P3_strength_of_gear_pair.sce | fca93a04db527adc76aaf837dda37396cab2d0b1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 762 | sce | P3_strength_of_gear_pair.sce | clc
//Example 18.3
//Strength of gear pair
P=12e3
N=1000
phi=14.5
m=6
b=60
Np=30
Ng=75
yp=0.101
S_bend_perm=100e6
surface_endurance=600e6
E=100e9
printf('Beam Strength:\n\tBoth gears are made of same material, hence the pinion is weaker\n')
Mt = (P*60)/(2*%pi*N)
Rp=(m*Np)/2
F=Mt/Rp
printf('... |
491ec3b2c9cbcf526e3b325c3ab542c79229976e | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/IncNavierStokesSolver/Tests/Moving_reference_frame.tst | d2d3384446c3b9001760bfbd178f64db6ac6343a | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 916 | tst | Moving_reference_frame.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description>Moving Frame of Reference test </description>
<executable>IncNavierStokesSolver</executable>
<parameters>Moving_reference_frame.xml</parameters>
<files>
<file description="Session File">Moving_reference_frame.xml</file>
<file descri... |
260f04e7d7c63706ba4852fbd0870aefba30a0da | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.3/3.sci | c1690409ef4716ff80615ee86e156a574e9aff81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sci | 3.sci | clc;
clear all;
disp("Net heat flux")
t1=100;// degree C temperature of one surface of the slab
t2=0;// degree C temperature of another surface of the slab
L=0.25;// m thickness of the wall
k=387.6;// W/(m*K) thermal conductivity of the brick
q = k*(t1-t2)/L ;// = Q/A W/m^2 rate of heat transfer
disp ("W/m^2",q... |
ac838a1f5dfb55241972fd514a26996ebcfd09b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /287/CH3/EX3.1/Exa3_1.sci | 2428bb4f5bb663c3d32e77e919609bffea062cc2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 566 | sci | Exa3_1.sci | //Determine the spectral efficiency using the given parameters
Bw = 12.5e+3;
Cd = 200;
A = 8;
At = 4000;
N = 4;
F = 4;
C = Bw/Cd;
Tc = C*A;
Ts = 3;
Tc1 = ((Tc/F) - Ts);
N1 = At/A;
T1 = 108.4
N = (T1*N1*1e+3)/(At*Bw);
disp(C, 'No. of 200 Khz channels')
disp(Tc, 'No. of traffic channels')
disp(T... |
f703ce516db0a5c05cb01ee4c0aafd1f69265a68 | 1489f5f3f467ff75c3223c5c1defb60ccb55df3d | /tests/test_ods_fsed_2_h.tst | 6272b6bc35fb08bc79a2926ca410bcf290561092 | [
"MIT"
] | permissive | ciyam/ciyam | 8e078673340b43f04e7b0d6ac81740b6cf3d78d0 | 935df95387fb140487d2e0053fabf612b0d3f9e2 | refs/heads/master | 2023-08-31T11:03:25.835641 | 2023-08-31T04:31:22 | 2023-08-31T04:31:22 | 3,124,021 | 18 | 16 | null | 2017-01-28T16:22:57 | 2012-01-07T10:55:14 | C++ | UTF-8 | Scilab | false | false | 1,779 | tst | test_ods_fsed_2_h.tst | folder_add 111
cd 111
folder_add 222
cd 222
folder_add 333
cd /
file_move aaa 111
file_move bbb 111
file_move ccc 111
file_move ddd 111/222
file_move eee 111/222
file_move fff 111/222
file_move ggg 111/222/333
file_move hhh 111/222/333
file_move iii 111/222/333
branch objects
111/
111/222/
111/222/333/
111/222/333/ggg*... |
cfe90ceb3897c3a16f1fba7156a8a9a6353de021 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH3/EX3.17/ex3_17.sce | 78c7223681a49f510b2f1a05401350e3637b96c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 281 | sce | ex3_17.sce | // Exa 3.17
clc;
clear;
close;
// Gievn data
D_n = 35;// in cm^2/sec
q = 1.6*10^-19;// in C
y2 = 6*10^16;// in /cm^3
y1 = 10^17;// in /cm^3
x2 = 2*10^-4;
x1 = 0;
dnBYdx = (y2-y1)/(x2-x1);
J_n = q*D_n*dnBYdx;// in A/cm^2
disp(J_n,"The current density in A/cm^2 is");
|
0f1c0a74dd76aa11f0fadff57fb54282c29ba704 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PG21.prev.tst | a3bcfd07b63904bb278a1d0fd3f014982ea59c70 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,924 | tst | PG21.prev.tst | /* Generated at yyyy-mm-dd hh:mm by
java -cp dist/ramath.jar org.teherba.ramath.ProgramGenerator -l 2 -f test/PG21.data.tmp pident
Do N O T edit this file, but ProgramGenerator.java instead!
*/
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
int reslines = 0;
printf("#---> start ... |
66609265f6ac189d7f9295c2e74f83392f175237 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/DEPENDENCIES/17_20_data.sci | eaa3283d133d8fca89675405a54deefbbe9cf616 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 286 | sci | 17_20_data.sci | //Area of indicator diagram(in mm^2)
Area=2000;
//Length of indicaor diagram(in mm)
l=100;
//Deflection of pointer(in bar/mm)
d=2/10;
//Stroke of the engine(in m)
L=0.1;
//Bore of the engine(in m)
D=0.1;
//Speed of the engine(in rpm)
N=1000;
//Mechanical effciency
nm=0.75; |
c59d0d1d315a1bf5b3c72fd66c2fedaf11ada207 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH8/EX8.1/8_1.sce | 1466fedf04ba853c397fa4d9f03605002beb0742 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 382 | sce | 8_1.sce | clc
clear
//Initialization of variables
pi=14.7 //psia
pf=50 //psia
cp=0.240 //Btu/lb R
cv=0.170 //Btu/lb R
J=778
T=60+459.6 //R
//calculations
R=J*(cp-cv)
k=cp/cv
gam=pi*144/(R*T)
V=1/gam
Vf=V*(pi/pf)^(1/k)
Tf=T*(pf*Vf/(pi*V))
//results
printf("Initial volume = %.2f ft^3",V)
printf("\n Final volume =... |
89f14381770274970d5f0df88f7d1e39170556eb | f78a758dc17a311b355e12366d1315f7a9c2b763 | /Daimler Chrysler/DC-10615-E 2007/7.7 Supply Voltage Ramp Down 0.tst | eedb610d68b947a4c474f1fb69ab639dddc75a6a | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 975 | tst | 7.7 Supply Voltage Ramp Down 0.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTestC version="2.0.0">
<Pulse>CUSTOM WAVE</Pulse>
<Title>9V Vmin</Title>
<Organization>Daimler Chrysler</Organization>
<Standard>DC-10615-E 2007</Standard>
<Item>7.7 Supply Voltage Ramp Down</Item>
<voltage>13.5</voltage>
<count>5<... |
9116f4d9c1c609dd1a07750860d4e52b66526403 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH10/EX10.19/example10_19.sce | f6691c06d5a4374fa2ea244663e5ae82daf34ffb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 506 | sce | example10_19.sce | //clc()
NA = 100;//mol ( basi - 100 mol A in the fresh feed )
Pconv = 95;//%
NApro = NA * (100 - Pconv)/100;
//A = 2B + C
NB = NA * Pconv * 2 / 100;
NC = NA * Pconv/100;
PAent = 0.5;//%
NAent = NApro * 100 / PAent;
PBrec = 1;//%
NBent = NB * 100 / (100 - PBrec);
m = (NAent - NApro + NA);
conv = ((NAent - N... |
c1268fc4177b5616d5e2d96e8f3d9861864da823 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3432/CH5/EX5.4/Ex5_4.sce | 2a17aed8361e8f4ff923797f664d57868f75608a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 662 | sce | Ex5_4.sce | //Example 5.4
//Root locus for satellite attitude control with modified
//PD control or Lead compensator.
xdel(winsid())//close all graphics Windows
clear;
clc;
//------------------------------------------------------------------
//System transfer function and its root locus
s=poly(0,'s');
sysL=(s+1)/(... |
7f982f733faa4d1d53fed8df0ee026ec47d5c65c | 69d47013b4427741d37de7faeb3e94fc141393b4 | /Lab_5_EDOMMQ/scilab/lab5.sce | 43391b7825490cc7026dd2cd147843af8deaecf6 | [] | no_license | samuel-cavalcanti/Computacao-Numerica | 30f5042076b5db29482798ca7a6c63590a00a697 | 029c49f5d303f8f978c1f7b12b91778f06fb0665 | refs/heads/master | 2020-03-29T14:14:51.735781 | 2019-02-05T18:14:12 | 2019-02-05T18:14:12 | 150,007,038 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,511 | sce | lab5.sce | clear
/*
Os algoritmos do Arquivo EDO_MMQ.sce São implementações dos métodos de EULER de primeiro grau e segundo
grau, e Runge-Kutta de primeiro, segundo grau, Runge-Kutta de ordem 4 segundo grau , Algoritmo Ajuste Linear Polinomial,respectivamente.
*/
exec("EDO_MMQ.sce")
function plotEDOResult(x,y,icon,description)
... |
239be6ef2304ac335055922d12938661e46c32b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2438/CH4/EX4.11/Ex4_11.sce | f94b27c5439c0dc9ae15d5b6b29f566aaa425718 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 630 | sce | Ex4_11.sce | //=========================================================================================
// chapter 4 example 11
clc;
clear;
//input data
E = 1.46*10^-10; //permitivity in c^2*N^-1*m^-2
E0 = 8.885*10^-12; // permitivity in c^2*N^-1*m^-2
//calculation
Er ... |
581cc6edc443d040e23569e399ede5462cd7491a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1835/CH2/EX2.8/Ex2_8.sce | 7fd767360480218d829007328ffebba972a1ea13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 758 | sce | Ex2_8.sce | //CHAPTER 2,ILLUSTRATION 8 PAGE 62
//TITLE:TRANSMISSION OF MOTION AND POWER BY BELTS AND PULLEYS
clc
clear
//INPUT
t=9//THICKNESS IN mm
b=250//WIDTH IN mm
D=90//DIAMETER OF PULLEY IN cm
N=336//SPEED IN rpm
PI=3.141
U=.35//COEFFICIENT FRICTION
e=2.71
THETA=120*PI/180
Fb=2//STRESS IN MPa
d=1000//DENSITY IN ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.