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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b50595a44abdfd234772c643a8019a5871b5f3fa | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/calpol/pol2str.sci | 80d071ca2122dbc1d4f4647391ed39f2bc0ab1cc | [
"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 | 642 | sci | pol2str.sci | function [str]=pol2str(p)
//polynomial to character string
//
// p : polynomial (real)
// str : chracter string
//!
// Copyright INRIA
n=degree(p)
var=varn(p)
nv=length(var);while part(var,nv)==' ' then nv=nv-1,end;var=part(var,1:nv);
string(20)
p=coeff(p)
string(10)
if p(1)<>0 then
if p(1)<0 then
str=string(p(1)... |
86a174885a33b547f96fe73e662ddb0727790698 | 931df7de6dffa2b03ac9771d79e06d88c24ab4ff | /Counter-Striker Peek.sce | e59aa2c8da46447453ce5f7b4cf02806f53fece7 | [] | 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 | 54,444 | sce | Counter-Striker Peek.sce | Name=Counter-Striker Peek
PlayerCharacters=Counter-Striker
BotCharacters=Counter-Striker Bot PEEKER.bot
IsChallenge=true
Timelimit=120.0
PlayerProfile=Counter-Striker
AddedBots=Counter-Striker Bot PEEKER.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=1
BotTeams=2
MapName=794569841.map
MapScale=3.0
BlockProjectilePredict... |
680f071f8c9fadebb7905f1cde6f223d6879bd3b | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH4/EX4.15/4_15.sce | 95d4e7bd4134f5df4d895f4ffa6bc88555ab492e | [] | 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 | 512 | sce | 4_15.sce | //pathname=get_absolute_file_path('4.15.sce')
//filename=pathname+filesep()+'4.15-data.sci'
//exec(filename)
//Maximum temperature(in K):
T1=500+273
//Minimum temperature(in K):
T2=200+273
//Temperature of the body(in K):
T3=450+273
//Efficiency:
n=1-T2/T1
//Ratio of W to Q1:
r1=n
//COP of pump:
COP=T3/(T... |
742fa0acabb215ae18b0655fc1b08a9ff5cf3f4b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3717/CH1/EX1.6/Ex1_6.sce | 0ccada540da509a3efceb566629bdf41e6ddc226 | [] | 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 | 571 | sce | Ex1_6.sce | // Ex1_6 Page:15 (2014)
clc; clear;
c = 1; // For simplicity assume speed of light to be unity, m/s
m0 = 1; // For simplicity assume the rest mass, kg
d = 1; // Percentage difference of relativistic mass from the rest mass, kg
m = m0*(1+20/100); // Effective mass of the body while moving, kg
v = poly(0, "v")... |
dc0a129596b04888d7c9163053c880f8b7a73df6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH19/EX19.4/Ex19_4.sce | 944597970a79bc70ba746fc3a4f5c34625f9c981 | [] | 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,523 | sce | Ex19_4.sce | // Initiization of variables
a=1 // m/s^2 // acceleration of car A
u_B=36*(1000/3600) // m/s // velocity of car B
u=0 // m/s // initial velocity of car A
d=32.5 // m // position of car A from north of crossing
t=5 // seconds
// Calculations
// CAR A: Absolute motion using eq'n v=u+at we have,
v=u+(a*t) // m/s
... |
29cd75cca3796a154a575b8ebc14915947e45c6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH7/EX7.6/7_6.sce | 618d1a3da49d21b198351649c1e21fdffd87888e | [] | 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 | 305 | sce | 7_6.sce | clc
//initialisation of variables
p=1.01325 //pressure in bar
w1=0.01468
td=20 //temp in degrees
tw=40 //temp in degrees
//CALCULATIONS
ha=(1.005*td+w1*(2500+1.86*td))
w2=(ha-(1.005*tw))/(2500+1.86*tw)
//RESULTS
printf('humidity rate is %2fkg/kg of da',ha)
printf('\nw2 is %2fkg/kg of da',w2)
|
7524c4bc9bf935ce29247f3e1449bcd1635e2116 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH8/EX8.12/8_12.sce | 9007c015438253f5a2859b3ce6474277a1dca549 | [] | 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 | 177 | sce | 8_12.sce | clc
//initialisation of variables
p=10^5//N/m^2
l=1//m
a=0.2//m^2
n=5
//CALCULATIONS
power=2*p*l*a*n/746
//results
printf(' \n horse power of engine= % 1f H P',power)
|
e115f1a26a82e2b3396b5ab5184b1398c0d21e9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH29/EX29.6/Ex29_6.sce | a023bc98d05ecb6f9800eaf056cdc2852b75a429 | [] | 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 | 190 | sce | Ex29_6.sce | clear
//Given
Pc=500 //watts
//Calculation
Ps=(1/2.0)*(Pc)
Pt=Pc+Ps
//Result
printf("\n (i) sideband power is %0.3f W",Ps)
printf("\n (ii) power of AM wave is %0.3f W",Pt)
|
8aab99cd9dfc051d6e07f00940b3e4d60f7550de | 79a9b8e61be2b6f6982c748002a7eb60ebe61e94 | /scilabCode/dft_sequence.sci | 889be3b0bcd6488d3c7bfb2c70280ccd646e22cb | [] | no_license | kavyamanohar/DSPlab | 2537afda78992bf9fc2e60d93ef95849c40c23e9 | eca8a02bbac243a61db8db89f3e05ea2e6485c39 | refs/heads/master | 2021-01-21T13:53:00.373606 | 2016-06-05T08:27:51 | 2016-06-05T08:27:51 | 54,376,427 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 558 | sci | dft_sequence.sci | // DFT – magnitude and phase plot//
clc;
clear all;
close;
x1=[1 1 1 0];
X1=fft(x1,-1);
disp(X1,"X1(k) =");
subplot(2,3,1);plot2d3(x1);title('Sequence 1')
subplot(2,3,2);plot2d3(abs(X1));title('Absolute value of DFT')
subplot(2,3,3);plot2d3(atan(imag(X1),real(X1)));title('Phase of DFT')
x2=[1 1 1 0 0 0 0 0];
X2=fft(x2... |
482db228d9e0464b7b928ebda5effbfacf88bdb8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH6/EX6.1/EX6_1.sce | 687474bf538c26c3b62e00aace2ee8320046b9d7 | [] | 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 | 676 | sce | EX6_1.sce | //Example6.1 // design an inverting amplifier with a closed loop voltage gain of Av = -5
clc;
clear;
close;
Av = -5 ;
Is = 5*10^-6 ; // A
Rs = 1*10^3 ; // ohm
// input voltage source Vs = sinwt volts
// in an inverting amplifier frequency effect is neglected then i/p volt Vin = 1 V and total resistance equal... |
f5c82d39fbc4f8c22274bf8ef88e25e83ee367d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH8/EX8.18/Example8_18.sce | 2b19c5099e1b8469d040b521961b7f0283446286 | [] | 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,343 | sce | Example8_18.sce | //Example 8.18
clc
disp("The fig shows the connections for 74LS191 to get desire operation. We can design the combinational circuit for such counter from the truth table shown below.")
disp("")
disp("Q3 Q2 Q1 Q0 Y")
disp("0 0 0 0 0")
disp("0 0 0 1 0")
disp("0 0 1 0 0")
disp("... |
0a310a2960707665e74c12e8df113e0589b3aa6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH4/EX4.12/ex4_12.sce | 93b5cec6eb55379016de47fddf5c13c2dcd81d55 | [] | 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 | 440 | sce | ex4_12.sce | //chapter 4
//end fire array
printf("\n");
n=16;
d=0.25;
L=(n-1)*d;
m=1;
//part a
HPBW=57.3*sqrt((2*m)/L);
printf("the HPBW is %g degree",HPBW);
//part b
D=4*L;
Ddb=10*log10(D);
printf("\nthe directivity is %d",D);
printf("\nthe directivity in db is %gdb",Ddb);
//part c
A=4*(%pi)/D;
printf("\nthe beam ... |
9f6f593a4efbb44525d84dd06f689b86a5715ff0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2951/CH3/EX3.1.A/additional_ex_1.sce | a043e1d946bb1f14664a2eae7db10c7eac0bfac8 | [] | 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 | 586 | sce | additional_ex_1.sce | clc;
clear;
Fc=500;//carrier frequency in kHz
Fm=1;// message signal frequency in kHz
//a)
USB=Fc+Fm;
LSB=Fc-Fm;
disp(USB,"USBI(in kHZ)=");
disp(LSB,"LSB(in kHz)=");
//b)
Bandwidth=USB-LSB;
disp(Bandwidth,"Bandwidth(in kHZ)=")
//c)
Fm=1.5;//message signal frequency in kHz
USB1=Fc+Fm;
LSB1=Fc-Fm... |
53a1c9bcdb326ab7ee43b5e3a91dd4fd8411798d | d63acd02651109079a842c5d5f44fa51a23a2e12 | /test.tst | 0d77becc2c1467464411780ea5156a8185a177a7 | [] | no_license | HeroNani/mycode | 3cae27f7120b8447b3108df94eaf041a625a0ed3 | 258a9e9dbe4a6affed687e8898bd4bd3afec32e4 | refs/heads/master | 2021-05-02T07:51:39.339128 | 2019-02-20T15:48:08 | 2019-02-20T15:48:08 | 120,840,073 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | tst | test.tst | sd lkjasd l;kajsd lkasd
sdg
sdf g
dsf gs
df gs
df
g
df gsdf g
sdf
g
sd
fgs
df g
spp
-- test.lua 文件末尾注释-- test.lua 文件末尾注释-- test.lua 文件末尾注释-- test.lua 文件末尾注释 |
172cabc1b42af034d4022c8fa111069ae3b98cb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH3/EX3.13/Example3_13.sce | 028771f0571ab2b42c986ee796aebc9674fe1d99 | [] | 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 | 521 | sce | Example3_13.sce | //Example 3.13
//Program to Compute circular convolution of following sequences
//x1[n]=[1,-1,-2,3,-1]
//x2[n]=[1,2,3]
clear;
clc ;
close ;
x1=[1,-1,-2,3,-1];
x2=[1,2,3];
//Loop for zero padding the smaller sequence out of the two
n1=length(x1);
n2=length(x2);
n3=n2-n1;
if (n3>=0) then
x1=[x1,zeros(1,n3)... |
ff2f91aa1994de9fc3d5f9f4415cab7c6804093f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH17/EX17.11/148ex1.sce | 6d04c72eddac23ff65b47a5187386086f6c519ab | [] | 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 | 194 | sce | 148ex1.sce |
//x+y=19, xy=84
clear;
clc;
close;
x=poly(0,'x');
//substitute y=19-x in xy=84
Y=x*(19-x)-84;
x=roots(Y);
y=19-x;
mprintf('the solutions are: \n')
mprintf("(x,y)=(%i,%i) \n",x,y)
|
2de823200a44622248f86d833fc3d9b3be0bc2a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /249/CH8/EX8.2/8_02.sce | 51c06c9fe5df81949dcbd7681f117e76ceee971e | [] | 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 | 61 | sce | 8_02.sce | clear
clc
disp('Data is not provided,only graph is provided') |
908b1664e15e51ed5e71a0fc865f2749b73bc488 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH8/EX8.4w/8_4w.sce | cf0a409b1e7643bb1c8783b505b89f74651312cc | [] | 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 | 450 | sce | 8_4w.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 8.4w
//calculation of the work done by the given force
//given data
function F=f(x)
F=(10+(.50*x))
endfunction
x1=0//initial position(in m) of the particle
x2=2//final position(in m) of the particle
//calcu... |
05116b49d8a19ae58cde3b7465b5f75597df1a6d | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH14/EX14.10/example14_10.sce | be2ca7711142b354993791079d005f4565b39258 | [] | 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 | 952 | sce | example14_10.sce | //Chapter 14
//Example 14_10
//Page 371
clear;clc;
v=400;
ph_v=230;
r=0.2;
i=30;
pfr=-0.866;
pfy=0.866;
pfb=1;
ar=0;
ay=-120;
ab=120;
//referring to the phasor diagram given in the text book
air=-30;
aiy=-90;
aib=120;
vr=ph_v*(cos(0)-%i*sin(0));
vy=ph_v*(cos(-120*%pi/180)-%i*sin(-120*%pi/180));
vb=ph_v*(cos(120*%pi/... |
dca8ccbc904389f9a415d5ca9b40a326254ce66a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH16/EX16.15/16_15.sce | bdb6ab63790167d332dcff1af14d26f80f91d3e6 | [] | 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 | 265 | sce | 16_15.sce | //ques-16.15
//Calculating activation energy for the reaction
clc
k2=5.16*10^4; k1=3.76*10^3;
T2=1125; T1=1085;//temperature (in K)
Ea=(log10(k2/k1)*2.303*8.314*T1*T2)/(T2-T1);//activation energy
printf("Activation energy for the reaction is %d J/mol.",Ea);
|
7959de3f14de46d2eef2a38f05893c39e9ca063f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH6/EX6.2/ch6_2.sce | 262e59a6c41f19a1ddefd83803584531aeb050d8 | [] | 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 | ch6_2.sce | clear;
clc;
V=230;
E=150;
R=8;
th1=asind(E/(sqrt(2)*V));
I_o=(1/(2*%pi*R))*(2*sqrt(2)*230*cosd(th1)-E*(%pi-2*th1*%pi/180));
printf("avg charging curent=%.4f A",I_o);
P=E*I_o; printf("\npower supplied to the battery=%.2f W",P);
I_or=sqrt((1/(2*%pi*R^2))*((V^2+E^2)*(%pi-2*th1*%pi/180)+V^2*sind(2*th1)-4*... |
2bbbced860d11efe139b281f1ad1eea09cebe008 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH3/EX3.2/example3_2.sce | a1e5228bd8ee705d6cdfe6b816d2320915f0ed3c | [] | 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 | 249 | sce | example3_2.sce | //Chapter 3
//Example 3_2
//Page 50
clear;
clc;
cl = 43;
max_dem = 20;
ugpa = 61.5e6;
//Demand factor and load factor
printf("Demand factor = %.3f \n\n", max_dem/cl);
avg_dem = ugpa/8760;
printf("Load facor = %.3f \n\n", avg_dem/max_dem/1000);
|
deafcd74fb824d06ba09bbe4d62b5806b47f2d54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH2/EX2.40/40.sci | e499875edb94f13e7af1a0fa6693fcea18460c08 | [] | 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 | 695 | sci | 40.sci | clc;
clear all;
disp("heat loss per hour")
r1=120;//mm
r2=r1+50;//mm
r3=r2+40;//mm
kA=0.092;//W/(m*C)
kB=0.062;//W/(m*C)
t1=390;// degree C
t3=40;// degree C
L=210;//m
Q1=2*3.1416*L*(t1-t3)/((log(r2/r1))/kA+(log (r3/r2))/kB);
Q=(3600/1000)*2*3.1416*L*(t1-t3)/((log(r2/r1))/kA+(log (r3/r2))/kB);
disp("kJ/hr... |
52eb377dd8386f8533d9433ec207b486db8c6dee | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH21/EX21.3/21_3.sce | 828ad6d5df6b1dcdc2d9fb1c18d56ee605fa7dff | [] | 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 | 220 | sce | 21_3.sce | //Displacement
//After 0.5 sec
theta=5.236*0.5*(180/%pi)
//displacement
x=0.75*sind(150) //m
//Velocity
vx=0.75*5.236*cosd(150)
ax=0.375*5.236^2 //m/sec^2
printf("\nx=%.3f m\nvx=%.3f m/sec\nax=%.2f ",x,vx,ax)
|
b28b04f07cd70b1a867b04362a3307398139d342 | be35183e2fd48561f563e50c0c2f08b90f2f4165 | /TestRobustQueue.tst | 9f0bc3c866fc2cb519467f2ab2a18dc37f3a6292 | [] | no_license | AntonLangbruttig/-This-is-generic-queue-implemented-with-a-doubly-linked-list-and-a-dummy-node | a75664c2eeb7256d959f4e3cd2def5d3cf4c9c5a | 33c872a722fe98fac9c0ea0f8a31bdf0b9c73faa | refs/heads/master | 2022-06-18T09:16:44.387524 | 2020-05-06T23:04:40 | 2020-05-06T23:04:40 | 261,898,262 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | tst | TestRobustQueue.tst | 123802754="A"
20428308="null"
1967447783="NoSuchElementException"
746722821="B"
1763260561="hello"
2093075176="hello"
537350955="NoSuchElementException"
1438260821="C"
2073941131="true"
1998051885="null"
1178238337="true"
80770157="bye"
1816796532="A"
|
b9dade58a2a2a0ed92b47334bca75b5cb2c4561e | d7a056f7e779c06503c5150b473867e19284f884 | /programs/bec_wigner_3d.cuda/wigner.sci | 79783d8e0c6b3a481cd86c45ee1611f746c9f59b | [] | no_license | fjarri-attic/bec | a8404db3f64d7c857d57932dd4d79ce1ed38445f | 9d62c72decbc76ddd02005f6a0c554e806e8a6aa | refs/heads/master | 2020-12-24T15:41:29.248656 | 2010-07-20T03:27:49 | 2010-07-20T03:27:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sci | wigner.sci | plot1 = fscanfMat('plot_tf.txt');
plot2 = fscanfMat('plot_gs.txt');
plot3 = fscanfMat('plot_plain.txt');
fs = 4;
scf(1);
plot(plot1(:, 1), plot1(:, 2), '-');
plot(plot2(:, 1), plot2(:, 2), '--');
plot(plot3(:, 1), plot3(:, 2), '-.'); |
a4e5a9d259ab46c9f3c6c553480b89df6d3e1eeb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2621/CH7/EX7.3/Ex7_3.sce | 77c6b9cb806c18b5e9476501e4124137fddf855d | [] | 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 | Ex7_3.sce | // Example 7.3
clc;
clear;
close;
// Given data
format('v',7);
f_H= 1*10^3;//cut-off frequency in Hz
C= 0.0047*10^-6;// in F
R= 1/(2*%pi*f_H*C);// in Ω
R= (R*10^-3);// in kΩ
R1= 30;// in kΩ (assume)
Rf= 0.586*R1;// in kΩ
C= C*10^6;// in µF
disp("The value of R''= R= "+string(R)+" kΩ (standard value 33 kΩ)"... |
dbc6c6b721a2a11706b369cd80293f8ec0d9131e | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH3/EX3.9/3_9.sce | cd3f1272df8ec89a6dd5f9d35086063cc2233fe4 | [] | 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,603 | sce | 3_9.sce | clear;
clc;
//Example - 3.9
//Page number - 93
printf("Example - 3.9 and Page number - 93\n\n");
//Given
m_ice = 1000;//[g] - Mass of ice
m_water = 1000;//[g] - Mass of water
T_ice = 273.15;//[K] - Temperature of ice
T_water = 373.15;//[K] - Temperature of water
L = 79.71;//[cal/g] - Latent heat of meltin... |
ae7cc80d0f9c726e93eb6e0c54a829380e7ff32a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH7/EX7.1/Ex7_1.sce | e2f3bc290a7e4c07649f28f95af85f89a303e8ad | [] | 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 | 368 | sce | Ex7_1.sce |
clc
//initialisation of variables
p2=150//lbf/in^2
v=20 //f
h1=79.385 //lbf/in^2
g=144//in^2/ft^3
T=778//F
p=35.736//lbf/in^2
s1=0.16719 //btu/lbm-R
T2=122.9 //F
h2=90.330 //lbf/in^2
v2=0.28270 //Btu/lbm
//CALCULATIONS
u1=h1-(p*g*1.0988/T)//Btu/lbmu
u2=h2-(p2*g*v2/T//Btu/lbm
W=u1-u2 //Btu/lbm
//RESULT... |
0f5682a94a1af24a3c8abf31e62ca605e0c21ccb | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH12/EX12.8/sadiku_12_8.sce | 462d63fda414075a48805c78cc04c8b8a4749c3b | [] | 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 | 212 | sce | sadiku_12_8.sce | clear;
clc;
a=5*10^-2,b=4*10^-2,c=10*10^-2,C=5.8*10^7,Uo=4*%pi*10^-7;
f101=3.335*10^9;
d=sqrt(1/(%pi*f101*Uo*C));
Q=(a*a+c*c)*a*b*c/(d*(2*b*(a^3 + c^3)+a*c*(a*a+c*c)));
disp(Q,'Quality factor of TE101 = '); |
6d76c294abb8df4f6c14d09a20806710970822d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2627/CH1/EX1.2/Ex1_2.sce | acb1791ecad36ad7375369722a191181ddb4c9bd | [] | 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 | 294 | sce | Ex1_2.sce | //Ex 1.2
clc;clear;close;
format('v',5);
I=1.5;//A
R1=2;//ohm
R2=3;//ohm
R3=8;//ohm
V1=I*R1;//V
V2=I*R2;//V
V3=I*R3;//V
disp(V1,"Voltage across R1(V)");
disp(V2,"Voltage across R2(V)");
disp(V3,"Voltage across R3(V)");
V=V1+V2+V3;//V(Supply voltage)
disp(V,"Supply Voltage(V)");
|
d51f1ebf17d5992543126b665cd1aa8df6403f24 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH17/EX17.13/Ex17_13.sce | 7bc16f629c620801124937a86aa8c9ebdd663ebf | [] | 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 | 96 | sce | Ex17_13.sce | clc;
XL=3160;
Rw=25;
Q=XL/Rw;
disp(' ',Q,"Q=");//The answers vary due to round off error
|
98459e448ae11bf658e2fed6d8266cae9d504041 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH16/EX16.4/Ch16Ex4.sci | 8b7336f3996e9abbb39517c8edda3d0ed9d8b586 | [] | 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 | 981 | sci | Ch16Ex4.sci | // Scilab Code Ex16.4 Behaviour of paramagnetic salt when placed in uniform magnetic field: Page-514 (2010)
k = 1.38e-023; // Boltzmann constant, joule per mole per kelvin
T = 300; // Thermal energy of specimen, joule
mu_B = 9.27e-024; // Bohr's magneton, ampere per metre square
mu_0 = 4*%pi*1e-07; // M... |
d4ca858e8baeda68cd915c3f685c4337ae9b7b15 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/SURPRISE-LANGUAGES/Indo-Aryan/hin.tst | 2fb3f53fa82583379cb1d3e16cbddbba52b9b1a3 | [] | 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 | 438,158 | tst | hin.tst | रोना V;PROG;MASC;SG;2;LGSPEC3
तैरना V;HAB;MASC;SG;3;LGSPEC3
मिटना V;PRF;FEM;PL;3;LGSPEC4
लौटना V;PRF;FEM;SBJV;SG;2
उठना V;PRF;FEM;PL;1;LGSPEC3
बरसना V;PROG;MASC;PL;1;LGSPEC4
लड़ना V;PROG;MASC;SG;3;LGSPEC4
भागना V;PRF;FEM;PL;2;PST
मुड़ना V;HAB;FEM;SG;2;PRS
बेचना V;HAB;FEM;SBJV;SG;1
घूमना V;PRF;MASC;SBJV;PL;2
प्राप्त करन... |
02db4a52bf2f1edf395f9e54b8c31226d7630917 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH10/EX10.5/10_5.sce | 63b2ca755bb87ccc8c1e1216dd54cd8ee8baf26b | [] | 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 | 916 | sce | 10_5.sce | clc
clear
//Input data
T2=298;//Maximum temperature at which CO2 machine works in K
T1=268;//Minimum temperature at which CO2 machine works in K
sf1=-0.042;//Liquid entropy at 268 K in kJ/kg K
hfg1=245.3;//Latent heat of gas at 268 K in kJ/kg
sf2=0.251;//Liquid entropy in kJ/kg K
hfg2=121.4;//Latent heat of gas... |
135e959cfa55f92a29d9e249c391e6cbdc0cfe71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH11/EX11.1/11_1.sce | 2070edfe36c498c6d6cd59b58c96db3726fbdbbe | [] | 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 | 11_1.sce | //To find speed of shaft
clc
//Given:
N1=150 //rpm
d1=750, d2=450, d3=900, d4=150 //mm
//Solution:
//Calculating the speed of the dynamo shaft when there is no slip
N41=N1*(d1*d3)/(d2*d4) //rpm
//Calculating the speed of the dynamo shaft whne there is a slip of 2% at each drive
s1=2, s2=2 //%
N42=N1*(d1*d3)/(... |
4a092ca5200b94bd9e56b6f8dcf66b0c9ff49d7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /137/CH2/EX2.6e/prob_2_6e.sce | 7326ad5c6f38fa55968adcd17e7d4ba54b06cf2c | [] | 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 | 471 | sce | prob_2_6e.sce | clc;
//Assuming SI units for all quantities
//given signal is x(t)=1
//energy of signal x(t)
t0=0;t1=5;
x=1;
y=integrate('x^2','t',t0,t1);
disp(+'joule',y,'energy of signal x(t)=');
//to find correlation coefficient we have to calculate the energies of different given signals
e5=integrate('((%e)^(-t))^2','t',t0,t1);
d... |
56082acadbdd7358f5fd269ea6fc0143ce540a92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH8/EX8.6/8_6.sce | ae81af6c60653312b50f7b927cf49d21f318921d | [] | 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 | 276 | sce | 8_6.sce | clc
//initialisation of variables
h1=176.48 //under -25 degrees temp in kj/kg
h2=215.17 //kj/kg
h4=74.59 //kj/kg
//CALCULATIONS
re=h1-h4
w=h2-h1
cop=re/w
//RESULTS
printf('the refrigeration effect is %2fkj/kg',re)
printf('\ncoefficient of performance is %2f',cop)
|
716b417a1d2073bb79be6ba8832eec670ea4cd0c | 449d555969bfd7befe906877abab098c6e63a0e8 | /710/CH10/EX10.11/10_11.sci | 16e109520293c746c38cfb2797c94489c9c6d907 | [] | 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 | sci | 10_11.sci | clc();
clear;
//To determine the length of a box
h=6.626*10^-34; //plancks constant
n=3; //for second excited state
m=1.67*10^-27; //mass of proton
E=0.5; //energy ... |
078b2af63201cbe8ea86c44f4fa3b1bacee627b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3159/CH6/EX6.5/Ex6_5.sce | d826d7121acffeaff7fcbc42ea7f4af09cf15629 | [] | 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 | 601 | sce | Ex6_5.sce | // Calculate surface energy of copper crystal of type {111}
clc
E = 56.4 // bond energy in KJ
N_a = 6.023e23 // Avogadro’s number
n = 12 // number of bonds
m = 3 // number of broken bonds
N = 1.77e19 // number of atoms in copper crystal of type {111} per m^2
printf("\n Example 6.5")
b_e = 1/2*E*1e3*n/N_a // bo... |
11ad04c97de2bdc260a00afa484f627d3dfc0fb1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH6/EX6.19/Ex6_19.sce | 676c0b650ab6ebb9551ef4ff93be831421e4f8d8 | [] | 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 | 309 | sce | Ex6_19.sce | clc;
Te=200;
s=0.04;
c=4; //given multiplying factor of leakage reactance
//3V*V=a*WS
a=Te*s*(((1+(1/s))*(1+(1/s)))+((c+c)*(c+c)));
Test=a*(1/((1+1)*(1+1)+(c+c)*(c+c)));
Tem=a*(1/2)*(1/(1+sqrt((1)*(1)+(c+c)*(c+c))));
mprintf('The starting torque is %f Nm \n The maximun Torque is %f Nm',Test,Tem);
|
a3efda50ae32ae3681aa787075a61e1e7633c34d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH5/EX5.6/Chapter5_Example6.sce | 6bde597d9da066767950dcc50da5a50b554dd2ed | [] | 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,036 | sce | Chapter5_Example6.sce | //Chapter-5, Illustration 6, Page 254
//Title: Air Compressors
//=============================================================================
clc
clear
//INPUT DATA
D=0.2;//Bore in m
L=0.3;//Stroke in m
r=0.05;//Ratio of clearance volume to stroke volume
P1=1;//Pressure at point 1 in bar
T1=293;//Temperatu... |
ec1f3ba75e7b53b2771a1ac655a53a3db5703336 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3745/CH1/EX1.21/Ex1_21.sce | a1f3043e515e8a2510c4378c0cf0b47239592c3b | [] | 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 | 690 | sce | Ex1_21.sce | // Ex 21 Page 363
clc;clear;close;
// Given
fc=25*10**6;//Hz
fm=400;//Hz
Vm=4;//V
del=10*10**3;//Hz
wc=2*%pi*fc;//rad/s
wm=2*%pi*fm;//rad/s
m=del/fm;//modulation index
mf=m;mp=m;//modulation index
printf("General equation of FM wave is:")
printf("\n v=%d*sin(%.2e*t+%d*sin(%d*t)",Vm,wc,mf,wm)
printf("\n\n General equat... |
96427dab12075bf4ca151610c2a9b68253a83d8f | 725517259e3eea555ad0f79d421792c632bc4655 | /workspace/testBaptiste.sce | 9b2c148ae828acdee13920fa982b5701bac2b4c9 | [] | no_license | Exia-epickiwi/exolife | 58b8a72aa397c5d3df8dc6f61730b3b2b217740e | b1bdb3ec2adb92c0fc8c546c9bd56a654523bd22 | refs/heads/master | 2020-05-25T14:05:45.795829 | 2017-03-20T09:26:15 | 2017-03-20T09:26:15 | 84,937,674 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | testBaptiste.sce | //Load scripts from folder
funcprot(0)
getd("../scripts");
//Global variables
imgPos = "../images/"; //The position of the source images
renderPos = "render/"; //The folder where the render images will be saved
//Load image
imgin = readpbm(imgPos+"Earth.pbm");
//Assign a "seuillage" filter to the image
imgout=seuil... |
6ba2b7d12c7bc1fe3c914ff33598850f5c9df390 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2777/CH3/EX3.4/Ex3_4.sce | 337d1dc6c49e6efb6d7d11af3db31c6d244258ea | [] | 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 | 755 | sce | Ex3_4.sce |
// ELECTRICAL MACHINES
// R.K.Srivastava
// First Impression 2011
// CENGAGE LEARNING INDIA PVT. LTD
// CHAPTER : 3 : TRANSFORMERS
// EXAMPLE : 3.4
clear ; clc ; close ; // Clear the work space and console
// GIVEN DATA
S = 1.5; // Transformer Rating in KVA
E1 = 220; ... |
cb1f543c04740ac53896bfcd04babdadcc965fe1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3831/CH1/EX1.5/Ex1_5.sce | 817f351d91da0e23d9d49bfb13bb4ed6ac7c7d58 | [] | 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_5.sce | // Example 1_5
clc;funcprot(0);
// Given data
D=0.07;// The diameter in m
R=D/2;// The radius in m
h=0.15;// The height in m
L=(3/4)*h;// m
rho=1000;// The density in kg/m^3
M=18;// kg/kg mole
// Calculation
m=(%pi*R^2*L)*rho;// The mass of water in the glass in kg
n=m/M;// The number of moles in kg moles
... |
fbad4b6d86eeea7d5555fa1b9d3d4fd029f0eac8 | 009e6209a86f0838f0faca8a33b2c162e5d1a7a6 | /src/scripts/particionUniforme.sce | 440ec011fa2f658723a1a8d91738785a57df9bf4 | [] | no_license | MoisesU/MESO-MetodosNumericos | 90a62a31e3213c50dec55228ceca7ce034cfbb7c | 17fe0efa1690ac93f36799a12a9f9c99f1ab94a4 | refs/heads/main | 2023-06-02T05:51:03.641326 | 2021-06-20T03:18:17 | 2021-06-20T03:18:17 | 306,203,044 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | particionUniforme.sce | function [res, tab] = particionUniforme(f, a, b, rect)
h = (b - a)/rect
tab = []
x = a
res = 0
for i=1:1:rect
tab(1, i) = x;
tab(2, i) = f(x);
x = x + h;
res = res + tab(2, i);
end
res = res * h;
endfunction
|
791bc987d078079a686d66406c105722ae2fdf78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH7/EX7.6/example7_6.sce | 9b6b4a40d16da419a17c48613fce1abcfb384326 | [] | 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 | 245 | sce | example7_6.sce | //clc()
Ps = 100;//kPa
A1 = 13.8587;//(1 = n-heptane)
A2 = 13.8216;//(2 = n-hexane)
B1 = 2911.32;
B2 = 2697.55;
C1 = 56.51;
C2 = 48.78;
//lnPs = A - B / ( T - C)
T1 = B1 / (-log(Ps)+A1) + C1;
T2 = B2 / (-log(Ps)+A2) + C2;
x2 = 0.25;
|
8ec28595d289e01a8b730b5602ce2f659a5e8d92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH19/EX19.9/19_9.sce | 1fc071b502a4743e7c54a3c496b3484aed30e2e1 | [] | 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 | 85 | sce | 19_9.sce | clc;
clear;
old=5000;
bank=200;
new=old-bank;
mprintf("new fault =%dMVA",new);
|
f094e0489cb83f8b77cb9922e8db067cd3e06c8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/22_2data.sci | 9103ea8b93c637db043b4d9dfb59a1be88fc8214 | [] | 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 | 200 | sci | 22_2data.sci | A=100;//cross sectional area of a stringer
r=381;//radius of the fuselage,given in mm
t=0.8;//thickness,given in mm
Sy=100*10^3;//given in N
d=150;//distence of action of load from center,given in mm
|
b67783d013511ec037cdf4a9affcbdadf158988f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1967/CH9/EX9.1/9_1.sce | 1e9b979df07a98601673df6f95ed69f795ffe229 | [] | 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 | 225 | sce | 9_1.sce | clc
//initialisation of variables
clear
w= 35.46 //gms
T= 298.2 //K
Qc= 4.03
//CALCULATIONS
S= 4.576*(1.5*log10(w)+2.5*log10(T)+log10(Qc)-0.5055)
//RESULTS
printf ('Standard entropy = %.1f cal deg^-1 g atom^-1',S)
|
4b97942eb65d19892421d464b8b6ac003bb62ba1 | 952f05b9b2293792559cddaf7ee402ccc22b0b8d | /icclim/test-cases/test-cases-read-the-docs/read-the-docs-example-06.tst | 084ffdb008d4a262992e56713ff09b4812635cf9 | [
"Apache-2.0"
] | permissive | ptrgast/icclim | a5c768bde9f5ce0562ef8250262ca1d70213c461 | 1c43cc7fc5d779f04fb72361a80bde3b232a9580 | refs/heads/master | 2020-05-18T18:44:15.153378 | 2020-02-04T07:46:40 | 2020-02-04T07:46:40 | 184,594,303 | 0 | 0 | NOASSERTION | 2020-02-04T07:46:41 | 2019-05-02T14:19:16 | Python | UTF-8 | Scilab | false | false | 616 | tst | read-the-docs-example-06.tst | [Read-the-docs-example-6] # Read the docs - example 6
user_indice: {'indice_name': 'my_indice', 'calc_operation': 'min','logical_operation': 'gt', 'thresh': 273.15, 'date_event': True}
in_files: ['tas_day_MPI-ESM-LR_historical_r1i1p1_19500101-19591231.nc', 'tas_day_MPI-ESM-LR_historical_r1i1p1_19600101-19691231.nc', 't... |
748e209a4204643d040f8826e90e2da11986585f | a8592d34f144b71794ebf30f1c2a1b5faf0b053c | /TugasBesar2018/ode_euler_PC.sce | 9ff1600864912937766a13860966ee20b7c4a134 | [] | no_license | f-fathurrahman/ffr-MetodeNumerik | ee9a6a7153b174b1ba3d714fe61ccbd1cb1dd327 | e3a9da224c0fd5b32e671708e890018a3c4104c4 | refs/heads/master | 2023-07-19T22:29:38.810143 | 2023-07-07T10:02:34 | 2023-07-07T10:02:34 | 107,272,110 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | ode_euler_PC.sce | function [t,y] = ode_euler_PC(f,tspan,y0,N)
if (~exists("N", "local")) | (N <= 0)
N = 100
end
if ~exists("tspan","local")
y0 = 0
end
h = (tspan(2) - tspan(1))/N
t = tspan(1) + [0:N]'*h
// check y0, transpose if needed
if size(y0,1) ~= 1
if size(y0,2) > 1
y0 = y0'
end
... |
00a6b8b07550d969c0a04fcd59659050cb10b822 | eed3040703f502a22b0b3e30704776a6851a751e | /online-judges/Project-Euler/PE101/fscript.sce | 11e51a560e34fa2021db3ae9801274d486cab44d | [] | no_license | velazqua/competitive-programming | a6b5fcc8a9169de43d1f6f1fbf3ed2241749ccfc | cf8cda1132a5791917f4861f313b8098934f3c6b | refs/heads/master | 2021-01-01T16:20:11.103309 | 2014-03-02T03:45:44 | 2014-03-02T03:45:44 | 12,732,139 | 1 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sce | fscript.sce | s=[0:1:9];
a = 1^s; a=a($:-1:1);
b = 2^s; b=b($:-1:1);
c = 3^s; c=c($:-1:1);
d = 4^s; d=d($:-1:1);
e = 5^s; e=e($:-1:1);
f = 6^s; f=f($:-1:1);
g = 7^s; g=g($:-1:1);
h = 8^s; h=h($:-1:1);
i = 9^s; i=i($:-1:1);
j = 10^s; j=j($:-1:1);
a
b
c
d
e
f
g
h
i
j
//A3 = [a3; b3; c3];
//AA = A3(1:2,$-1:$);
//B3 = ([1:1:3]^3)'
//BB ... |
be9441e566e8d3687992864ef2b9952400147111 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH1/EX1.15/Signals_Ex_1_15.sce | eac8a0267d76b32e5cfdd64abacc6c59de1d9f61 | [] | 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 | 454 | sce | Signals_Ex_1_15.sce | clc
//Chapter 1
//Ex1.12, page no 43
//Given
mprintf('The given function is:\n f(t)=exp(j*wo*t) (for -inf<t<inf)\n')// Displaying the given function
disp('exp(j*wo*t)= cos(wo*t)+j*sin(wo*t)')
disp('F[exp(j*wo*t)]=F[cos(wo*t)]+F[j*sin(wo*t)]')
disp('f[exp(j*wo*t)]=pi*[d(w-wo)+d(w+wo)-d(w+wo)+d(w-wo)]')
disp('the... |
1cad8d240e81c53eee93f0065e64e7197c6ffc44 | df924acfdd5b043da9336a2276726dbfb655735a | /test_suite/dftmpfun.tst | bdb63cc84c473ed299584349d9b8d7e4cf7e8f84 | [] | no_license | noxdafox/clips | b8fb280223b5aae615e427bf1f31c03cb932b09d | a2c548b69394f0e2cf7c6d583810b6a29a662ae1 | refs/heads/master | 2023-09-01T18:52:07.614807 | 2021-12-14T20:10:21 | 2021-12-14T20:10:21 | 95,596,886 | 11 | 10 | null | null | null | null | UTF-8 | Scilab | false | false | 338 | tst | dftmpfun.tst | (unwatch all)
(clear)
(setgen 1)
(dribble-on "Actual//dftmpfun.out")
(batch "dftmpfun.bat")
(dribble-off)
(clear)
(open "Results//dftmpfun.rsl" dftmpfun "w")
(load "compline.clp")
(printout dftmpfun "dftmpfun.bat differences are as follows:" crlf)
(compare-files "Expected//dftmpfun.out" "Actual//dftmpfun.out" dftmpfun)... |
e23d518ae605379a2cb1625808a3a6e898304497 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH2/EX2.20/Exa2_20.sce | b3f8271b9f3ee290682f1c308b8ef745231d33b8 | [] | 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 | 682 | sce | Exa2_20.sce | //Exa 2.20
clc;
clear;
close;
//Given data :
N=742;//No. of guided modes(unitless)
n1=1.5;//unitlessnm
alfa=2;//characteristic index profile
NA=0.3;//unitless
d=70;//in um
a=d/2;//in um
alfa=2;//Graded index profile for parabolic
//Formula : N=(alfa/(alfa+2))/(v^2/2)
v=sqrt(N*((alfa+2)/alfa)*2);//Unitless
... |
ed92f3d73c5f45adf11d6a810c24ce19a66eb98f | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.3_10.tst | 57875ce23133f47e480af20bedce9fae57159600 | [] | 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 | 8,160 | tst | bow.3_10.tst | 3 14:0.027777777777777776 255:1.0 751:1.0
3 5:0.3333333333333333 13:1.0 14:0.08333333333333333 28:1.0 35:2.0 36:0.06666666666666667 43:0.125 58:0.14285714285714285 72:0.3333333333333333 79:0.09090909090909091 97:1.0 107:0.5 128:0.25 160:1.0 190:2.0 208:1.0 378:1.0 517:1.0 538:1.0 564:0.3333333333333333 649:1.0 669:1.0 ... |
1a3cbcd311befbd13bc2446c7c55cccbc48303a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH7/EX7.13/Ex7_13.sce | 8cd772783a3d0f186b4509fa5df30e74c550188f | [] | 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,056 | sce | Ex7_13.sce | // chapter 7 example 13
//-----------------------------------------------------------------------------
clc;
clear;
// given data
f = 60*10^6; // frequency in Hz
c = 3*10^8 // velocity of EM wave in m/s
// Calculations
lamda = c/f; // wavelength in m
l_dipole= lamda/2 ... |
1b3ea5df43f2a458a7c9c9412f4679139fd13880 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH15/EX15.3/Chapter15_example3.sce | b9f095cf8487ef6a1cc27c07fe842d525d50061d | [] | 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 | 555 | sce | Chapter15_example3.sce | clc
clear
v=(4*10^5)//Velocity of the positively charged particle in m/s
E=300//Intensity of electric field in N/C
e=(1.6*10^-19)//Charge of the positively charged particle in C
m=(1.67*10^-27)//Mass of the positively charged particle in kg
q=35//Angle made by the particle in degrees
//Calculations
t=((v*sind... |
6f3e31447d59d57110c73c4d6c076b165b00295c | d1ef62f183cfed612d1834fb3036701674df4ac0 | /sce/scene2.sce | 8952eeaf0cdc50e72127f30b586f07c8e1dcb686 | [] | no_license | vverovvero/cs490sp | 7f0b34c01c3b262e221ea7c58d20dfc34bc13c0c | a4d7a718d04b67fe96caab862893a7e3c25f1098 | refs/heads/master | 2021-01-22T05:43:26.044250 | 2017-05-02T19:21:43 | 2017-05-02T19:21:43 | 81,696,744 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,985 | sce | scene2.sce | CAMERA Point(50, 50, 200) LookAt(50, 25, 0) FOV(60) Up(UP)
LIGHT Type(OMNI) Point(50, 95, 50) Color(155, 155, 155)
LIGHT Type(OMNI) Point(5, 95, 100) Color(255, 220, 200)
LIGHT Type(OMNI) Point(95, 5, 100) Color(50, 50, 100)
MATERIAL Color(255, 255, 255) Type(ORIGINAL) Metal(0) Specular(0) Lambert(0.85) Ambient(0.05)... |
2b5746a54647b95f2b3b41d6fa2d1ef95b653bf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH9/EX9.7.2/9_7_2.sce | 8e9aa0a8f6bd196c2698234aac14d3a551dcbe34 | [] | 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 | 405 | sce | 9_7_2.sce | //Transport Processes and Seperation Process Principles
//Chapter 9
//Example 9.7-2
//Drying of Process Materials
//given data
X=(1/1000)*[195 150 100 65 50 40]
R=0.01*[151 121 90 71 37 27]
Rinv=[]
for i=1:6
Rinv(i)=1/R(1,i);
end
v=inttrap(X,Rinv)
X1=0.38;
XC=0.195;
X2=0.040;
Rc=1.51;
A=18.5... |
52cd1c083665b8babce67eba87642224131d5437 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH9/EX9.6/9_6.sce | 76bc22646a5c68422c0a4d7290d399088f5cdaff | [] | 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 | 134 | sce | 9_6.sce | clc
//initialisation of variables
r=4
//CALCULATIONS
w=log(r)
//results
printf(' change in entropy = % 1f R/J cal for each',w)
|
3650159ee5ee06e544e026db906a6aeddbb8fe9c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH11/EX11.11/Ex11_11.sce | 97928507e4e7b566cb51e57702d6f246ec8b4174 | [] | 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 | 177 | sce | Ex11_11.sce | //chapter11
//example11.11
//page210
V_Rc=1
gain_beta=45
Rc=1 // kilo ohm
Ic=V_Rc/Rc
//since gain_beta=Ic/Ib
Ib=Ic/gain_beta
printf("base current = %.3f mA",Ib)
|
469af0964c3321c83e5b8ba6bbe774cd93053f98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1757/CH5/EX5.6/EX5_6.sce | 35775080efd27f88568f7aa760fdbebd5828b7c6 | [] | 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 | 456 | sce | EX5_6.sce | //Example5.6 // find the input offset current of an op-amp circuit
clc;
clear;
close;
Vo = 12*10^-3; // V // output voltage
R1 = 2*10^3 ; // ohm // input resistence
R2 = 150*10^3; // ohm // feedback resistence
// the output voltage (Vo) of an op-amp circuit due to input offset current (Ios) is
// Vo = R2*... |
52cac97a226a516512b59b5c7550e7f9b339cbef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH1/EX1.39/Exa_1_39.sce | 5e4b955683f4c182a2a25950baf3145d8afbffea | [] | 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 | 247 | sce | Exa_1_39.sce | //Exa 1.39
clc;
clear;
close;
format('v',7);
//Given Data :
V=0.01653;//m^3
m=5.6;//Kg
M=28;//Kg/Kgmol
p=200;//bar
Z=0.605;
Rdash=8314.3;//J/Kgk
R=Rdash/M;//J/Kgk
//p*V=m*Z*R*T
T=p*10^5*V/m/Z/R;//K
disp(T,"Temperature in K : ");
|
4bdb12a53535fa43a3bbe239e5446c944300bd59 | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH7/EX7.1/Example7_1.sce | 43373c23a578cb63d1ed8e768f9bedc268367b63 | [] | 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 | 464 | sce | Example7_1.sce | clear;
clc;
// Illustration 7.1
// Page: 222
printf('Illustration 7.1 - Page: 222\n\n');
// Solution
// ****Data****//
Temp1 = 273+26.1;// [K]
P1 = 100;// [mm Hg]
Temp2 = 273+60.6;// [K]
P2 = 400;// [mm Hg]
P = 200;// [mm Hg]
//*****//
deff('[y] = f12(T)','y = ((1/Temp1)-(1/T))/((1/Temp1)-(1/Temp... |
510e66ffa0da618a526b501e5eafa07474028d8c | 5bc3a272ac3972765259062ed2c4abd8ac31eb84 | /EE 324 controls lab/lab2/q3.sce | 07f9095b6409830f3808a795adbebb6ebcfaba2c | [] | no_license | ishan-2404/Duaon-mei-yaad-rakhna-XD | 51a268cb15695d78a1bd086d958f402fe6ee093d | bf702ac84c18f7d677a35f9f850e3bfb63a32625 | refs/heads/main | 2023-07-13T17:10:57.650902 | 2021-08-14T07:06:22 | 2021-08-14T07:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 681 | sce | q3.sce | s = poly (0 , 's') ;
G1 = 2/( s +2) ;
G1 = syslin ('c', G1 ) ;
G2 = 1/( s ^2 + 10* s + 1) ;
G2 = syslin ('c', G2 ) ;
t = 0:0.003:45;
y1 = csim ('step', t , G1 ) ;
y2 = csim ('step', t , G2 ) ;
plot2d (t , [y1',y2']) ;
legend([ 'first order'; 'second order'] ) ;
xlabel ('Time (in secs )') ;
ylabel... |
e65583b3b15a3282e2de329b9e598062d482bf9b | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PG26IE.prev.tst | 37d27854175baaf6eaccf9925618e2c75fe6c949 | [
"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 | 59,508 | tst | PG26IE.prev.tst | [[16,16,3],[0,8,4],[16,16,5]] [35,12,37] [99,20,101] [195,28,197] [323,36,325] [483,44,485] [675,52,677] [899,60,901] [1155,68,1157] [1443,76,1445] [1763,84,1765] [2115,92,2117] [2499,100,2501] [2915,108,2917] [3363,116,3365] [3843,124,3845]
[[-16,16,-3],[0,8,-4],[-16,16,-5]] [-3,4,-5] [-35,12,-37] [-99,20,-101] [-195... |
501c14b1531846e298ba07d7957eb303a105fb38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH8/EX8.9/Ex8_9.sce | f202b7fa09d42d25bf8caa2b9e32923852a08e12 | [] | 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 | 854 | sce | Ex8_9.sce | clear;
clc;
//Example 8.9
Iso=3*10^-14;
Isq=10^-13;
b=75;
Vt=0.026;
Rl=8;
P=5;
Vp=sqrt(2*Rl*P);
printf('\npeak voltage Vp=%.2f V\n',Vp)
Vcc=Vp/0.8;
printf('\nsupply voltage=%.2f V\n',Vcc)
Ien=Vp/Rl;
printf('\nemitter current=%.3f A\n',Ien)
Ibn=Ien/(1+b);
Ibn=Ibn*1000;//mA
printf('\nbase current=%.2f mA... |
4589f320cd8d7fe25792bf3c6f4d602050c2c597 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH10/EX10.1/Ex10_1.sce | 5b19b9c571898658ef95f955ab5c8c8ee5b2f051 | [] | 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 | 990 | sce | Ex10_1.sce |
// Theory and Problems of Thermodynamics
// Chapter 10
// Chemical Thermodynamics
// Example 1
clear ;clc;
//Given data
// Combustion Reaction
// C2H2 + 2.5*O2 + 3.76*2.5*N2 => 2*CO2 + H2O + 9.4*N2
afr1 = (2.5+3.76*2.5)/1 // air fuel ratio = (O2+N2)/C2H2
M_C2H2 = 26;
M_air = 28.67;
a... |
05e68730d1ad72b452ea4669f4a4a2e8a59ac480 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH9/EX9.5/9_5.sce | 90d7516b99093abcb7bb56cb94a9d4babfd608fe | [] | 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 | 557 | sce | 9_5.sce | clc
//initialisation of variables
BeamB= 200 //mm
BeamH= 200 //mm
BeamT= 20 //mm
BeamT2= 20 //mm
sigmaxtop= 150 //N/mm^2
sigmaxbottom= -150 //N/mm^2
//CALCULATIONS
y= ((BeamB*BeamT*BeamT/2)+(BeamH*BeamT2*((BeamH/2)+BeamT)))/(BeamB*BeamT+BeamH*BeamT2)
Iz= ((BeamB*(y^3))/3)-(((BeamB-BeamT2)*(y-BeamT)^3)/3)+(Bea... |
8795decf8d0d65468e5243194d0f5416ad2c039f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1892/CH1/EX1.58/Example1_58.sce | 5ecdd8af4672b3348ad873ac8feacd77aba6152f | [] | 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 | Example1_58.sce | // Example 1.58
clear; clc; close;
format('v',7);
// Given data
IscByIfl=3*180/100;//ratio
TstByTfl=0.35;//ratio
X=80/100;//tapping
//Calculations
//Formula : TstByTfl=1/3*(IscByIfl^2)*Sfl
Sfl=TstByTfl/IscByIfl^2*3;//slip at full load
IstByIsc=X^2;//ratio
IstByIfl=IstByIsc*IscByIfl;//ratio
disp("Star... |
fe59977529cd43d13bc50f0838739e6be58d731b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3872/CH12/EX12.3/Ex12_3.sce | 7b71197abc7967bf03cc7fe8b6780af3d74b9663 | [] | 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 | Ex12_3.sce | //Book - Power System: Analysis & Design 5th Edition
//Authors - J. Duncan Glover, Mulukutla S. Sarma, and Thomas J. Overbye
//Chapter - 12 ; Example 12.3
//Scilab Version - 6.0.0 ; OS - Windows
clc;
clear;
M=500; //MVA rating of the generator
f=60; //requency in Hertz
R=0.05; ... |
b27ce0be4828ec8cf849ab5daf1f665384fc8f85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH9/EX9.4/Ch09Ex4.sce | e2b76c7cda2ad4b56f879aeedc910d4b0908dae8 | [] | 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 | 452 | sce | Ch09Ex4.sce | // Scilab Code Ex9.4 Page:280 (2006)
clc;clear;
e = 1.6e-019; // Energy equivalent of 1 eV, J/eV
E_g = 3.4e-04; // Energy gap of aluminium, eV
v_F = 2.02e+08; // Fermi velocity of aluminium, cm/sec
h_bar = 1.05e-034; // Planck's constant
L = h_bar*v_F/(2*E_g*e); // Coherence Length of aluminium, cm
... |
d36ac7101059729f78227d1dfdb9c521accc3816 | 449d555969bfd7befe906877abab098c6e63a0e8 | /572/CH14/EX14.9/c14_9.sce | 6e1cac4740b210ace37d3664b16667ea0f763070 | [] | 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 | 998 | sce | c14_9.sce | //(14.9) As a result of heating, a system consisting initially of 1 kmol of CO2,.5 kmol of O2, and 5 kmol of N2 forms an equilibrium mixture of CO2, CO, O2, N2, and NO at 3000 K, 1 atm. Determine the composition of the equilibrium mixture.
//solution
//The overall reaction can be written as
//CO2 + .5O2 + ... |
11ff21e05adc6eb545db57a669a25f9e7334e505 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH1/EX1.7/Ex1_7.sce | 1e39e20d0111e063713327ab78f87013937ce891 | [] | 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 | 828 | sce | Ex1_7.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : DC Circuits
// Chapter 1 : Basic Concepts
// Example 1 - 7
clear; clc; close;
//
// Given data
V1 = 20.0000;
V2 = 1... |
305e0026d00e3fbe6adc3ee88a36f188af3167ab | a482342c0f02bca6c955b063b1dbab0825abf03c | /bu.tst | 6cb599ce56eb6a8a556fdc90f7ea42ae0f6994a1 | [] | no_license | nlsg/ctools | 23c0bd5f8c40f2e61a60ea24dfcefa87fb34f940 | e5a4114ae9376b69ac528a37f3c783f968a9346d | refs/heads/main | 2023-09-02T02:58:48.093237 | 2021-11-13T14:43:38 | 2021-11-13T14:43:38 | 427,688,932 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 375 | tst | bu.tst |
program took: 0.000003s
optlist: def
src: word
dest:
program took: 0.000002s
optlist:
src: word
dest:
to many args!
program took: 0.000024s
optlist: kdef
src: word
dest: wo3
program took: 0.000002s
optlist: df
src: word
dest: word
usage: bu [options] [File to Backuo]
-h -> help
2-->bu -de -f word
-->bu word
--... |
30db66881c564086a89abcfb19b999f04b5c487a | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/course/scilab/basics_scripts/mean3.sci | 173c9afcd1d542bf9dcdd1a0a8ece990bb7aeb94 | [] | 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 | 351 | sci | mean3.sci | function [varargout] = mean3(varargin)
% MEAN : Calculate the mean value.
% For vectors: returns a value.
% For matrices: returns the mean value of each column.
for ii = 1:nargin
%ii
x=varargin{ii};
[ m , n ] = size ( x );
if m == 1
m = n ;
end
varar... |
a88354530674f442d6241bb7364c65817cc70a25 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH7/EX7.14/Exa7_14.sce | b45c9579b059d9e755ba0d68f8ecb4e8d5887658 | [] | 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 | 336 | sce | Exa7_14.sce | //Exa 7.14
clc;
clear;
close;
//Given data :
format('v',7);
//Applying KVL on +ve side
V1=200-(600*0.015)-(100)*0.03;//in volt
disp(V1,"Voltage at +ve side(in V): ");
//Applying KVL on -ve side
V2=200-(-100*0.03)-500*0.0015;//in volt
disp(V2,"Voltage at -ve side(in V): ");
//Note : answer of 2nd part is wr... |
5d51a8ed253d380aea3957ee4b909eae908fdb7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH6/EX6.7/ex7.sce | 3eb6e1a06cf9cc069c644e588726c5c6fc08c6f3 | [] | 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 | 745 | sce | ex7.sce | //example 7
//heat transfer rate in aftercooler
clear
clc
V1=0 //we assume initial velocity to be zero because its given that it enters with a low velocity
V2=25 //final velocity with which carbon dioxide exits in m/s
h2=401.52 //final specific enthalpy of heat when carbon dioxide exits in kJ/kg
h1=198 //initial... |
4d5e9d4d1baec7c0dbd007330c786fa43c9531b2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH1/EX1.61/Example1_61.sce | 124b6fb97b47e2e6ce67b9534be3d7e1a2c0e730 | [] | 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 | 326 | sce | Example1_61.sce | //Example 1.61
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
//Fourier transform of (3)^n u(n)
clear;
clc ;
close ;
syms n;
x =(3) ^n;
X= symsum (x,n ,0, %inf )
//Display the result in command window
disp (X,"The Fourier Transform does not exit as x(n) is not absolutely summable and approaches infinity i... |
40bb49849e570e428bd4e4a0042b8e6fb5c87169 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/signal/chepol.sci | af9993ede58c46f93921d1ab389ebac5a6942825 | [
"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 | 419 | sci | chepol.sci | function [Tn]=chepol(n,var)
//Recursive implementation of Chebychev polynomial
// n :Polynomial order
// var :Polynomial variable (character string)
// Tn :Polynomial in var
//
//!
//Author F.D.
// Copyright INRIA
T1=poly(0,var);
T0=1+0*T1;
if n==0 then,
Tn=T0,
return,
end,
if n==1 then,
Tn=T1,
... |
3ed0b6fe69267f58f11e06af70e0fd28ba71e7d1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH6/EX6.7/ex6_7.sce | 1308f0af19e0ecc6cb4a626a41fbc58352c99d17 | [] | 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 | 701 | sce | ex6_7.sce | // Exa 6.7
clc;
clear;
close;
// given data
h_f = 720.7;// in kJ
h_fg = 2046.6;// in kJ
v_g = 0.2405;// in m^3
x = 0.9;
P = 8*10^2;// in kN/m^2
U_sat = h_f+x*h_fg-x*v_g*P;// in kJ
disp(U_sat,"When the steam is wet, the internal energy in kJ is");
En = 2767.3;// Enthalpy of dry saturated stream
U_sat = En-(... |
ab197f991d3477047391eb89703893a3166e62e3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH8/EX8.16/example8_16.sce | f960ecdd218e4994555b40aad89f6c87a9e48f72 | [] | 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 | 303 | sce | example8_16.sce | //Chapter 8
//Example 8_16
//Page 185
clear;clc;
pc=53;
v=106;
loss=98;
pl=110.9;
cv=113;
sq=sqrt(loss/pc);
vc=(sq*v/sqrt(3)-pl/sqrt(3))/(sq-1);
w=(cv/sqrt(3)-vc)^2/(v/sqrt(3)-vc)^2*pc;
printf("Critical disruptive voltage = %.2f kV \n\n", vc);
printf("Power loss at %.0f kV = %.0f kW \n\n", cv, w);
|
778c79f4b88e0e952590b684309ec0bb4a1f425c | db719ae90d19be4c228e1cc4209c3271c9c72eaa | /MissionB1.sce | ee33f3ba3f15a5964c1b192db8f1847f17c3192f | [] | no_license | Cedric-M/Projet_Scilab_Imagerie | 9a51a12cf70ef820a158630a2b0c29c5f1ad4f08 | 13c62cddd8e1969a61864a332fae21457e8afdf7 | refs/heads/master | 2021-01-22T20:12:42.509435 | 2017-03-17T09:33:57 | 2017-03-17T09:33:57 | 85,294,028 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 561 | sce | MissionB1.sce | //MissionB1
function missionB1(imgB1)
disp("Résultat de la mission B1 :")
//Version 1
//x=histplot(255,imgB1)
//imgB1=imgB1*10
//Version 2:
//On cherche les pixels qui se raprochant le plus de 255
greaterShadeofgray = max(imgB1);
disp("Valeur de gris la plus haute: " + string(greaterShadeofgray))
... |
fd13269de03d6994b15d469ba68bd63f23b7f4ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH16/EX16.6/Ex16_6.sce | 486947a51f9b6183037c574e582d7c28f970d571 | [] | 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 | 493 | sce | Ex16_6.sce | Df=100//in mm
bf=1250//in mm
bw=250//in mm
d=550//in mm
Mu=400//in kN-m
fy=415//in MPa
fck=15//in MPa
Asf=0.446*fck*(bf-bw)*Df/0.87/fy//in sq mm
Muf=0.446*fck*(bf-bw)*Df*(d-Df/2)/10^6//in kN-m
Muw=Mu-Muf//in kN-m
//using Cu=Tu, 0.36 fck bw Xu = 0.87 fy Ast, Xu = a Asw
a=0.87*fy/0.36/fck/bw
//Muw=0.87 fy Asw... |
88c4eb4a2fd35eec3161379ebc63d7a4fae90bad | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH5/EX5.2/5ex2.sci | 5ba761f6aebafb6338746cc9756fbef138358036 | [] | 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 | 165 | sci | 5ex2.sci | u=[2,3,-4];
v=[1,-5,8];
u+v
5*u
-v
2*u-3*v
u.*v;
k=sum(u.*v);
disp(k,'dot product of the two vectors')
l=norm(u);
disp(l,'norm or length of the vector u') |
b7810b9b19fe17fc6cf059598b2dba828fb9531a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3129/CH2/EX2.8/Ex2_8.sce | cb1a1628473f995791f979a475ff83f8252eb3bf | [] | 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 | 755 | sce | Ex2_8.sce | //Finding the Recovery Energy in an Inductor with feedback Diode
//Example 2.8 (Page No- 62)
clc
clear
//given data
Lm = 250*10^-6; //H
N1 = 10;
N2 = 100;
Vs = 220; //V
t1 = 50*10^-6;// s
a= N2/N1;
//part (a)
vd = Vs*(1+a);
printf('Reverse voltage of diode: %d V \n',vd);
//part(b)
I0 = (Vs/Lm)*t1;
p... |
f4eec1b1dc25c25439aac470775b29f05b7eb87c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH2/EX2.36/36.sce | 44941c145f64309603b5b5189c6827dd1dd245f9 | [] | 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 | 36.sce | //finding required data//
//example 36//
clc
//clears the command window//
clear
//clears//
disp('f=A''B''C+A''BC''+AB''C+ABC''');//since f is 1 at positions 1,2,5,6;this is the required SOP expression//
disp('f=(A+B+C)(A+B''+C'')(A''+B+C)(A''+B''+C'')');//since f is 0 at 0,3,4,7;this is the required POS express... |
0a99b6acdabcfad90b832422ac867d8bc4b3a4b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH3/EX3.16/3_16.sce | a29193ba561d2c35145cf2257ec88e674153763c | [] | 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,112 | sce | 3_16.sce | clc,clear
printf('Example 3.16\n\n')
I=4 //no load current in amperes
V=500
motor_input_no_load=I*V //no load motor input
R_a=0.5,R_sh=250//resistance of armature and shunt field resistnace
I_sh=V/R_sh
I_a=I-I_sh
arm_cu_loss_noload=R_a*I_a^2 //No-load armature copper losses
constant_loss=motor_input_no_... |
14cc26290e3f8c232caa7db141dbab1fe26505ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH7/EX7.8/Ex7_8.sce | 31f4a5d93e4f74be064ad8128cf89d25c28ead20 | [] | 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 | 334 | sce | Ex7_8.sce | //Example 7_8
clc();
clear;
//To find out the tension in the string when the ball is at point A
//As (T+W)=((m*v^2)/r)
printf("Tension in the string is T=m*((v^2/r)-g)\n")
printf("If v^2/r==g then the tension in the string is zero\n")
printf("If v<sqrt(r*g) then the required centripetal force is less than the ba... |
17a8ad3ccea30e2206c77e11989d7130879e79fa | 4ed576b765859807d6c29665521e0697d6f9bae7 | /archive/01/fsolve.sce | 99e6f2b5f161ae331605443a8c76bd84d986867a | [] | no_license | sbednarz/scilab | 96b9182730fa48d11f27840fc197d151adb01e2c | 28f81c58bc4972eeb41f403cb157fb989e809f41 | refs/heads/master | 2021-07-11T04:42:04.289126 | 2021-05-17T20:55:19 | 2021-05-17T20:55:19 | 100,467,366 | 3 | 1 | null | 2020-06-19T06:49:18 | 2017-08-16T08:37:06 | Scilab | UTF-8 | Scilab | false | false | 1,970 | sce | fsolve.sce | // fsolve
// The “fsolve” function solves systems of n nonlinear equations and
// n unknowns.
// lets solve an equation:
// -2*x**3 + 5*x**2 + x = 2
// todo: plot eq x=<-1,3>
// Where are roots approx?
function y = problem(x)
y = -2*x**3 + 5*x**2 + x - 2 // note the form: -2*x**3 + 5*x**2 + ... |
f9d3a7534c54242f52dac0773911eea4093e1115 | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH8/EX8.5.b/8_5_soln.sce | 99712f7a25bf1e2983f7e123e0d9e12953761841 | [] | 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 | 505 | sce | 8_5_soln.sce | clc;
pathname=get_absolute_file_path('8_5_soln.sce')
filename=pathname+filesep()+'8_5_data.sci'
exec(filename)
// Solution:
// capacity coefficient in English Units,
Cv=Q/sqrt(del_p/SG_oil); //gpm/sqrt(psi)
// capacity coefficient in Metric Units,
Cv1=Q1/sqrt(del_p1/SG_oil); //Lpm/sqrt(kPA)
// Results:
printf("\n Re... |
2d6e1ca0a2d642ac04f7c66943b9a6c91bd141c9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2863/CH2/EX2.26/ex2_26.sce | def44f3660e3f007bae382c33b11dccb88733043 | [] | 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 | ex2_26.sce | //chapter 2
//half wave dipole
printf("\n");
dl=1/15;//assume lamda=1;
Rloss=1.5;
Rrad=80*(%pi)^2*(1/15)^2;
n=Rrad/(Rrad+Rloss);
printf("the radiation efficiency is %g",n);
|
ddf0cb6720cc74a880969c7c393c49ab7789ad70 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/rc2ac/rc2ac11.sce | 9710bd7370e7d81b2c5b7eb6ae7eb5f49dd5df33 | [] | 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 | 189 | sce | rc2ac11.sce | //check o/p when the i/p vector contains only zeros
k = [0 0 0 0 0];
r0 = 0.1;
a = rc2ac(k,r0);
disp(a);
//output
// 0.1
// 0.
// 0.
// 0.
// 0.
// 0.
//
|
e2cc37d416ee8c08296896be5093d32d601754e9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH3/EX3.5/ex3_5.sce | 03dfa93a9d1707398569d889ee4fd028a1ae987d | [] | 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 | 241 | sce | ex3_5.sce | clc;
g=9.8; //gravitational constant in m/sec square
m=5; //mass in kg
F=100; //force in Newton
disp(m*g,"Weight in Newton = ");
a=F/m; //calculating acc.
disp(a,"Accelaration in m/sec square = "); //displaying result |
3025979d6eacff9cf39310edf56beb2a7427ea3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH2/EX2.34.2/ex34_2.sce | 978bd2ea047e5e524a37040bed4e0181be2b647a | [] | 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 | 204 | sce | ex34_2.sce | clc
A=[4 2 1 3;6 3 4 7;2 1 0 1]
disp('rank of A is')
p=rank(A)
if p==4 then
disp('equations have only a trivial solution:x=y=z=0')
else
disp('equations have infinite no. of solutions.')
end |
b6a97a80eb75b96651f6578f55a39824dd0ff1df | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH3/EX3.9/Example3_9.sce | 0d268015f4f60dda887716fb1a40f95b12814f56 | [] | 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 | 577 | sce | Example3_9.sce | //Example 3.9
clc;
clear;
close;
format('v',9);
//Given data :
g=9.81;//gravity
GH=4;//meter
IJ=4;//meter
IC=2;//meter
GC=3;//meter
AG=(10-4)/2;//meter
BH=(10-4)/2;//meter
EI=AG*IC/GC;//meter
JF=AG*IC/GC;//meter
EF=EI+IJ+JF;//meter
A=(8+4)/2*2;//in m^2
a=4;//meter
b=8;//meter
d=2;//meter
xbar=(2*a+b... |
fef0d4ccee0d6f339575e8f19b0f273f8ae7109e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH4/EX4.6/Ex4_6.sce | bc03e5e0e3decf549365034afd6a829f105ac1b7 | [] | 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 | 449 | sce | Ex4_6.sce | //Ex:4.6
clc;
clear;
close;
x=2;// index profile
dl=0.0126;// index difference
a=(85/2)*10^-6;// core radius
R=2*10^-3;// curve of radius
n1=1.45;// core refractive index
k=6.28;
y=850*10^-9;// wavelength in m
A=(x+2)/(2*x*dl);
B=(2*a/R);
C=(3*y/(2*k*R*n1))^(2/3);
D=B+C;
E=A*D;
F=1-E;
Lm=-10*log(1-A*(B... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.