blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
aed12a0cac4fa9f88e93fabd44844c0dbb0df30e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3574/CH9/EX9.2/EX9_2.sce | 02d615f88414cecbd59b6dc7a734696c817667a0 | [] | 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 | 532 | sce | EX9_2.sce | // Example 9.2
// Determine (a) Speed regulation (b) Governor drop
// Page 351
clc;
clear;
close;
// Given data
fn1=61.2; // No-load frequency
frated=60; // Rated requency
deltaP=500; // Governor rated power
// (a) Speed regulation
GSR=(fn1-frated)/frated;
// (b) Go... |
39232d8ccb3ffeb4728b606b564e9aa77cfc438d | 262ac6443426f24d5d9b13945d080affb0bd6d9b | /opgaves/panmagisch-vierkant-herkennen/edit-me.sce | 2f7b97d9360fa31f449243bcf99c251d557fc038 | [] | no_license | slegers/Scilab | 9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b | 1b5dc3434def66355dafeb97c01916736a936301 | refs/heads/master | 2021-01-12T01:42:01.493578 | 2017-01-09T10:54:09 | 2017-01-09T10:54:09 | 78,420,343 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,638 | sce | edit-me.sce | function [r] = solve(ns)
// Geef %t terug indien ns een semimagisch vierkant is,
// %f indien niet.
r = %t
// numbercount
for (num = 1:9)
numcount = 0
for (i = 1:size(ns,"r"))
for (j = 1:size(ns,"c"))
if (ns(i,j) == num) then
numcou... |
7a320d6b10eadbfb617a06a1e7c11da00ce05548 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1397/CH5/EX5.2/5_2.sce | 78f3d283a235540531f95bf6e05643dc7e2c3ad4 | [] | 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 | 279 | sce | 5_2.sce | //clc();
clear;
//To determine the value of critical field
H0=3.2*10^3; //critical magnetic field in A/m
Tc=3.5; //critical temperature in K
T=2.5; //temperature in K
A=1-(T/Tc)^2;
Hc=H0*A;
printf("value of critical field is %f A/m",Hc);
|
33a4f478bebd85ac276f96dce82c5327ca5fa5b2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/CLR_f.sci | d16177055a3eade1568b9bb59360e44ab3dd4bda | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 2,028 | sci | CLR_f.sci | function [x,y,typ]=CLR_f(job,arg1,arg2)
x=[];y=[];typ=[]
select job
case 'plot' then
standard_draw(arg1)
graphics=arg1(2); [orig,sz,orient,label]=graphics(1:4)
xstringb(orig(1),orig(2),['Num(s)';'-----';'Den(s)'],sz(1),sz(2),'fill')
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
... |
5d9f39f8c1c8ceaf7fdb4d4a8334b5d01aa8f8c3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH3/EX3.18/ex3_18.sce | b15e6497a0385f6c62bb9b1f9604b657441dcdae | [] | 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 | 132 | sce | ex3_18.sce | clc;
v=118; //voltage in volt
vp=v*sqrt(2); //calculating peak voltage
disp(vp,"Peak voltage in volt = "); //displaying result |
f175659623bf351b9d0eb74fe04337d408638c87 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/arcov.sci | b6d11cc027764bd11f0851c31f709a972a5234f6 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 978 | sci | arcov.sci | function [ar_coeff, var_est] = arcov(data_in, order)
//Autoregressive all-pole model parameters — covariance method
//Calling Sequence
//a = arcov(x,p)
//[a,e] = arcov(x,p)
//Parameters
// a: contains normalized estimates of the AR system parameters, A(z), in descending powers of z.
// e: variance estimate of the white... |
adae588a41b652b53f08271f55a51cad73200c0b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3532/CH4/EX4.2.1/Ex4_1.sce | 8dfd8691372cdc0a3dcba5c68073fecb414b1be3 | [] | 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 | 945 | sce | Ex4_1.sce | clc
clear
mprintf('Mechanical vibrations by G.K.Grover\n Example 4.2.1\n')
//given data
//T=To*sin(W*t)
To=0.588 //maximum value of periodic torque in N-m
W=4// freqency of applied force in rad/sec
J=0.12//moment of inertia of wheel in kg-m^2
Kt=1.176//stiffness of wire in N-m/rad
Ct=0.392/1 //damping coeffic... |
5bcc31260c80dcf919eb692225c01457db2fc74d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH8/EX8.6/8_6.sce | b24f6fd842c7295d55e7ee56358c6607255d74f4 | [] | 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 | 573 | sce | 8_6.sce | clc;
//page no 8-19
//Example 8.6
//Given
fsmin=530;//in kHz
fsmax=1650;//in kHz
IF=455;//in kHz
disp("For fo>fs");
fomin=fsmin+IF;
fomax=fsmax+IF;
disp(+'kHz',fomin,'fomin=');
disp(+'kHz',fomax,'fomax=');
TR=(fomax/fomin)^2;
disp(TR,'Comax/Comin=');
disp("Therfore, tuning range for oscillator capacitor i... |
7214134572d4cf44cf58cbca0c87b8cae122bcf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH9/EX9.16/Ex9_16.sce | eddef10c811744127f807d59e2aa9dbfac49bb81 | [] | 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 | 355 | sce | Ex9_16.sce | //Initilization of variables
r_m=2.338 //in
d_m=3.25 //in
mu=0.06 //coefficient of friction
P=1500 //lb
p=1/4 //pitch
//Calculation
phi=atand(mu) //degrees
beta=atand(p/(2*%pi*r_m)) //degrees
M=P*r_m*tand(phi+beta)+mu*P*(d_m/2) //lb.in
//Result
clc
printf('The moment required is %flb-in',M)
//Decimal accur... |
a81d38bc0eb1e885d764b4e2162c28c80948ff9f | e6ea8d4e6298d6aee8f296425a9e68b48ad33795 | /sci_examples/running_stats_ex.sce | a986bfbdff85df3f7b9f8b1c80857d954b85e6ee | [] | no_license | srkirve77/scilab_toolbox | a7d75b97e58813033491ab32fecec43a35ae2e2e | 738760c8b1fd812b0a8d84f05764d395fe7041de | refs/heads/master | 2022-11-07T19:38:51.977104 | 2020-06-22T16:57:01 | 2020-06-22T16:57:01 | 271,746,071 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 270 | sce | running_stats_ex.sce | arr =[]
pi = %pi
for i=1:100
a = double(i/100);
b = sin(double(pi*i/100))/double(pi*i/100);
arr = cat(1,arr,b);
end
y = statistics_info(100,arr);
disp("Mean : ",y(1));
disp("Variance : ",y(2));
disp("Skewness : ",y(3));
disp("Excess Kurtosis : ",y(4));
|
2ffc6c4c8db58faca6d299469c07ac42125e4692 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH8/EX8.1/example8_1.sce | e7555ee681b3d4732ff880066bc24d2775012b42 | [] | 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,589 | sce | example8_1.sce |
//example 8.1
//calculate forces induced due to earthquake
clc;funcprot(0);
//given
H=100; //heigth of dam
wb=70; //width of base of dam
wt=7; //width of top of dam
l=1; //length of dam
hw=98; //heigth of water in dam
hsu=90; /... |
8d0108fa27b82af26ce3f780a48686763386b8cf | d56141249002a5da7c4a2641dbdfc609809046a8 | /octopus/dipole_laser_plot.sce | fb658874acc5026b36051a9c3908c03fc0dd64ad | [] | no_license | kcbhamu/DFTutilities | 14a77226c1229ec61563cc08316d6c32814ddb57 | d6c859407a6b13c8bc5340c08db7a0125d6ed4e6 | refs/heads/master | 2021-06-24T15:23:58.675113 | 2017-08-23T20:56:44 | 2017-08-23T20:56:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,145 | sce | dipole_laser_plot.sce | // this is to plot the multipole and laser files of Octopus outputs
clear; xdel(winsid());
// Parameters ==========================================================
work_dir='C:\MyDrive\Work\CO_junc\md_cw'
plot_type='m'; // 'l'-> laser, 'm' -> multipole
fn_num='no'; // '1','2,'3', or 'no', if plot_type='m'
plot_shift='o... |
b7617d90b525a3ac8f41ecfe73fa09e230877291 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH17/EX17.11/Ex17_11.sce | 118bab3cda0cad2d3941427c05b2ed2fb3701bb7 | [] | 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 | 444 | sce | Ex17_11.sce | clear;
clc;
//Example 17.11
b=25;
iB=1;
iC=2;
ic=(iB+iC)/(1+1/b);
printf('\ninternal collector current=%.3f mA\n',ic)
ib=ic/b;
printf('\ninternal base current =%.3fmA\n',ib)
iD=iB-ib;
printf('\nSchottky diode current=%.3f mA\n',iD)
iC=20;
ic=(iB+iC)/(1+1/b);
printf('\ninternal collector current=%.3f mA\n'... |
7d2351fceddde9c64c1af55bff3c3cdaf6be7483 | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH6/EX6.11/6_11.sci | f57709c2a94993bb652fccd5338ef4aa015523fc | [] | 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 | 442 | sci | 6_11.sci | //syslin//
exec parallel.sce;
exec series.sce;
syms G1 G2 G3 G4 G5 G6 G7 H1 H2 H3;
a=parallel(G1,G2);
b=parallel(a,G3);
//shift the take off point to the right of the block G4
c=G4/.H1; //negative feedback operation
d=G5/G4; //negative feedback operation
e=parallel(d,1);
f=G6/.H2; //negative feedback op... |
cc7d880cac017f49046c009ba76b60c9e9174872 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Rocket Flyer 1v1.sce | 2a7d4cccef992f6d0242a6f92226764d4d751dc2 | [] | 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 | 30,178 | sce | Rocket Flyer 1v1.sce | Name=Rocket Flyer 1v1
PlayerCharacters=Rocket Flyer
BotCharacters=Rocket Flyer Extra Bot.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Rocket Flyer
AddedBots=Rocket Flyer Extra Bot.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=0
BotTeams=0
MapName=kovaim1.map
MapScale=3.0
BlockProjectilePredictors=true... |
7bebeb5be0cf38e094952733661951139d361999 | 61da6be21995bc4b23f268b03fc13d0a33d818f3 | /test/subdir.tst | e350a03e5caac42800eceae4f50b908e6cd72667 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | warmchang/reposurgeon | 657fe5f63fdd0db560b46ccff11478c73c69b150 | 43e553d9ff0ad4a9c39f4c94b58856f2e5c99297 | refs/heads/master | 2020-12-08T19:41:16.920673 | 2020-01-10T14:58:55 | 2020-01-10T14:58:55 | 233,076,382 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | tst | subdir.tst | ## Test subdirectory branches
branchify trunk branches/* branches/subdir/*
branchmap :branches/(.*)/:heads/\1:
read <subdir.svn
prefer git
<subdir/mybranch> list
write -
|
02732909aa0a5b7929c15be59b87bd65aa21b776 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH1/EX1.3/ex1_3.sce | 9f153e9c8019d71e2dc2fd1c24d06ed442c03a6b | [] | 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 | 403 | sce | ex1_3.sce | // Example 1.3 page no-10
clear
clc
///(1)
eps=(2000)/3 //V/cm
e=1.6*10^-19 //C
m=9.1*10^-31 //kg
v= 10^7 // dy/dt=v m/sec
t=v*m/(e*eps*100)
t=floor(t*10^11)
t=t/10
printf("\n(1)\nTime ,t=%.1f*10^-10 sec\n",t)
t=t*10^-10
//(2)
y=(e*eps*100*t^2)/(2*m)
printf("\n(2)\nDistance travelled by electron ,... |
185c0683bd8cddb64e63d4322335baceeb8aeb97 | 4a9f190afee555b0b80b83855ab62d9c529f5b34 | /Assignment3/task2/task2.sce | 7984b77457d96f3884742871f7ff4bcf5622ec84 | [] | no_license | imajou/IU-S20-DSP-Assignments | 5ab41f331f996d9764be41a56fb2eee9e7cd5267 | e518c52a1ef988a6871cb078b25e64e75ed0fc95 | refs/heads/master | 2022-10-22T09:24:33.601398 | 2020-06-12T21:24:23 | 2020-06-12T21:24:23 | 271,892,319 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,501 | sce | task2.sce | clear
// Constructor for filter
function newfilt = filter_new (a, b, x)
newfilt = struct('a', a, 'b', b, 'x', x);
endfunction
// Compute filter function
function [y] = compute(filt)
m = size(filt.x, "c");
y = zeros(1, m);
for n=3:m
y(n) = filt.b(1)* filt.x(n) + filt.b(2) * filt.x(n-1) + filt.b... |
26549d704429deecacae81569a3c567e55817087 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH3/EX3.8/ex8.sce | 565eb581524d91f193c25bb0221cc97ade5aa04c | [] | 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 | 289 | sce | ex8.sce | //example 8
//calculating mass of air
clear
clc
P=100 //pressure in kPa
V=6*10*4 //volume of room in m^3
R=0.287 //in kN-m/kg-K
T=25 //temperature in Celsius
m=P*V/(R*(T+273.2)) //mass of air contained in room
printf("\n hence, mass of air contained in room is m = %.3f kg. \n",m) |
6665733230ea0fd863bc1c72f0cc29380e304bc9 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/elem/modulo.sci | 5570b4876880629a7d6dcdef4e5753c0c23848a5 | [
"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 | 215 | sci | modulo.sci | function [i]=modulo(n,m)
//i=modulo(n,m) returns n modulo m.
//!
// Copyright INRIA
if size(m,'*')==1 then
m=ones(n)*m,
elseif size(n,'*')==1 then
n=ones(m)*n,
end
i=n-int(n./m).*m
// n - m .* fix (n ./ m)
|
94f90a6b0565e01f94e4fb2fb327ef92ef37fb08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH9/EX9.6/Example9_6.sce | be8a832c8d2caaa8aca0889bdd12a07090b12fe1 | [] | 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 | 481 | sce | Example9_6.sce | //Drain supply Vdd, Drain current Idq, Source to gate voltage Vgsq
close();
clear;
clc;
Vdd = 8;//V
Vgsq = 4;//V
Idq = 1*10^(-3);//A
R1 = 5*10^(6);//ohm
R2 = 3*10^(6);//ohm
//By locating Q point
Vdsq = 6;
Vgg = R1*Vdd/(R1+R2);
//By applying KVL aound the gate-source loop
Rs = (Vgg - Vgsq)/Idq;
//Using KV... |
111dec3d6f0e0bafdd7c422eec7fb4c27d378b0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH12/EX12.2/example12_2.sce | 408351a9c37a9c24326cb9369a3e72f1245e5150 | [] | 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 | 516 | sce | example12_2.sce | clear;
clc;
//Example12.2[Emission of Radiation from a Lightbulb]
//Given:-
T=2500;//Temp of the filament[K]
lambda1=0.4,lambda2=0.76;//Visible ranfe[micrometer]
f1=0.000321,f2=0.053035;//The black body radiation functions corresponding to lamda1*T and lambda2*T
//Solution:-
f3=f2-f1;
disp(f3,"Fraction of ra... |
ecd012ea13623afb9753e62ec989b8a7ddabbc37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2489/CH16/EX16.8/16_8.sce | 7967944c56108c7db09b4bc9d8840507969fccc3 | [] | 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 | 172 | sce | 16_8.sce | clc
//Intitalisation of variables
clear
pki= 7
t1= 3 //drops
t2= 7 //drops
//CALCULATIONS
pH= pki+log10(t1/t2)
//RESULTS
printf ('pH of the solution = %.2f ',pH)
|
97018b4ce84ae2cb2d3a98fd657877e36605f171 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1583/CH5/EX5.10/HFAAGC_Ex_5_10.sce | 5dc53eff3002d29e0cbc3c28bb9e617bc26502af | [] | 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 | 343 | sce | HFAAGC_Ex_5_10.sce | clc
//Chapter 5:High Frequency Amplifiers and Automatic Gain Control
//example 5.10 page no 178
//given
fp=10*10^6//upper corner frequency
n=2//no. of stages
f1=fp*sqrt(2^(1/n)-1)//overall bandwidth
disp('since each stage has a gain of 20dB,the overall low-frequency gain is 40dB ')
mprintf('the overall bandwidt... |
16e66cbef109344578d26b4b5ff9ea7a1b95b263 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH14/EX14.23/Ex14_23.sce | 95fcf24f15f794a6ffedcad56b3664b7f5df8a05 | [] | 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 | 331 | sce | Ex14_23.sce | // Initilization of variables
P=40 // N // weight on puley r_1
Q=60 // N // weight on pulley r_2
g=9.81 // m/s^2 // acc due to gravity
// Calculations
// The eq'n for acceleration of pulley Pi.e a_p is,
a_p=(((2*P)-(Q))/((4*P)+(Q)))*2*g // m/s^2
// Results
clc
printf('The downward acceleration of P is %f m/s^2... |
e45093b0f72cde9f80e1b20ca348f7e0301751f5 | 1485852dd59aafc286600126cf832a32e10f117f | /tests/stylization/test4.sce | 1a6694c1b3fec643253dc4cbe15fca5c4453b84e | [] | no_license | rg77/Scilab-Image-Processing-And-Computer-Vision-Toolbox | dec9fbbce32cfd1eab3c45ccb29c89aaa1384758 | 8adb116da3a9c29a32e5e0727105aff571e5b374 | refs/heads/master | 2020-12-02T16:14:45.282650 | 2017-07-07T10:12:04 | 2017-07-07T10:12:04 | 96,524,257 | 0 | 0 | null | 2017-07-07T09:43:50 | 2017-07-07T09:43:50 | null | UTF-8 | Scilab | false | false | 112 | sce | test4.sce | //incresing sigma_s
src = imread("../images/color2.jpeg");
output = stylization(src,120, 0.2 );
imshow(output);
|
d61953f9f3ed7390c9236e8532f978c2a6959781 | e3c27edbd2f0a8e733cee84b90a906c0a6d7c176 | /sem_3/c/ljudge/005.1.tst | d1cadb15c6decbfa7290e3ad418070480e0e883d | [] | no_license | dmitryhd/dmitryhd_code | c32223da5506156a068bbb0f20ad4cd06fdf2166 | 5173f6f74d4fa1c9c5fba9ffc4fc9134c56f4b0c | refs/heads/master | 2021-01-17T11:56:50.221745 | 2011-04-26T18:31:58 | 2011-04-26T18:31:58 | 1,650,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17 | tst | 005.1.tst | (100000 -100000)
|
09870fdb7a8b9dcda5f3a9c5edb966bca7f39202 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.1/Ch05Ex1.sce | b4156093da148e05b5ea50bf6e410f2de31ee9b1 | [] | 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 | 697 | sce | Ch05Ex1.sce | // Scilab code Ex5.1: Pg:200 (2008)
clc;clear;
a = 300; // Distance between narrow slit and straight edge, cm
b = 600; // Distance between straight edge and screen, cm
Lambda = 4900e-08; // Wavelength of light, cm
// For n = 1
n = 1;
x_1 = sqrt(b*(a + b)*Lambda/a)*sqrt(2*n); // Distance of Ist minimu... |
aee192f28cd3f79e11fa3792c3e395a9bac3ee30 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.16/Exa_2_16.sce | 79d45d7596acec2336d5438224c980ee6c686b50 | [] | 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 | 446 | sce | Exa_2_16.sce | //Exa 2.16
clc;
clear;
close;
format('v',7);
//Given Data :
p=105;//Kpa
p1=105;//Kpa
p2=105;//Kpa
V1=0.25;//m^3
V2=0.45;//m^3
T1=10+273;//kelvin
T2=240+273;//kelvin
Q=integrate('0.4+18/(T+40)','T',T1,T2);//KJ
disp(Q,"Heat Transfer in KJ : ");
W=p*(V2-V1);//KJ
disp(W,"Work Transfer in KJ : ");
delt... |
84869b71eab7acacbccfb879826d984c4183ed04 | 53938ad1172790849e9fc4c5db5bec8478c91bc7 | /Secante.sci | ef8a0e14c885bde79d0d7029bb333b7051ddf065 | [] | no_license | JonasBarcat/metodos-numericos | ef1a8696d4d699011b44d7c49de2e4885c67797c | cb57c49e426e7d41374a40cb9f93713071c0fe31 | refs/heads/master | 2020-08-09T21:32:27.424462 | 2019-11-29T13:34:32 | 2019-11-29T13:34:32 | 214,179,750 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 608 | sci | Secante.sci | function x=secante(a,b,iteraciones)
i=1;
while i<=iteraciones && abs(b-a)>0.0001
x=b-(miFuncion(b)*(b-a))/(miFuncion(b)-miFuncion(a))
a=b
b=x
i=i+1
end
if i>iteraciones then
disp("No se pudo converger a una solucion")
else
disp("Si se enc... |
5587d33e0e5f3b62a7cbdb1fbe50444cf5df28e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1034/CH1/EX1.13/Example13.sce | 87096f97757e4cfec938dc36db0c315b7e3f890b | [] | 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 | 457 | sce | Example13.sce | clear;
clc;
printf("\n Example 1.13");
printf("\n \n [Omega]f(n)=omega(g(n))");
printf("\n \n 3n+2=omega(n) as 3n+2>=3n for n>=1");
printf("\n \n 3n+3=omega(n) as 3n+3>=3n for n>=1");
printf("\n \n 100n+6=omega(n) as 100n+6>=100n for n>=1");
printf("\n \n 10n^2+4n+2=omega(n^2) as 10n^2+4n+2>=n^2 for n>=1");
pri... |
1f99ad4e944ff925ba6ee3ba930de80cf12722a4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1052/CH20/EX20.8/208.sce | c433c59f941a03e888a2c7df2032175d7f16ee6f | [] | 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 | 607 | sce | 208.sce | clc;
//Example 20.8 page no 277
printf(" Example 20.8 page no 277\n\n");
//refer to example no 20.5 and 20.7
V=142//volume of room,m^3
q=12.1// flow rate of air,m^3/min
tou=V/q//time ,min
r=30//rate of generation of chemical,ng/min
k=r/V//ng/(m^3.min)
c_i=85//intial concentration in laboratory,ng/m^3
c_o=10//... |
a3faa30c69dd3ef9205a09f5eb047b2dc10b96e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH2/EX2.a.16/Example_a_2_16.sce | 1cbc024c9ce47461bd997e45f3a200dc144831d9 | [] | 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 | 180 | sce | Example_a_2_16.sce | //Example 2_16 page no:99
clc;
A=[10,5,4,
1,-1,0,
-2,-1,1];
B=[35,
2,
0];
X=inv(A)*B;
I1=X(1);
disp(I1,"the current in the 10 ohm resistor is (in A)");
|
06de1bf70637a429041a04e84dc0824e59b6a7a9 | 67310b5d7500649b9d53cf62226ec2d23468413c | /tags/archive/TestCaseGenerator-Plugin-OpeningSequenceCoverage/trunk/tests/large-system-tests/inputs/RadioButton/ground_truth/OpeningSequenceCoverage/length-1/max-150/t76.tst | fc71e4b2822db83efab1224eb80777954bde1135 | [] | no_license | csnowleopard/guitar | e09cb77b2fe8b7e38d471be99b79eb7a66a5eb02 | 1fa5243fcf4de80286d26057db142b5b2357f614 | refs/heads/master | 2021-01-19T07:53:57.863136 | 2013-06-06T15:26:25 | 2013-06-06T15:26:25 | 10,353,457 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | tst | t76.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TestCase>
<Step>
<EventId>e41</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e40</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e11</EventId>
<Reaching... |
4cba9ec55a354d998e2ccdb839f523ac51462c33 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH5/EX5.12/exa_5_12.sce | 441cfbd1b7d7e4eeb725687c528021697d16a15e | [] | 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 | 537 | sce | exa_5_12.sce | //Exa 5.12
clc;
clear;
close;
//given data
Cp=4179;// in J/kg-K
rho= 997;// in kg/m^3
V=2;// in m/s
miu= 855*10^-6;// in Ns/m^2
Pr=5.83;
k=0.613;
Do=6;//outer dia in cm
Di=4;//inner dia in cm
// de= 4*A/P = 4*%pi/4*(Do^2-Di^2)/(%pi*(Do+Di))
// or
de= Do-Di;// in cm
de=de*10^-2;// in m
Re= rho*V*de/miu;... |
44fb9fd7e5cfcf002888c5d8e850085423dff108 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/scicos/sci_block.sci | 7486933343190b1e21bd896e340789baff6cc03b | [
"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 | 4,252 | sci | sci_block.sci | function [x,y,typ]=sci_block(job,arg1,arg2)
//%Description
// job=='plot' : block drawing
// arg1 is block data structure
// arg2 :unused
// job=='getinputs' : return position and type of inputs ports
// arg1 is block data structure
// x ... |
c074d70a9d4a9c27748cae0cb8ef1719975d2e4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH17/EX17.1/Example17_1.sce | e51d62f16431e1f3d70566698da7538a4dc772b2 | [] | 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 | 435 | sce | Example17_1.sce | //computation of wavelength of a photon from energy
clear;
clc;
printf("\t Example 17.1\n");
E=498.7*10^3/(6.022*10^23);//energy in J/molecule
h=6.63*10^-34;//plancks constant, J s
v=E/h;//frequency of the photon, s^-1
lambda=3*10^8/v;//wavelength in m, since v*lambda=speed of light in vacuum
printf("\t... |
b47916c0cb335707e0752a9c10bce9414d9b5f81 | e9d5f5cf984c905c31f197577d633705e835780a | /GED/nonlinear/scilab/nonlin_pf88/jac_pf88_residuals.sci | 5834ad336b2d22badaa40ded610a64cef5f72562 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,535 | sci | jac_pf88_residuals.sci | function [At, varargout] = jac_pf88_residuals(xm_full, measured)
//******************************************************************************
// Data Reconciliation Benchmark Problems From Literature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
// Skype: edson.cv
//*****... |
49ca46c3f1b74017a38ddc1a0cd1c7f8ff5f5992 | 717ddeb7e700373742c617a95e25a2376565112c | /1766/CH8/EX8.3/EX8_3.sce | edc444641190552858bf2417d679d5a7fedc1cb5 | [] | 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 | 724 | sce | EX8_3.sce | clc;funcprot(0);//Example 8.3
//Initilisation of Variables
Tci=40;......//Inlet temparature of oil in degrees celcius
Tco=80;......//Outlet temparature of oil in degrees celcius
Tw=100;....//Uniform temparature of tube in degrees celcius
mc=3/60;....//Flow rate of water in kg/s
di=0.025;.....//Inner diameter of tube in... |
d7be3649bf4e9173b5cbaaff77df0d17393c1943 | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab10_18i190002/ex3.sce | 5a06dc68e601abc76c50bacf08d561ee101346be | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 395 | sce | ex3.sce | clear,clc,clf
//Y = grand(m, n, "exp", Av)
function Y=f(n,L1,L2)
X1=grand(n,1,"exp",L1)
X2=grand(n,1,"exp",L2)
for i=1:n
Y(i)=X1(i)+X2(i)
end
histplot(5,Y,xlabel('--Y-->'),ylabel('Frequency'))
endfunction
subplot(1,2,1)
f(100,1,1)
title('Histogram Plot when lambda1=1 and lambda2=1')
subpl... |
818c1ab6615769ca77778c94b4f68917cd7d03b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH5/EX5.7.3/Ch05Exa5_7_3.sci | 99610af134830da1f4aebc01846dc0ac00693168 | [] | 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 | 589 | sci | Ch05Exa5_7_3.sci | // Scilab code Exa5.7.3: To calculate the wavelength of the incident beam of X-rays : P.no. 234 (2011)
h = 6.626e-034; // Value of Planck's constant, J
m_e = 9.11e-031; // Mass of the electron,Kg
c = 3e-04; // Velocity of light, pm/s
A = 90; // Angle between scattered radiation and incident radiation, degree
W_s ... |
0460c9614fe2e6dd3f3d027bdcd97dc5e3c5a032 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH14/EX14.8/ex14_8.sce | 749229663da4a2274637f0a2c751cc2f4c9dce6c | [] | 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 | 155 | sce | ex14_8.sce | //ex14.8
V_in=2;
I_R=50*10^-9;
R1=100*10^3;
//voltage output for log amplifier
V_OUT=-0.025*log(V_in/(I_R*R1));
disp(V_OUT,'output voltage in volts') |
2934d1dfdaa9ab207833ce6eaff43d6e9758236a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1595/CH18/EX18.5/ex18_5.sce | 9dab41f481925f6ec4c3df3c4405a1b7435c7c62 | [] | 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 | 525 | sce | ex18_5.sce | //Fibre Optics : example 18-5 : pg(887)
b=565;//Line bit rate of fibre 1
c=3.5;//Cable dispersion of fibre 1
t=4;//Transmitter spectral width of fibre 1
b1=1130;//Line bit rate of fibre 2
c1=3.5;//Cable dispersion of fibre 2
t1=2;//Transmitter spectral width of fibre 2
x=440000;//assumed gaussian constant based ... |
73805486bf39f9d6ab71579e72847e465b6ed38a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH17/EX17.25/EX17_25.sce | 96acceab3bfb7b0b3b301f35b09a409618b264b2 | [] | 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,553 | sce | EX17_25.sce | clc;funcprot(0);//EXAMPLE 17.25
// Initialisation of Variables
t=1;...................//Duration of trial in hrs
Rev=14000;.............//Revolutions
nmc=500;...............//Number of missed cycles
bl=1470;................//Net Brake load in N
mep=7.5;................//Mean effective pressure in bar
gc=20000;..... |
f8960fa9b59f0980cc6729ddde9e40d763a1e04d | 449d555969bfd7befe906877abab098c6e63a0e8 | /10/CH3/EX2/cha3_2.sce | 24099b520b705db0c7bc32ee9820f8969ef61eef | [] | 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 | cha3_2.sce | I=3;G=0.05;
Lam=(0.09*I^(.5)/G)
t1=0:0.1:3;
t0=0;
a=integrate('((0.09*2)/(G*I))*I^(0.5)','i',t0,t1)
Wf=((0.09*2)/(G*I))*I^(1.5)
Fm=-0.09*(2/3)*I^(1.5)*(1/G^2)
Wf1=(G^2*Lam^3)/(0.09^2*I)
Lam1=(0.09*I^(.5)/G)
Fm=-((Lam1^3)*2*G)/(I*0.09^2)
|
9207a30ec1021feedbe1ca6b91fbdc981e8c46b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH2/EX2.1/2_1.sce | acbea52d1d023caf9eb4b6a7d4aed699768284cf | [] | 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 | 413 | sce | 2_1.sce | clc
//ex2.1
R_1=10;
R_2=20;
R_3=5;
R_4=15;
//We proceed through various combinations of resistances in series or parallel while we replace them with equivalent resistances We start with R_3 and R_4.
R_eq_1=R_3+R_4; //R_3 and R_4 in series
R_eq_2=1/((1/R_eq_1)+(1/R_2)); //R_eq_1 and R_2 in parallel
R... |
829bf9dab44c908061feea695afa8d9aded80dbe | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH4/EX4.1/Exa_4_1.sce | aaa7243265689ffd376bb506b1d1c2b7d0ccb203 | [] | 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 | 252 | sce | Exa_4_1.sce | //Exa 4.1
clc;
clear;
close;
format('v',8);
//Given Data :
T1=400;//Kelvin
T2=300;//Kelvin
Q1=4800;//KJ
Q2=-4800;//KJ
//Q1/T1+Q2/T2<=0
LHS=Q1/T1+Q2/T2;//
disp(LHS,"Q1/T1+Q2/T2 = ");
disp("It is less than zero. Process is irreversible")
|
a6cf24f9b8d140cfba2c3ca599f7c5c112ce4736 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/DEPENDENCIES/t1calc.sci | a9a265ba93f1db7b32637178a57b667f3bd5020f | [] | 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,553 | sci | t1calc.sci | // function [T1,T1rows,sel,pr] = ...
// t1calc(S,Srows,T1,T1rows,sel,pr,Frows,Fbcols,abar,gap)
// calculates the coefficient matrix T1
// redundant row information is kept in sel: redundant rows are marked
// with zeros. The undeleted rows are marked with ones.
function [T1,T1rows,sel,pr] = t1calc(S,Srows,T1,T1... |
7fff14be68dbfddd21ea0cf13ab7a8fe0e8d9f84 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/scicos/modipar.sci | cd5c58e704e2c4affdac740644b784831b95dbdd | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 2,219 | sci | modipar.sci | function [state,sim]=modipar(newparameters,state,sim,x,cor)
//store modified parameters in compiled structure state,sim
//newparameters gives modified blocks numbers in original structure x
//cor is the correspondance table from original structure to compiled one
[stptr,rpar,rpptr,ipar,ipptr]=sim([3 7:10])
nb=prod(siz... |
f0c728b45406f4d90a827c109c08dcad62eeeed4 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/parzen_classify.sci | 84c2a475b0d219c52248a813877bdd2bbb2a9444 | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,250 | sci | parzen_classify.sci | ///////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Date: July 2010
// Description: classification using simple parzen-window estimation
//
// Copyright (C) 2009-2010 OpenPR
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or ... |
6671f29d5ada1db586e693be0644ba9742c5df36 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH8/EX8.1/ch8_1.sce | bf1f1f58b48bd3df09c4d616959785bd765e975c | [] | 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,186 | sce | ch8_1.sce | clc;
clear;
printf("\t\t\tChapter8_example1\n\n\n");
// Determination of the heat transferred to the wall.
// air properties at (400+120)/2 =260 degree F = 720 degree R from Appendix Table D1
rou= 0.0551; // density in Ibm/cu.ft
cp=0.2420; // specific heat BTU/(lbm-degree Rankine)
v= 27.88e-5; // viscosity in sq.ft/s... |
e9c008202556243f2dfe7a3ff4e290fe1dc846e8 | c8a99f36ca4eb2bfdc887bf39573287c6c53bf93 | /app/conf/experiments_data/script.sce | c590a8fe63f80037891d47a420a5cdc0675743d9 | [] | no_license | ghamon88/jtsCalibration | 25e4e479ce316d75dad779b3394c4d6541db7a05 | c2fe87393f86e91e00938a6401171aa0530c1de3 | refs/heads/master | 2016-09-06T13:10:04.536409 | 2014-07-31T13:38:43 | 2014-07-31T13:38:43 | 19,731,538 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 8,711 | sce | script.sce | stacksize(100000000)
//JTS_raw = fscanfMat('21_juillet\left_arm_J0_J3\dump_JTS\leftARM\raw\data.log')
//JTS_raw = fscanfMat('21_juillet\left_arm_J0_J3\idyn_torque\left_arm\data.log')
//JTS_raw = fscanfMat('21_juillet\left_arm_J1\dump_JTS\leftARM\raw\data.log')
//JTS_raw = fscanfMat('21_juillet\left_arm_J1\idyn_torque\l... |
8df9061576e20b4105c0af2c65f658af344ce4dc | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/course/scilab/differentiation/differentiation.sci | 76e9917df5b8516b190e42072b73ba4017722de7 | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 948 | sci | differentiation.sci | //3 and 5 point functions to compute derivatives
//need to use extrapolation to determine derivative at boundary
function diff5p=diff5p(y,i,h)
diff5p=(y(i-2)-8*y(i-1)+8*y(i+1)-y(i+2))/(12*h);
endfunction
function diff3p=diff3p(y,i,h)
diff3p=(y(i+1)-y(i-1))/(2*h);
endfunction
function diffdd5p=di... |
7e6b0363a657e189354b564d6c69ddb40cefba28 | a5bfbe555e7cf18882d8897d206086fccefb9632 | /03/a/Register8Bit.tst | 781916a2cdc2b1febe4e1433d43e300c483f661a | [] | no_license | Sushmitha999/computer-system-design-lab | 86ec2fb04245ad51d7a840f628dcd02f73ba0ced | a8b85e50c241a5e5ef4be9a622338982f78f9899 | refs/heads/master | 2023-01-08T03:07:13.106429 | 2020-10-29T13:00:00 | 2020-10-29T13:00:00 | 291,743,139 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,647 | tst | Register8Bit.tst | load Register8Bit.hdl,
compare-to Register8Bit.cmp,
output-file Register8Bit.out,
output-list time%S1.4.1 in%D1.4.1 load%B2.1.2 out%D1.4.1;
set in 0,
set load 0,
tick,
output;
tock,
output;
set in 0,
set load 1,
tick,
output;
tock,
output;
set in -123,
set load 0,
tick,
output;
tock,
ou... |
12aa623f78ce27989b7aaed235db0d2c0cb93fb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH6/EX6.20/6_20.sce | 18895fca6a872a6f922403cbbe6a76d51d0a0cea | [] | 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 | 372 | sce | 6_20.sce | clc
//initialisation
s1=1//m/sec
s2=2//m/sec
s3=3//m/sec
s4=4//m/sec
s5=5//m/sec
n1=4
n2=2
n3=8
n4=6
n5=5
//CALCULATIONS
u=(n1*s1+n2*s2+n3*s3+n4*s4+n5*s5)/(n1+n2+n3+n4+n5)
v=sqrt((n1*s1*s1+n2*s2*s2+n3*s3*s3+n4*s4*s4+n5*s5*s5)/(n1+n2+n3+n4+n5))
//results
printf(' mean speed of molecules= % 1f m/sec',u)
... |
756cd590babe2217d1edea4ad3996037bfabc661 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3828/CH11/EX11.1/Ex11_1.sce | b345cd221f916701595cd7c738a286152caf16e9 | [] | 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 | 327 | sce | Ex11_1.sce | //Chapter 11 : Free Electron Theory Of Metals
clear;
//Variable declaration
k=1.376*10**-23 //Boltzmann's constant in J/K
T=300 //Temperature
m=9.11*10**-31 //Mass of electron
//Calculations
v=sqrt((3*k*T)/m)/10**5
//Result
mprintf("Root Mean Square Velocity v= %1.2f*10**5 m... |
5019d9f5b16e5a8b4945e2d058f10fc815133eee | c9cea368728effc50ef3a05f10679bcc5c63382a | /Clase_22-03/optm_22-03-19(1).sce | 8b1d03ff1d50ac895a494f47f9f4d0876e54e387 | [] | no_license | juancllanos/Optimizacion | dbb30315da1b6b3bfac0d1ace5d8e468557565d3 | ef85b725af392290dd46febc839f27944a5ed9d7 | refs/heads/master | 2020-04-28T05:46:38.128903 | 2019-05-21T21:59:16 | 2019-05-21T21:59:16 | 175,032,693 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,139 | sce | optm_22-03-19(1).sce | // REVISAR ESTO
function y = fx(x,h,c)
y = (1/2)*x'*h*x+c'*x
endfunction
function y = minfx(x,h,c)
d = -(h*x+c)'
disp(d)
y = - (-1*d'*d)/d'*h*d
endfunction
// Metodo decenso + pendiente
function t = minf(x,h,c)
count = 0
for k = 1:60
gr = (h*x+c)
if nor... |
e51f53405f9d002e82d609bb83f1a995cc01fcf7 | 93c7fb5ee09b14b93d6c6a5a99d15e57555802be | /tests/test_100/test2.tst | e9a62698dfe09cf3a1b3cf7610c53c865d95a50b | [] | no_license | ach5910/42PushSwap.com | b1cd724453b20296e39c18e5d576bdfb6290f7da | bfa2755c1cb84c7d72a4858c77193743a5583a1a | refs/heads/master | 2020-04-05T12:35:36.043271 | 2017-07-26T06:33:40 | 2017-07-26T06:33:40 | 95,174,903 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 495 | tst | test2.tst | 6924 4608 4531 2806 8715 9576 2538 9081 6009 7667 6701 1866 299 6917 4824 6359 5706 3958 2663 8514 5663 1434 4010 7615 6117 7024 1989 9807 2792 8601 2500 2000 5990 9668 9457 8820 5288 7724 4075 8228 3463 2350 5103 6821 1661 2669 7358 9857 9396 4761 6396 1191 2729 1879 7055 459 6338 5139 9712 6521 7941 3243 8079 3228 33... |
4765f1d96cd1435d4c03dc393ab1c99dc5a3db8f | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_MatFunc/cummulativeSum.sce | 2908e38a818d68541e72d53ed7cf6c3e13367465 | [
"BSD-2-Clause"
] | permissive | CEG-MCA-Scilab-Hackathon/Scilab_Armadillo_Toolbox | d0a366f5f058ee45d3c4be7a41e08ed419d4b7cd | 70c97cda4e0dd54df0a638e9b99f380c09ffa37e | refs/heads/master | 2022-12-11T01:28:28.742041 | 2020-08-26T12:24:27 | 2020-08-26T12:24:27 | 290,481,428 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | sce | cummulativeSum.sce | // Function Name: cummulativeSum
// Returns a matrix containing the cumulative sum of elements in each column (dim=0), or each row (dim=1) of input matrix
// Calculating the cummulativeSum.
//dim = 1
inputMat = [-1.2, 1, 1.9; -4, 2.6, 5; -2.3, 8, -7];
result = armaMatFunc("cummulativeSum",inputMat,1)
//dim = ... |
5a4c1b5ca11b0c34fc4a1dbb947b7605344ea9f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH3/EX3.15/Ex3_15.sce | 76e7878267be02c4bef2dc46abd77e25547d71d1 | [] | 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 | 355 | sce | Ex3_15.sce | //Ex 3.15
clc;clear;close;
format('v',6);
fo=1*1000;//Hz
fo_dash=1.5*1000;//Hz
C=0.01;//micro F(have to choose C, 0.01<C<1)
R=1/(2*%pi*fo*C*10^-6)/1000;//kohm
K=1.2*1000/fo_dash;//scaling factor
Rdash=K*R;///kohm
disp("Design values are :");
disp(C,"Capacitance(micro F)");
disp(R,"Resistance R(kohm)");
disp... |
072a659da94131d4601bba0349fdcfd39c055f7c | d30c600aab98451a67dfb1b195a474bf9335678a | /Diss/VarPlasPara.sce | 59b78574cd2b3896b81bf72c39104ae6dbcb4ddf | [] | no_license | aeroware/antennas_in_plasma | fe3e88f0e486af24c11d93d0822c5d455c8cb6a7 | f42fa85cb176afee58eddc413ad53154f8c6fd1c | refs/heads/master | 2021-01-25T08:28:51.760274 | 2014-04-05T15:05:51 | 2014-04-05T15:05:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,676 | sce | VarPlasPara.sce | // VarPlasPara draws a graph that shows the variations of the most important plasma parameters along the radial distance outward from the sun
ieee(2);
n0=5e6; // electron/proton number density at 1 AU
epsilon0 = 8.8542e-12 // permittivity of free space
k=1.38e-23 // Boltzmann Constant
e=1.6e-19 // unit charge
... |
7d16d10e20c0424524a5d5814b7b7ded4d1d98b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH18/EX18.6/Ex18_6.sce | 0817dde2a5f09cea4a711e76fb363fe12a5c228e | [] | 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 | 598 | sce | Ex18_6.sce | clc
clear
//Initialization of variables
disp("From fig B-4,")
disp("Appropraite notation from textbook has been used")
disp("All are enthalpy values at different stages")
ha=44.36 //Btu/lbm
hc=18.04 //Btu/lbm
hj=197.58 //Btu/lbm
hh=213.5 //Btu/lbm
hd=hc //Btu/lbm
he=190.66 //Btu/lbm
hk=241.25 //Btu/lbm
/... |
9458e5b6d20c0890fa82a2494a2f163adc5eba67 | d7087cf730b37f76170323e080c090f8094979ac | /test/exec/for_command_3.tst | 9e8e1f6ff2c53b2c0cef1826ccf473b2bfaba762 | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 218 | tst | for_command_3.tst | <cmd>
../build/42sh</cmd>
<ref>
bash</ref>
<stdin>
for i in 1 2 3; do
for j in 1 2 3; do
for k in 1 2 3; do
echo $i;
echo $j;
echo $k;
done
done
done
</stdin>
|
7842e7e0dd2114c7182c0ca9ec6a743442272b0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH21/EX21.3/21_3.sce | e9db19df3145facdcda4ebd2107b6bbfec9c1f17 | [] | 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,525 | sce | 21_3.sce | pathname=get_absolute_file_path('21_3.sce')
filename=pathname+filesep()+'21_3data.sci'
exec(filename)
clear
Lc1=Lc+ 0.1*10^3,Lc2=Lc- 0.1*10^3;
Mx1=-Sy*(L-Lc1);//moment at section1
L31=(L1*(L-Lc1)+ L2*Lc1)/L;//leangth of CS1
B31=(B1*(L-Lc1)+ B2*Lc1)/L;//breadth of CS1
Mx2=-Sy*(L-Lc2);//moment at section2
L32=(L... |
7982f7b899f0804145f84e1e4a46061460e770d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH7/EX7.26/EX_7_26.sce | 23d28021721e54c6893308a7f479f7525125c6a3 | [] | 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 | 621 | sce | EX_7_26.sce | // Example 7.26:design wein bridge oscillator
clc;
clear;
close;
Vcc=15;//collector voltage
f=10;//frequency of oscillation in killo hertz
Vo=Vcc-1;//maximum output voltage
I=1;//current in millo ampere
x=Vo/I;//resistance in killo ohms
R4=x/3;//resistance in killo ohms
R3= 2*R4;//resistance in killo ohms
A= round(1+(R... |
69ec5cb1eb2df0bce7deda461037795739a4a6cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1309/CH3/EX3.1/ch3_1.sce | 17ef2388f839d109318277a87733f6ae54784a3c | [] | 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 | 723 | sce | ch3_1.sce | clc;
clear;
printf("\t\t\tChapter3_example1\n\n\n");
// Determination of the heat-flow rate from one tube
// specifications of 1 standard type K from table F2
OD=0.02858; // outer diameter in m
// from figure 3.11
M=8; // total number of heat-flow lanes
N=6; // number of squares per lane
S_L=M/N; // conduction shape f... |
1189fabb695605a64e0a3bea4ab3fce6dd888f17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH3/EX3.2/EX3_2.sce | 35fdcf9825889cccfae89a89b414779061115fda | [] | 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 | 607 | sce | EX3_2.sce | //calculating number of primary and secondary turns
//Chapter 3
//Example 3.2
//page 196
clear;
clc;
disp("Example 3.2")
V1=6600; //primary voltage in volts
V2=230; //secondary voltage in volts
f=50; //frequency in hertz
Bm=1.1; //flux den... |
f08a4896534170372439b26b856215defd237de2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH15/EX15.11/ex15_11.sce | b719ac2a97a69c7025a8833ac7f344710b62ae2f | [] | 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 | 691 | sce | ex15_11.sce | //Chapter-15, Example 15.11, Page 500
//=============================================================================
clc
clear
//CALCULATIONS
x1=base2dec(['1001'],2)//converting binary to decimal
x2=base2dec(['0100'],2)//converting binary to decimal
x3=x1+x2;
if(x3>9)
x3=x3+6;
z1=dec2base(x3,2)//conv... |
e78859ebbc396d02eb98da03a8e5960d48b9765c | d7087cf730b37f76170323e080c090f8094979ac | /test/lexer/test8.tst | 97373f6da634a24df2abdccaaed2f55ae72ef63c | [] | no_license | VladimirMeshcheriakov/42sh | 025dffe358b86f48eaf7751a5cb08d4d5d5366c4 | 52d782255592526d0838bc40269f6e71f6a51017 | refs/heads/master | 2023-03-15T17:26:20.575439 | 2015-06-26T12:44:05 | 2015-06-26T12:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 87 | tst | test8.tst | <cmd>
./main_test/lexer_tst ''</cmd>
<ref>
cat ./lexer/test8.ref</ref>
<ret>
0</ret>
|
ced77e49ac0588b33d096cc2f7d3aaaf120ae155 | 449d555969bfd7befe906877abab098c6e63a0e8 | /446/CH2/EX2.16/2_16.sce | 06aede701cfd83950b568349df46dba1e3740ca3 | [] | 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 | 686 | sce | 2_16.sce | clear
clc
disp('Exa-2.16');
K=325; mkc2=498; //kinetic energy and rest mass energy of kaons
mpic=140; //given value
Ek=K+mkc2;
pkc=sqrt(Ek^2-mkc2^2);
//consider the law of conservation of energy which yields Ek=sqrt(p1c^2+mpic^2)+sqrt(p2c^2+mpic^2)
// The above equations (4th degree,hence no direct metho... |
54d09968aa53f5e77afb89fd885d7b9f52db160b | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/schurrc/schurrc4.sce | c1ccc603328f1e936e2ceac88546177f06b6281a | [] | 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 | 84 | sce | schurrc4.sce | //check o/p for empty i/p matrix
k=[];
y=schurrc(k);
disp(y);
//output
//
// []
|
c84ad6fc4e3baefc9de3708351bf0eba11b2f41f | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH8/EX8.9/8_9.sce | 675bd4ec23cd362716f4d5544b8f8870b618f226 | [] | 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 | 441 | sce | 8_9.sce | //example:-8.9,page no.-434.
// program to design a 3 dB 50 ohm langer coupler for operation at 5 GHZ.
f=5*10^9;C=10^(-3/20);
Zo=50;
Zoe=(((4*C)-3+sqrt(9-(8*C^2)))/((2*C)*sqrt((1-C)/(1+C))))*Zo;
Zoo=(((4*C)+3-sqrt(9-(8*C^2)))/((2*C)*sqrt((1+C)/(1-C))))*Zo;
disp(Zoe,'even mode characteristic impedence of a pair of... |
a4f3a0faa64ca4bfa39689313b6c49cf8b09b733 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Machine_Design_U._C._Jindal_683.zip/Machine_Design_U._C._Jindal_683/CH12/EX12.8/W_8.sce | e4f0cc06b919bf9db7ec60b37a54de89b65f8dda | [] | 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 | 331 | sce | W_8.sce | errcatch(-1,"stop");mode(2);// sum 12-8
;
;
l=300;
P=30*10^3;
T=P/(2*l);
Ta=124;
t1=T/Ta;
h1=sqrt(2)*t1;
M=P*l;
Ixx=2*100*110^2;
sigb=M/Ixx*110;
//Let the allowable bending stress is Tab
Tab=200;
t2=sigb/Tab;
h2=t2/0.707;
h2=3;
// printing data in scilab o/p window
printf("h is %0.0f mm ",h2... |
7e4f3e972217ed2cfee58ad669a3621af62d7626 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH3/EX3.10/10.sce | 743e60882770ebfb93b405e30b271c85388fd6bb | [] | 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 | 10.sce | clc
// Given that
d = 0.4 // separation between slits in mm
e = 0.08 // width of slit in mm
D = 170 // Separation between screen and source in cm
Beta = 0.25 // Fringe width in cm
// Sample Problem 10 on page no. 155
printf("\n # PROBLEM 10 # \n")
printf(" Standard formula used \n")
printf(" theta = 1.... |
a67f06d1fc0bc16eb455cec379e96baa61f321f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH3/EX3.7/Example3_7.sce | 1bda7ccdffc74ebbd900c5183d06b6fa9ed0967f | [] | 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 | 419 | sce | Example3_7.sce | //Example 3.7.
clc
format(8)
q=1.6*10^-19
Va=40
m=9.1*10^-31
B=0.91
ve=sqrt(2*q*Va/m)
disp(ve,"The velocity of the electron is(m/s)= sqrt(2qVa/m) =")
format(7)
tt=(2*%pi*m)/(B*q)
disp(tt,"The time taken for one revolution is T(seconds) = 2*pi*m / B*q =")
format(9)
p=tt*ve*(sqrt(3)/2) //cos(30)=sqrt(3)/2
d... |
a2aec8cb4de0f7b83c3c90730d749da114b989df | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/auto/projsl.sci | 794a20b1c965abd559042f4e2f81f075abbf090e | [
"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 | 184 | sci | projsl.sci | function [slp]=projsl(sl,q,m)
//slp= projected model of sl q*m is the full rank
//factorization of the projection.
//!
slp=tlist('lss',m*sl(2)*q,m*sl(3),sl(4)*q,sl(5),m*sl(6),sl(7))
|
50820d3a943ee66777b2ba6da740a52c49bb012e | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH10/EX10.14/ex_10_13.sce | 50c4c0a16c37c79fa0e16e631226e79089112320 | [] | 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 | 527 | sce | ex_10_13.sce | ////find size of weld
clc
//solution
//given
//ref fig 10.28
P=15000//N
T=80//N/mm^2
b=80//mm
l=50//mm
e=125//mm
//let s be size of weld
//A=2*t*l//70.7*s//mm^2
//T1=P/A//N/mm^2//direct stress
//T1=212/s
//J=t*l*(3*b^2+l^2)/6//mm^4
//J=127850*s//mm^4
ab=40//mm
bg=25//mm=r1
r2=(sqrt(ab^2+bg^2))//mm
pr... |
db9657ed1db14f4e56512590c814fbb8f3414149 | a5de878687ee2e72db865481785dafbeda373e2a | /trunck/OpenPR-0.0.2/macros/fuzzy_kmeans.sci | 4611ca5c39ee77f1e68e13244664cb878dce4af2 | [
"BSD-3-Clause"
] | permissive | Augertron/OpenPR | 8f43102fd5811d26301ef75e0a1f2b6ba9cbdb73 | e2b1ce89f020c1b25df8ac5d93f6a0014ed4f714 | refs/heads/master | 2020-05-15T09:31:08.385577 | 2011-03-21T02:51:40 | 2011-03-21T02:51:40 | 182,178,910 | 0 | 0 | null | null | null | null | WINDOWS-1258 | Scilab | false | false | 3,297 | sci | fuzzy_kmeans.sci | //////////////////////////////////////////////////////////////////////////////
// Author: Jia Wu
// Version: 0.1
// Date: Dec. 2009
//
//
// Copyright (C) 2009 OpenPR
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that ... |
e0198b47f1551fef1344ac15263bb038acf61315 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH15/EX15.37/Ex15_37.sce | 56b2c0263b0e99347b911d4e7520861a3da35f7c | [] | 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 | 645 | sce | Ex15_37.sce | //Initilization of variables
del=450 //lb/ft^3
h1=9/12 //ft
h2=10/12 //ft
ro1=4/12 //ft
ri1=2/12 //ft
ro2=18/12 //ft
ri2=16/12 //ft
a=2.5/24 //ft
b=3.5/24 //ft
l=1 //ft
g=32.2 //ft/s^2
//Calculations
Whub=(%pi*ro1^2-%pi*ri1^2)*h1*del //lb
Wrim=(%pi*ro2^2-%pi*ri2^2)*h2*del //lb
//For one spoke
Wspoke=(%p... |
c50129fef6a3932b8e896fa859cb65a3f340de3a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH10/EX10.22/example10_22.sce | 4cdc9771382d8842dc6b407adab99daf54cfe9eb | [] | 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 | 711 | sce | example10_22.sce | clc
// Given that
q = 1.6e-19 // charge on a proton in C
d = 1e-10 // distance of a point from proton in m
d_ = 2e-11 // distance of another point from proton in m
e0 = 8.85e-12 // permittivity of space
// Sample Problem 22 on page no. 10.44
printf("\n # PROBLEM 22 # \n")
v = (1 / (4 * %pi * e0)) * (q / d)//calculatio... |
e8a46eddfe692d5e33cbad0bb1e433ce648c01bc | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529.zip/Electrical_And_Electronic_Principles_And_Technology_J._Bird_1529/CH19/EX19.1/19_01.sce | 4120fbf767e905e31ff0001f102d6ee694c24399 | [] | 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 | 282 | sce | 19_01.sce | errcatch(-1,"stop");mode(2);//Chapter 19, Problem 1
;
A0=120; //voltage gain
V1=2.35; //input voltage
V2=2.45; //input voltage
V0=A0*(V2-V1); //output voltage
printf("Output voltage = %d V",V0);
exit();
|
1d2d9375f9f0807f6b7af647e309ad2dba213f5b | 449d555969bfd7befe906877abab098c6e63a0e8 | /104/CH4/EX4.1/4_1.sce | 1c1c5589decb7a142ab2d50675960a1ef0f29425 | [] | 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 | 406 | sce | 4_1.sce | //transfer function of the system
//from state diagram in 4-1(b)
//initial conditions are taken as zero
//considering voltage across capacitor as output
syms R L C
s=%s
M1=(1/L)*(s^-1)*(1/C)*(s^-1)
L11=-(s^-1)*(R/L)
delta=1-(L11)
delta1=1
x=M1*delta1/delta
disp(x,"Ec(s)/E(s)=")
//considering current in the... |
69aea7a895add568de54ed6bd2121a7f11fc5b93 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1241/CH6/EX6.13/exa6_13.sce | 45ecd8fc4fc9de564b924f8df1acc93edc3e2e90 | [] | 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,052 | sce | exa6_13.sce | //Example 6-13//
//reduce expression using k-map//
clc
//clears the console//
clear
//clears all existing variables//
//Mapping the expression//
disp(' B''C'' B''C BC BC'' ')
disp('A'' 1 0 1 1 ')
disp('A 1 1 1 0 ')
disp(' From the map, high outputs for 0,2,3,4,5 and 7 ')
a=[0 0 0 ; 0... |
d1414d861650df5bd394df777bc9ae6b916a33ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH14/EX14.13/example14_13.sce | 5b0cffd87ee9c3fbf2284e0f42992205e7bd026a | [] | 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 | 609 | sce | example14_13.sce |
//example 14.13
//calculate bed load transported by channel by einstein equation
clc;funcprot(0);
//given
gamma_w=9.81; //unit weigth of water
D=3; //depth of channel
d=0.3; //grain size
k=1.5; //size of roughness of channel bed
S=1/4400; //... |
f8c2eecf2bf93b96ac2dd0ef3eb95a7e0228260a | 30ad7dd5146dfff03b7639186330ec527bfc0524 | /Control Systems Programs/Lab2DeriveProgram.sce | 334495b8704c770d0866919d88e1fd063ac6c679 | [] | no_license | boberae/Other-Small-Projects | fcc79d8fd69c6d39de68a8b83360b32b28216d73 | 63d668d2f2c022f653cf44f55992dd05420437e3 | refs/heads/master | 2020-06-11T10:07:44.474211 | 2016-12-06T06:42:33 | 2016-12-06T06:42:33 | 75,697,420 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 880 | sce | Lab2DeriveProgram.sce | //Define X as array of 101 equally spaced data pts from 0 to 2*pi
x_start = 0;
x_end = 2*%pi;
points = 101;
X = linspace(x_start, x_end, points);
//Variable "F" represents a function vs. X
//In this case, F is set as array of sin(X)for every point of X
for i = 1:101
F(i) = sin(X(i));
end;
//Variable Fdot represen... |
11138d6f351dc9d7a1f908d492841e9cb590c6bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH2/EX2.1/2_1.sce | 2e4989fd8d1c6b5c4efb385404a34fe265a80663 | [] | 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 | 221 | sce | 2_1.sce | clc
//initialisation of variables
clear
T= 40 //C
R= 0.0820 //lit-atm deg^-1 mol^-1
v= 0.381 //lit
b= 0.043 //lit
a= 3.6
//CALCULATIONS
P= (R*(273+T)/(v-b))-(a/v^2)
//RESULTS
printf ('Pressure = %.1f atm',P)
|
1639ee786ff126f6b843574dc40908f3b2981ee1 | 899cecef18712265c22e100bf72286df1ec5fb65 | /Asgn4/Q6.sce | 7c08b4d168611a62262b7df17b23d9f7f5212de2 | [] | no_license | ajaykumarkannan/Speech-Signal-Processing-and-Coding | 449679bef8bdf0215e96521163774f88d8a6b41e | c1d371b2866239a89312a0f64db3d61cc0b1011c | refs/heads/master | 2020-05-17T17:02:33.143586 | 2012-11-15T12:48:40 | 2012-11-15T12:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,465 | sce | Q6.sce | // This script perfoms PITCH DETECTION using the SIFT method. The basic components
// of the algorithm are as follows:
// LPF (900Hz) -> DECIMATION (2kHz) -> Analyzed using Autocorrelation (p=4) -> Inverse Filter
// Nms = input("Enter the frame size in milliseconds: ");
Nms = 40; // 20ms frame length
FileName = ... |
cb31736ea3172bb6cb9d4ee68ff2770a97f9d83a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH3/EX3.3/Ch03Ex3.sce | c9b7a0d7893abf11bceec351b7febf4f42342930 | [] | 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 | 558 | sce | Ch03Ex3.sce | // Scilab Code Ex3.3: Page-88 (2006)
clc; clear;
N = 6.02e+26; // Avogadro's number, per kmole
C_t = 6.32e+03; // Velocity of transverse wave, m/s
C_l = 3.1e+03; // Velocity of longitudinal wave, m/s
rho = 2.7e+03; // Density of Al, kg per metre cube
M = 26.97; // Atomic weight of Al, gram per mol
... |
b88991ae6b43421162cfebc5e1a50d584e6dc085 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3137/CH16/EX16.28/Ex16_28.sce | 5afad8fe69979521f0a5e3829a63ed06abdc91fc | [] | 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 | 509 | sce | Ex16_28.sce | //Initilization of variables
u=0.3 //coefficient of friction
m=70 //kg
g=9.8 //m/s^2
//Calculations
//CASE 1
//Using equations of motion
Na=m*g //N
ah=(u*Na)/m //m/s^2
//CASE 2
//Applying sum of moments equal to zero
F=(Na*0.3)/1.2 //N
a_h=F/m //m/s^2
//Result
//Intutive insights can be attained after we ... |
74fd6867f662c43d32cea60c6d77465f82fc2998 | 449d555969bfd7befe906877abab098c6e63a0e8 | /758/CH6/EX6.12/Ex_6_12.sce | a08eeae844982127d34fe698450957156c1079ac | [] | 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 | 185 | sce | Ex_6_12.sce | //Example 6.12
clc;clear;close;
N=4;
n=0:N-1;
x=cos(%pi/4*n);
//Calculation of DFT
X=fft(x,-1);
X=clean(X);
disp(x,'Given Sequence is x(n): ');
disp(X,'DFT of the Sequence is X(k): '); |
dadd2ac704b112f4d0bdfebbc282c601ec8940d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH7/EX7.1/Ex7_1.sce | 38e6b795dd89bc3d3af4316c0abe4e0f242eadc7 | [] | 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 | 316 | sce | Ex7_1.sce | clc;
Vcc=12; //volt
Vceoff=12; //volt
Rc=2000; //ohm
Icsat=Vceoff/Rc; //Ampere//v=r*i
disp('mA',Icsat*1000,"Icsat=");//The answers vary due to round off error
T1=0:2:12; // T1 axes is for voltage axes
T2=6:-1:0 // T2 axes is for Ic mA And T2(max)=Icsat=6 mA
plot(T1,T2)
xlabel('Vce(V)')
ylabel('Ic(mA)')
|
dc4495f74bed4f1841324098577b754df2f52868 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH5/EX5.5/Ch05Ex5.sci | 77e496764d5fec2374f484a9b41f0603b729a44b | [] | 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,045 | sci | Ch05Ex5.sci | // Scilab Code Ex5.5 Average energy required to create one Schottky defect in NaCl Page-160 (2010)
N = 6.023D23; // Avogadro's number
k = 8.614D-5; // Boltzmann's constant, eV/K
T = 27+273; // Absolute room temperature, K
r = 2.82D-10; // Interatomic separation of NaCl cryastal, m
n = 5D+11; // ... |
830f575902c0883b47dd31f40907d2d03dc1fca8 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-StringAndUtilityFunctions/FLInStr-NZ-01.tst | 4768d3d7d214e50db2cc42c9b5527ad707ab7890 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,877 | tst | FLInStr-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Teradata
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
... |
3e0e5a073a9f57af220214c05576a8eb80935551 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH5/EX5.1/Ex5_1.sce | 9ca003014085e1bd5e392cae956b48aee672581f | [] | 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 | 513 | sce | Ex5_1.sce | //Example 5.1//
k=2.95*10^-4;// kg/(m^-4.s) //At 400 degree Celsius k rises
k1=1.05*10^-8;//kg/(m^-4.s) // The value of k at 300 degree celsius
R=8.314;//J/(mol.K) //universal gas constant
T=673;//K //Kelvin //absolute temperature
T1=573;//K //Kelvin //absolute temperature
a=log(k/k1);// Taking antilog to remove ... |
e8f88745e269b80399c101bd0d4cd6449678cacf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH9/EX9.2/s9_2.sce | 1a33f928d1941b86f312639e8beaf1d99a7fc246 | [] | 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,238 | sce | s9_2.sce | //Example 9.2
//Page no. 393
//calculae the steam requirement and the no. of tubes
//if the height of the calandria is 1.5 m.
//given
ci=10 //%,initial concentration
cf=40 //%, final conc
Wf=2000 //kg/h, feed rate
ft=30 //C feed temp.
rp=0.33 //kg/cm^2, reduced pressure
bt1... |
1fa02b60499d4c37b6cf899b9dbcb70973322b06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH6/EX6.6/Ex6_6.sce | f6d351b2e91746e2365dafd9bdb902bbdf5454e0 | [] | 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,150 | sce | Ex6_6.sce |
i=linspace(0,0,2)
t=linspace(0,1,2)
plot2d(t,i)
for j=0:3
i=linspace(40+20*j,40+20*j,2)
t=linspace(j+1,j+2,2)
plot2d(t,i)
if j==0 then
t=linspace(j+1,j+1,2)
i=linspace(0,40,2)
plot2d(t,i)
else
t=linspace(j+1,j+1,2)
i=linspace(40+20*(j-1),40+20*... |
9368a644aeba5a833b6165e4423f6bf1ecea9ad5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH12/EX12.1/example_12_1.sce | ff948e0dd33ac790a42de8e6918cea429868bd7d | [] | 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,002 | sce | example_12_1.sce | clear;
clc;
disp("--------------Example 12.1---------------")
d=600*10^3; // 600 km
speed = 3*10^8; // 3*10^8 m/s
Tp=(d/speed)*10^3; // propagation time
// a) K=1
K=[0 1]; // range
TB1=Tp*K(1);
TB2=Tp*K(2);
printf("\na)K=1 :- TB is either %d ms (0 x 2) or %d ms (l x 2), based on the outcome of the random ... |
25c0c3ae280a79d2fd85297c59bb1c97c9bfe0d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH7/EX7.7/ex7_7.sce | 9389f062a1bb517a97dceebc53e1ebd05073c28e | [] | 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 | 152 | sce | ex7_7.sce | // Example 7.7, page no-164
clear
clc
sig=5.87*10^7
k=390//W/m-k
T=293
L=k/(sig*T)
printf("The Lorentz number is %.3f *10^-8 W.Ohm/K^2",L*10^8)
|
97b00cf877d4ac0ab4b33ff2878f1375a330ca85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH6/EX6.31/6_31.sce | a8e0513bacdc6157af21da0b16ab107f848aa73c | [] | 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 | 805 | sce | 6_31.sce | clc,clear
printf('Example 6.31\n\n')
V_L=3.3*10^3
V_ph=V_L/sqrt(3)
VA=3*10^6
I_FL=VA/(sqrt(3)*V_L)
IX_s=(20/100)*V_ph //product of I and X_s
X_s=complex(0,IX_s/I_FL)
N_s=1000 //in r.p.m
Poles=6,f=50
delta_dash_mech=(%pi/180) //displacement in degree mechanical
//displacement in degree electrical
delta_... |
96898a6a37c088b615213a6cb80dd950353e22bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /165/CH15/EX15.2/ex15_2.sce | 8d08f1ffaa607d2427d24b2b03ea7b4e40651726 | [] | 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 | 203 | sce | ex15_2.sce | //Example 15.2
clc;
wc=20000; //Cutoff frequency in rad/s
C=0.01*10^-6; //Assumed value of capacitor
R=invr(wc*C);
x=ceil(R);
printf('\nResistence Value required is %.2f k ohm\n',x/1000) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.