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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5cca13000ae62c423fd3eee614cc54c79d143740 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH3/EX3.15/EX3_15.sce | 3c5d277dbb72433fd8396cc450e0560f4240a3a3 | [] | 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 | 597 | sce | EX3_15.sce | //EXAMPLE 3-15 PG NO-185-186
Van=230.94+%i*0;
Vbn=-115.47-%i*200;
Vcn=-115.47+%i*200;
V1=10*10^3;
Ia=V1/Van;
disp('i) CURRENT (Ia) is in rectangular form = '+string (Ia) +' A ');
V2=4*10^3;
Ic=V2/Van;
disp('i) CURRENT (Ic) is in rectangular form = '+string (Ic) +' A ');
V3=6*10... |
d6176c2f1021083b84547237b1643f841b945d1e | ad617742f184bf6d4cceb3e9c99232d8bd52b862 | /tests/kmac-hw.tst | 35da9ee66ba90b63ad75c4896a3658aaee79c1f7 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | 9track/hyperion | d621343e7eea27c45db49c7c284dd1680491c82c | 9ceed2cc7261820eef01c55dac9b9a6ae47636b2 | refs/heads/master | 2022-09-15T12:19:09.059528 | 2020-05-28T03:05:29 | 2020-05-28T03:05:29 | 268,044,749 | 3 | 1 | NOASSERTION | 2020-05-30T09:03:56 | 2020-05-30T09:03:55 | null | UTF-8 | Scilab | false | false | 15,270 | tst | kmac-hw.tst | *Testcase KMAC fc0
sysclear
archmode z
r 1A0=00000001800000000000000000000200 # z/Arch restart PSW
r 1D0=0002000180000000000000000000DEAD # z/Arch pgm new PSW
r 200=41000000 # LA R0,0 R0->function code 0
r 204=4110f500 # LA R1,PB R1->parameter block address
r 208=41200000 # LA R2,FO ... |
4855a38a3c88c509fc1b1645b4734682143c17c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH6/EX6.6/exp_6_6.sce | 5a4c85cb48595794c8b1f1425de9e7748266c65a | [] | 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 | 861 | sce | exp_6_6.sce | clear;
clc;
Zb=complex(0,.20);
Z1b=complex(0,.25);
V1=Z1b;
Z2b=[Z1b 0;0 Z1b];
//p=2,q=3
Zbn=complex(0,.10);
Z22=complex(0,.25);
Z33=Z22+Zbn;
Z13=complex(0,0);
Z31=Z13;
Z32=complex(0,.25);
Z23=Z32;
Z2bn=[Z1b 0 Z13;0 Z22 Z23;Z31 Z32 Z33];
//p=1,q=4
Z44=Z1b+Zb;
Z14=complex(0,.25);
Z41=Z14;
Z24=compl... |
e53059114e7feca74930485c296d553ae157474a | 449d555969bfd7befe906877abab098c6e63a0e8 | /548/DEPENDENCIES/4_23data.sci | cc5ed25ffc9979435161b2437b19147ccb5d0ba6 | [] | 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 | 528 | sci | 4_23data.sci | //consider the flow of air over a small flat plate that is 5 cm long in flow direction and 1m wide.free stream conditions corresponds to standard sea level condition
V=120; //flow velocity,m/s
D=1.225;//free stream density,Kg/m^3
x=0.05 ;//length of plate in meter
w=1;//width of plate in meter
u=1.789*10^-5;//Visc... |
26a2a370cd8ed306bc28964de7e2368b10f6466a | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH8/EX8.12/S8_12A.sce | b8732f7d9dc3985af4f19b4f668cd5ce6579f880 | [] | 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 | 361 | sce | S8_12A.sce | // sum 8-12A
clc;
clear;
W=80000;
sigbfr=500;
L=1100;
Nf=3;
Ng=10;
N=Nf+Ng;
t=((1.5*W*L)/(N*6*sigbfr))^(1/3);
t=15;
b=6*t;
E=207*10^3;
deli=(W*(L^3))/(8*E*N*b*(t^3));
Wi=(W*Nf*Ng)/(N*((3*Nf)+(2*Ng)));
// printing data in scilab o/p window
printf("t is %0.1f mm ",t);
printf("\n deli is %0.1f mm "... |
935087209dbfe01a484a5504d145f2ebab53b816 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.2/Unix/scilab-2.2/macros/sci2for/newlab.sci | 3f44488ee34c813e2d48d01d3e90c7bea979ab05 | [
"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 | 122 | sci | newlab.sci | //[lb,nwrk]=newlab(nwrk)
//Cette macro retourne lb le numero d'etiquette suivant
//!
lb=nwrk(9)+1
nwrk(9)=lb
//end
|
20d45d8000d5b64459a31839e600ad1a3a2c1ec3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH28/EX28.11/ex28_11.sce | e824ed1636a5a452d00ea5f5d88e918377ff4d34 | [] | 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 | 108 | sce | ex28_11.sce | clc;
disp(3*5,"Moles = "); //displaying result
disp(15*(2.02+32.06+64),"Mass = "); //displaying result
|
69d51274d90547dafc6050bf7e06f8dcdd30fcad | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH4/EX4.12/example4_12.sce | 0e37c60a8ccb2c38c2d7abc5126461b33cab238c | [] | 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 | 860 | sce | example4_12.sce | //Chapter 4
//Example 4_12
//Page 80
clear;clc;
md=1;
lf=0.5;
cc=12*1e5;
rm=0.005;
fc=1600;
id=0.1;
fcon=0.3;
w=50000;
c=150;
rc=0.15;
ugpa=md*1000*lf*8760;
printf("(i) Private oil engine generating plant\n");
afc=fcon*ugpa;
a_f_c=afc*fc/1000;
arm=rm*ugpa;
aw=w;
aid=id*cc;
printf(" Annual fuel consumption = %.0f k... |
6ea60b8cec45d7460c23b10124584be560802ae6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH9/EX9.1/9_01.sce | 58f916fc961e9a6d2ab90d71158f2f857cb4e402 | [] | 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 | 9_01.sce | //Chapter 9, Problem 1
clc;
B=1.25; //flux density
v=4; //conductor velocity
l=300*10^-3; //conductor length
R=20; //resistance
E=B*l*v; //calculating emf
I=E/R; //calculating current from ohm... |
1da0062a8e1f3d23db8837d4d44b94ff819a8e71 | 499d051e2a4fa1bb1cc5ac86c4fe23ae88d60a6d | /scilab/plot_spec.sci | 17a60fbe0ece122286fccdfcf5b72caa7aaa3763 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gap-packages/automgrp | 27ef69cfb6a97093e708c4241abc2f002053359b | bae72980572af919f6498e13e88d71feb9175875 | refs/heads/master | 2022-10-11T13:52:38.771189 | 2022-09-23T07:10:33 | 2022-09-23T07:10:33 | 209,880,291 | 2 | 0 | MIT | 2022-01-27T00:21:10 | 2019-09-20T21:00:32 | GAP | UTF-8 | Scilab | false | false | 666 | sci | plot_spec.sci | // plot_spec.sci
function [freq_matrix] = plot_spec(autom, iter_num)
if ~(exists("iter_autmats")) then
getf("/home/muntyan/math/automata/scilab/iter_autmats.sci")
end
num_states = size(autom); num_states = num_states(1);
mats = list(1);
for i=2:num_states
mats = lstcat(mats, list(1))
end
for i=1:iter_num
mats =... |
3945ded651b1d27d514a695f9047a6233d61eb92 | b9602336613b26d0b9c22a09d219c0ed8e158b4e | /Examples/Examples_VecFunc/indexMin_indexMax.sce | 742707dd217f21671ebf2f2f17cd36e59e718fda | [
"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 | 215 | sce | indexMin_indexMax.sce | // Function Name: indexMin/indexMax
// Return index of min/max value
// Calculating the indexMin/indexMax.
inputvec1 = [1, 2, 3];
result = armaVec("indexMin",inputvec1)
result = armaVec("indexMax",inputvec1)
|
3bda08401d1e4da2d989301a76e322ef62466dff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH10/EX10.5/exm10_5.sce | 6270eaf3aa9d163b4eaf866d0dd50600e00a0404 | [] | 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 | 863 | sce | exm10_5.sce | // page no 326
// examle no 10.5
// SUBTRACTION OF TWO 16 BIT NUMBERS
clc;
printf('B--> 85H C--> 38H \n');
printf('D--> 62H E--> A5H \n \n');
b=hex2dec(['85']);
c=hex2dec(['38']);
d=hex2dec(['62']);
e=hex2dec(['A5']);
printf('MOV A,C \n \n');
a=c;
printf('SUB E \n');
a=a-e;
Z=a+256;
X=dec2hex(Z... |
917f5f9fa718614980734f12bb0a11c23d87a082 | 19658370255887f845c83f569bb003d5a74b5d8c | /D1/Day1.sce | c871ac311e79effe3e4c3f8f5b912ff44a1fc040 | [
"MIT"
] | permissive | bitlischieber/AdventOfCode2019 | d37d82147038f4bdebaf76d9ef7048b8c7f1c73d | d5a7d56f7146512a05a5033992bf62c3ffc225df | refs/heads/master | 2021-07-23T11:58:11.580561 | 2020-10-27T08:48:04 | 2020-10-27T08:48:04 | 225,146,354 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 559 | sce | Day1.sce | clear;
clc;
mode(0)
function y=calcFuel(m)
y=floor(m/3)-2
endfunction
// Part 1
printf("Part 1\n********\n")
mm=read("input.txt",-1,1);
printf("Fuel for each module")
f=floor(mm/3)-2;
f
printf("Total fuel:")
t=sum(f,1)
t
// Part 2
printf("Part 2\n********\n")
printf("Fuel for fuel for each module")
f2 = zeros(l... |
871175bd49af87ff79b8c05c1b45442c3bc6943f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH2/EX2.1/Ex2_1.sce | 3a3f670842d8da3bceee7ce1cbd16e55e01e989d | [] | 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 | 825 | sce | Ex2_1.sce | // chapter 2 example 1
//------------------------------------------------------------------------------
clc;
clear;
// µr1 = 3; // relative permeability of region 1
// µr2 = 5; // relative permeability of region 2
// H1 = (4ax + 3ay -6az)A/m; Magnetic field intensity
// Therefore B1 = µoµr1H1
// ... |
1102822c2be4a9c6e593f01b895c68ccbf14cb9a | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.11_5.tst | d07cd99320b28c2d771f8a73035c99c4493255e6 | [] | 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 | 4,005 | tst | bow.11_5.tst | 11 14:0.125 16:0.5 50:0.16666666666666666 57:0.08333333333333333 162:1.0 175:0.3333333333333333 307:0.5 440:1.0 514:1.0 637:1.0 1106:0.5 1257:1.0
11 84:0.5 92:1.0 168:0.5 173:0.5 246:1.0 261:0.2 468:1.0
11 50:0.16666666666666666 57:0.08333333333333333 109:1.0 246:1.0 253:0.16666666666666666 308:0.3333333333333333 416:0... |
fc5486b971d0b640f139f76c6a0fafbf7b390f56 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH12/EX12.11/12_11.sce | 60ab9ceba7b17c88c3b115b8a1caab59c7332e61 | [] | 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 | 425 | sce | 12_11.sce | clear//
//Variables
VS = 6 //Source voltage (in volts)
R1 = 330 //Resistance (in ohm)
R2 = 470 //Resistance (in ohm)
VD = 0.7 //Diode voltage (in volts)
//Calculation
RT = R1 + R2 //Total Resistance (in ohm)
I = (VS - 0.7)/RT //Cur... |
0fa4a5ad12e314a498f5019d4dd5c440f420def4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /191/CH3/EX3.6/Example3_6.sce | 5ddba45d2e326009387d47a89ed9b48fd4c76a0d | [] | 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 | Example3_6.sce | //Secant Method
//the first few iteration converges quikcly in negative root as compared to positive root
clc;
clear;
close();
funcprot(0);
format('v',9);
deff('[Secant]=f(x)','Secant=exp(x)-x-2');
x = linspace(0,1.5);
subplot(2,1,1);
plot(x,exp(x)-x-2);
plot(x,zeros(length(x),1));
//from the graph the function has 2 r... |
f39d705d1a20b89996308e0bf009b7fdb9ee8511 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/l/12.tst | 58f11b45d712a8960db4810d0755b2a4026a47b4 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,795 | tst | 12.tst | float_const_e_sign = float_const_e&'+' | float_const_e&'-';
point = '.';
zero_digits = zero&'8' | zero&'9' | int_oct_const&'8' | int_oct_const&'9' |
zero_digits&t_digit;
white_space = comment_star&'/';
comment_star = comment&'*';
comment = slash&'*' | comment&t_not_star_and_not_slash |
... |
7e2d7534e83f30dc57b0a3ff03e06674c35eac91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH4/EX4.16.a/Example4_16_a.sce | ec149bf15ea4a2675432000a4919f58cdba3dac9 | [] | 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 | Example4_16_a.sce | //Example 4.16 (a)
//Program to Evaluate and Compare the 8-point DFT of the given Sequence
//x1[n]=1, -3<=n<=3 using DIT-FFT Algorithm.
clear;
clc ;
close ;
x1=[1,1,1,1,0,1,1,1];
//FFT Computation
X1 = fft (x1 , -1);
disp(X1,'X1(k) = '); |
9753bfade7b4f5a780c7088bda977a29eccb6c7d | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/C45-C/results/C45-C.german-10-1tra/result1.tst | 0db4f6a778e50092e0512c74ca1aeb8eb1d68913 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,518 | tst | result1.tst | @relation german
@attribute StatusAccount{A11,A12,A14,A13}
@attribute DurationMonth integer[4,72]
@attribute CreditHistory{A34,A32,A33,A30,A31}
@attribute Purpose{A43,A46,A42,A40,A41,A49,A44,A45,A410,A48}
@attribute CreditAmount integer[250,18424]
@attribute SavingsAccount{A65,A61,A63,A64,A62}
@attribute EmploymentSin... |
0547d73b998e281cac64e7b9889e2d65a5ac61ef | e02aa9695b075784e5d6aba93cab02d1864f1039 | /Méthodes_numériques/projet/script_scilab/q18.sce | 5f5fe90c98f9ffa2c6454c9d81a56cd7b8435fbd | [] | no_license | michelprojets/Ensimag1 | 1a4cf84203f0e63a71ece278bf364d32d2219825 | b9ed4a050c7c548781a9e26d99747e8883c5c1f5 | refs/heads/master | 2021-09-13T15:47:16.632446 | 2018-05-01T18:17:26 | 2018-05-01T18:17:26 | 103,514,194 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,148 | sce | q18.sce |
clear
n=63
T=135
h = 1/10
N =T/h
p = 2
U_m1 = zeros(n,1)
U_0 = zeros(n,1)
v_0 = zeros(n,1)
m=1
for i = 1:n
if modulo(i, 2) == 0
M(i,:) = m
else M(i,:) = 1
end
end
M = diag(M)
//Mise au point des valeurs de A
A = zeros(n,n)
A(1,1) = M(i)+1
for k=2:n
A(k,k) = M(i)+2*h**2
if k<n
... |
5b8e1545cf2c6f6677a00c857ba4f4b38e5d3f33 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/local/2dof_controller/dc/freq/scilab/lead_exp.sce | dfb44608c62ec4224ffdc3d02d868f48d154f259 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 248 | sce | lead_exp.sce | // Updated(24-7-07)
// 7.3
pol1 = [1 -0.9]; pol2 = [1 -0.8];
G1 = trfu(pol1,[1 0],-1);
G2 = trfu(pol2,[1 0],-1);
w = linspace(0.001,%pi,1000);
xset('window',1);
bode([G1;G2],w);
G = tf(pol1,pol2,-1);
xset('window',2);
bode(G,w);
|
fc7d5074832f8d364b3492c04849eb1c764fd6ae | 86ae7e24466d959da945d5b6d8ab93354a9e8a1d | /exp 1.sce | 791b802ae798a12f627fe957dbf0c08c758f63c0 | [] | no_license | AnujaNagare/Scilab-Programs | be27fdeb0db8cfa4b00ac5121676b18412b8a222 | 4152eac1a3e87ec7408fb3dfea55cac984cca2d9 | refs/heads/master | 2021-08-30T16:53:33.876536 | 2017-12-18T19:11:47 | 2017-12-18T19:11:47 | 114,677,855 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,203 | sce | exp 1.sce | clc
clear
close
clf
pi=22/7;
disp('Enter co-ordinates of points');
x=input('Enter X coordinate: ');
y=input('Enetr Y coordinate: ');
z=input('Enter Z coordinate: ');
i=input('Translation or rotation?(1 or 2)');
p=[x y z];
select (i)
case 1
k=input('enter translatonal value')
j=input('enter which ... |
d9a0b1392304f5d1d352a4f1002dc97738a68dcc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3363/CH2/EX2.3/EX2_3.sce | eb84e93e82a497647ff0628b70adffcc9e5106ac | [] | 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 | EX2_3.sce | //Example 2.3, Page no 50
p=1//j/s
r=1//radius in m
h=6.63*10^-34//Joule-sec
c=3*10^8//m/sec
lambda=5.89*10^-7//m
R=p/(4*%pi*r^2)
E=(h*c)/lambda
Rate_R=R*(1/E)
printf("\nRate at which photons strike unit area of place %e photons/m^2-sec",Rate_R) |
6c09866a4400aad2f5b44f1cfcd5a9359b5b938f | 449d555969bfd7befe906877abab098c6e63a0e8 | /615/CH8/EX8.21/8_21.sce | 9b11e41c8b8f8aec0d387b4915b50ee0651dbd49 | [] | 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 | 297 | sce | 8_21.sce | //Fuels and Combustion//
//Example 8.21//
C=90.2;//percentage of carbon//
O=2.9;//percentage of oxygen//
H=2.40;//percentage of hydrogen//
GCV=(8080*C+34400*(H-O/8))/100;//Gross calorific value of the sample in cal per grams//
printf('\nGross Calorific value of the fuel=GCV=%fcal/g',GCV);
|
e2e9f88f88d1f0a765503e9da543e23ef9327cee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1364/CH6/EX6.2.1/6_2_1.sce | 22642d6d4c99e8a90f9a5aeb0d3325312ec09a63 | [] | 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 | 192 | sce | 6_2_1.sce | clc
//initialisation of variables
w= 0.0764 //lbf/ft^3
u= 88 //ft/sec
g= 32.2 //ft/sec^2
//CALCULATIONS
q= w*u^2/(2*g)
//RESULTS
printf (' dynamic pressure of air = %.2f lbf/ft^2',q)
|
dd37d935018a9fa3036408bad346b3d4c8c2a551 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH11/EX11.12.5/Ex11_5.sce | d4589adc874311395e73f7a3a8ad3f1719f314f5 | [] | 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 | 982 | sce | Ex11_5.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 11 Sinusoidal oscillator and multivibrators
clc
clear
f=30//f=frequency of oscillation of a Wien-bridge oscillator in Hz
C=(500*10^(-12))//C=capacitance in farad
//f=1/2*%pi*R*C//R=resistance in ohm
R=1/(2*%pi*f*C)
disp("Mega ohms",R/10^6,"Resistance needed... |
b24f72e38a57927b3616d4e967b74edff0185a51 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH6/EX6.16/Ex6_16.sce | 39f25ebdb358912a747a2d2235919684d233604e | [] | 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 | 797 | sce | Ex6_16.sce | clear
//
//
//
//Variable declaration
a=5.63*10**-10 //lattice constant(m)
h=1
k=1
l=1 //miller indices
theta=27.5*%pi/180 //glancing angle(radian)
n=1 //order
h=6.625*10**-34 //planck's constant
c=3*10**10 //velocity of light(m/sec)
e=1.6*10**-1... |
a4a11bf8ecd3d1fe818df8b401a31ee235c0925a | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Devices_T._L._Floyd_61.zip/Electronic_Devices_T._L._Floyd_61/CH14/EX14.3/ex14_3.sce | a17e1b818833e6d5a0b7f0d622e7d7c7f1f375cc | [] | 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 | 80 | sce | ex14_3.sce | errcatch(-1,"stop");mode(2);//ex14.3
disp("cannot be shown in scilab")
exit();
|
ffaec0b29fdf73a30d2c24371271eaf64ed0cb6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1299/CH11/EX11.9.2a/examplesec11_9_2a.sce | 95f409ab6df9eb64e6f3fbc9c0dedc812570a16b | [] | 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 | examplesec11_9_2a.sce | //Example sec 11.9.2 a
//stability of linear continuous system
clear;clc;
xdel(winsid());
s=%s;
G=1/(s*(s+1)*(s+2))
G1=pfss(G)
//taking Z transform of G1
z=%z;
G2=(z/(2*(z+1)))-(z/(z+%e^(-1)))+(z/(2*(z+%e^(-2))))
//upon simplification we get the following characteristic equation
B=z^3-(1.3*z^2)+0.85*z-0.5
... |
befe08f0b1d40a6b0a7049904a6a4a3bfc6b9f81 | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH7/EX7.6/ex7_6.sce | 0809b4bab8224e44b7fe909e3c130ccb5279ab9d | [] | 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 | 69 | sce | ex7_6.sce | s=%s;
syms k
H=syslin('c',k/(s*(s+3)*(s^2+(2*s)+2)))
evans(H,10)
|
e377060f08c45e6fd230a4ad2e5a244af2a245d9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH2/EX2.8/Ex2_8.sce | 92bf2906aa773b7d2664a6335c97a1e1371ff055 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 410 | sce | Ex2_8.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 2.8
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
deltanu=1.5e9;//change in frequency of He-Ne laser in Hz
c=3e8;//speed of light in m/s
lc=c/deltanu;//Corresponding coherence length
mprintf("... |
30710ba88f5a89c3365c049d98bbdbdc17c6cf05 | ffeeb94f902bf47c6c41483f4909c0f284082954 | /math/motor1.sce | dc48fd7d0a08eace7fa2f0b2443c2232f5c98201 | [] | no_license | dbg4f/dbg-boggie-control | fb7c0569e30597e49a7b361b8846f6f8b7e6ee79 | 3984072fa02b22cd552e986ab0781726a7bd8c0f | refs/heads/master | 2021-01-18T23:29:36.675033 | 2016-03-18T18:43:33 | 2016-03-18T18:43:33 | 33,182,772 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 838 | sce | motor1.sce | data=read("/home/dmitri/projects/boggie/math/motor2.txt",-1,2);
//data=read("/home/bogdel/work/google-code/boggie/math/motor2.txt",-1,2);
time=(data(:,2)-data(1,2))/1000;
angle=data(:,1);
angle=angle';
time=time';
f=[time;angle];
function e=G(a, z),
e = z(2) - a(1)*(z(1)-a(2)+a(2)*%e^(-z(1)/a(2)));
endfunction
... |
b10464019ee138220cb112e1c31a698f6694f687 | 449d555969bfd7befe906877abab098c6e63a0e8 | /821/CH1/EX1.5/1_5.sce | 7328fd2619ad7d79337a3fcc286e6088efc21c11 | [] | 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 | 400 | sce | 1_5.sce | n1=2;
n2=4;
dE=21.7*(10^-12)*((1/n1^2)-(1/n2^2));
h=6.625*10^-27;//plank's constant//
C=3*10^10;//velocity of light in cm/sec//
l=h*C*10^8/dE;//Wavelength of second line in balmer series in Angstrums//
printf('wavelength of the second line in balmer series=l=%fAngstrums',l);//here the answer given in textbook is ... |
50103c60f28ba8065b97d985da294a7fc547e482 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH8/EX8.27/8_27.sce | dc6161c7572e508e9b26c30dec170b2c3c20fb9d | [] | 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 | 8_27.sce | P=10000
v1=2200
v2=220
r1=4
r2=0.04
x1=5
x2=0.05
a=v1/v2
R=r1+a*a*r2
X=x1+a*a*x2
I1=P/v1
pf=0.8
V2=v2*a
theta=acos(pf)
Vd=I1*(R*cos(theta)+X*sin(theta))
VR=Vd/v1*100
V1=v1+Vd
disp(VR,V1)
pf=cos(atan(X/R))
disp("leading",pf)
Pr=P*pf
Q=-P*sin(acos(pf))
disp(Q,Pr)
|
30ddaa9b73b3a2472c4033be83abbebc828d9f3b | 3073307fa4b6da9371518f0718c199501b8c5c71 | /viejos/gauss_elim_ppe.sci | f59db2021fdc343bcf138937701ac5ec33dfd469 | [] | no_license | fern17/CalculoNumerico | 8b04abdf8e1da4b69a1256334a4bc58ff5c9180d | c793733ce17616361dd02f358ef63c1d9be5c99e | refs/heads/master | 2020-06-04T00:06:19.723655 | 2011-12-20T13:47:40 | 2011-12-20T13:47:40 | 2,929,202 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,182 | sci | gauss_elim_ppe.sci | //Realiza la eliminacion de Gauss con Pivoteo Parcial Escalado
//A es matriz de nxn
//b es vector fila de n
//B es la matriz triangular superior resultado de la eliminacion
//Calcula el maximo de cada fila.
// Luego usa como pivote: abs(a_pi/s_p) = max(1,n) abs( a_ki/s_k )
function [B] = gauss_elim_ppe(A,b)
... |
edd8409d134561292e88846edde352874bbe35e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH4/EX4.7/Exa4_7.sce | 30d12930fd5ca927ce4595758f7fb2b2a133076b | [] | 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 | 377 | sce | Exa4_7.sce | //Exa 4.7
clc;
clear;
close;
//given data :
VP=-4;//in Volt
VGS=-2;//in Volt
IDSS=10;//in mAmpere
IDSS=IDSS*10^-3;//in Ampere
//Formula : ID=IDSS*[1-VGS/VP]^2
ID=IDSS*[1-VGS/VP]^2;//in Ampere
disp(ID*1000,"Drain Current in mA : ");
disp("The minimum value of VDS for pinch-off region is equal to VP. Thus the... |
f2eb7d7e208d1188129cb695a3d4cecf45cfc170 | 449d555969bfd7befe906877abab098c6e63a0e8 | /833/CH8/EX8.3/Ex8_3.txt | 6183e26e12699c93192ba9483e29e84ff4a6b312 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | txt | Ex8_3.txt | //Caption: Find the resistance required
//Exa:8.3
clc;
clear;
close;
I_1=40//Current taken by series motor(in A)
V=500//Supplied voltage(in volts)
n_1=100//Initial speed(in%)
n_2=80//final speed(in%)
I_2=sqrt(((I_1^2)*(n_2^2))/(n_1^2))
a=(I_1*(n_1/100))/(I_2*(n_2/100))
R=((a*V)-V)/(a*I_2)
disp(R,'Resistance... |
98c1b18a099c773f2b542adad1af20158f3919d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2309/CH5/EX5.9/Ex5_9.sce | c9da54eced8baf5339c80740d2532d0082bb2545 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 593 | sce | Ex5_9.sce | // Chapter 5 Example 9
//==============================================================================
clc;
clear;
//input data
// (100) planes in rock crystal
h = 1; // miller indice
k = 0; // miller indice
l = 0; // miller indice
a = 2.814 /... |
726a8b73727493ab58e70ecbb9280fc9ee542710 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.4.c/ex_1_4_c.sce | f4946d87c4e0a0d21ba2e9e60e84f746cee5cd26 | [] | 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 | 205 | sce | ex_1_4_c.sce |
// Example 1.4.c :relative error
clc, clear
// given :
vm=42; // pressure in bar
vt=41.4; // pressure in bar
Es=vm-vt;
Er=Es/vt;
disp("relative error is "+string(Er)+" or "+string(100*Er)+" %")
|
ecc1babf70800417e14bf50e0398ca6d45f74fba | 897ce6a3fd5b682122c396af7e24fa53014c7cb3 | /src_script/scilab/_import/rtsx_10/rpy2t.sci | 5c3525be340466fd754dceb7ef0c297d68ad491e | [] | no_license | stub22/glue-ai-v1_friendularity | e66f5ab357eba45de2def6f7900f414e358a4125 | 74949dc3e9b0d08b39857735aad901915e61322d | refs/heads/master | 2022-12-19T18:57:01.336831 | 2017-08-04T12:55:12 | 2017-08-04T12:55:12 | 284,544,364 | 0 | 0 | null | 2020-10-14T00:08:14 | 2020-08-02T21:24:34 | Java | UTF-8 | Scilab | false | false | 961 | sci | rpy2t.sci | // RPY2T.SCI convert Row-Pitch-Yaw angles to homogeneous transformation
// www.controlsystemslab.com July 2012
// T = RPY2T(RPY, OPTIONS) is a homogeneous tranformation matrix equivalent to the
// specified roll, pitch, yaw angles which correspond to rotations about the
// X, Y, Z axes respectively. If RPY has... |
39930764305d36565441f3042b70121a9873ac2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH6/EX6.12/6_12.sce | 1a9a16ca5cffe9e365160cd7b9748ae441ef0bf5 | [] | 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 | 434 | sce | 6_12.sce | //Problem 6.12:
//initializing the variables:
T1 = 540; // in deg F
T0 = 300; // in deg F
T2 = 180; // in deg F
T3 = 60; // in deg F
m1 = 1;
m2 = 2;
Cp = 1;
//calculation:
dSh = m1*Cp*log((T0 + 460)/(T1 + 460))
dSc = m2*Cp*log((T2 + 460)/(T3 + 460))
//for one exchanger
dSe = dSh + dSc
//exchanger F
d... |
83c50e1e7fd94fc89e694df0084767d1cd3d929e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH1/EX1.7/Ex1_7.sce | 5c31ec9724ccda12a1fabd3314c1a2a43b250e0e | [] | 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 | Ex1_7.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 1,Example 7")
w1=100;//weight of object at standard gravitational acceleration in N
g1=9.81;//acceleration due to gravity in m/s^2
g2=8.5;//gravitational acceler... |
18f8409e24d04d4061999e212012143aedb0a5be | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/DEPENDENCIES/25_6data.sci | 8bf002b48330e740672f914cce24192297d4d753 | [] | 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 | 288 | sci | 25_6data.sci | E23=20000;//laminate Young’s modulus of 23,given,in N/mm^2
E12=45000;//laminate Young’s modulus of 12,given,in N/mm^2
L12=250;//langth of 12,given,in mm
L23=300;//langth of 23,given,in mm
t12=2;//thickness of 12,given,in mm
t23=1.5;//thickness of 23,given,in mm
Sy=2*10^3;//load |
276ca9b1227dc94c28ad2c4d2118122de68a8659 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH1/EX1.39/Example_1_39.sce | 2c7fa712a8b4382a29a636fbbeb35b87f0790af4 | [] | 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 | 270 | sce | Example_1_39.sce | // Example 1.39 The odds in favour of an event A are 3:4.
clc;
clear;
A=3/7;
B=4/11
AB=A*B;
disp(A,"Probab. of occurrence of A are P(A)=",B,"Probab. of occurrence of B are P(B)=");
disp(A+B-AB,"The probab. of at least one of the events A and B is given by ");
|
7d987c25e0375e61ee73c2579e14db6ff1bb5e90 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH2/EX2.6/2_6.sce | a972f55a55185ba10253389f96ebfa3c056a62c0 | [] | 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 | 2_6.sce | clc;
//page no: 2-14
//Example-2.6
//Given Total antenna current is 5A, and modulation index is 0.6
Itotal=5;
u=0.6;
//Itotal=Ic*sqrt(1+(u^2/2));
Ic=Itotal/sqrt(1+(u^2/2));
disp(+'A',Ic,'Antenna current when only carrier is sent is ');
|
b59d94ee1e6f451e100d54674ca6ba82ac6e2602 | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/Planner/plan.sci | 69b3c82308fb2faa645c33f549a1abe621b9c38c | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,245 | sci | plan.sci | function [bool_success,STANCE_GRAPH,expansion_nodes,single_cndts_node_nb] = plan(INIT_STANCE,DATASET,PARAMS)
//Author : Maxens ACHIEPI
//Space Robotics Laboratory - Tohoku University
//Description:
//
//INPUT
//PARAMS: struct containing:
// *
//OUTPUT
//
... |
b4255ff5d064a4285e947142a9daf7a479e80ffc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH1/EX1.1/example1_1.sce | 4231398f6472d941bd66e0c6ac56a3f91a3d523f | [] | 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 | 411 | sce | example1_1.sce | clear;
clc;
// Stoichiometry
// Chapter 1
// Dimensions and Units
// Example 1.1
// Page 12
printf("Example 1.1, Page 12 \n \n");
// solution
// Using conversion factors from table 1.3 (Pg 9)
q1 = 75 // [gallon/min] (volumetric flow rate)
q2 = 75/(60*.219969) // [dm^3/s]
row = 0.8 // [kg/dm^3]
q3... |
60200be416ea3d62c3fbee838557d2bca3caaa8b | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/C45-C/results/C45-C.led7digit-10-1tra/result9.tst | 706951bc2c8f1005d38cb6d2611840ee7b9513b0 | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 535 | tst | result9.tst | @relation led7digit
@attribute Led1 real[0.0,1.0]
@attribute Led2 real[0.0,1.0]
@attribute Led3 real[0.0,1.0]
@attribute Led4 real[0.0,1.0]
@attribute Led5 real[0.0,1.0]
@attribute Led6 real[0.0,1.0]
@attribute Led7 real[0.0,1.0]
@attribute number{0,1,2,3,4,5,6,7,8,9}
@inputs Led1,Led2,Led3,Led4,Led5,Led6,Led7
@output... |
be3c10492595553e2fe05c7747dd3e64cddc8efa | 449d555969bfd7befe906877abab098c6e63a0e8 | /686/CH1/EX1.1/Ex1_1.sci | 8bc2fcc852182c7ba0374f20593fcba55344da9d | [] | 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 | 841 | sci | Ex1_1.sci | clc();
clear;
// To calculate the overall thermal resistance and overall heat transfer coefficient
b = 0.5/12; // Thickness of iron wall in ft
k = 30; // Thermal conductivity in Btu/hr-ft
h1 = 2; // Heat transfer coefficient in Bt... |
5bf41ed99a8a066afc9eeff15c0d97fc8e32e8bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH1/EX1.14/example_14.sce | c6359ec014b17b9af793cd18380856fabeafd33b | [] | 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 | 117 | sce | example_14.sce | printf('example 1.14 page number 45')
disp ("this is a theoritical question, book shall be referred for solution")
|
35bab6babf21cf1d5d7aef2314c8963ec80e3e1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2990/CH6/EX6.2/Ex6_2.sce | 0a252958ccba00b3b1c8c7fb539cb3741ae3dbfc | [] | 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 | Ex6_2.sce |
clc; funcprot(0);
// Initialization of Variable
f=0.152;//focal length in m
H=1800;//elevation of topmost point in m
h=300;//elevation of ground in m
//calculation
S=f/(H-h);
disp(round(1/S),"scale of photograph in 1 in")
clear()
|
407c42011e644e47a32403e356e6a9e7db53f7d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH3/EX3.10/ex3_10.sce | 30871fba6c4b4e28d6c4cf86a6c5756623b30862 | [] | 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 | 124 | sce | ex3_10.sce | // Example 3.10, page no-126
clear
clc
ugb=1.5*10^6
f1=2*10^3
A0=ugb/f1
printf('Openloop Dc Voltage gain= %d ',A0)
|
bd119dfda0a2107b1bad74662780f98ab8569cc6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3131/CH3/EX3.3/3_3.sce | 661d1afae9d37145850d4f6931f32a750a766795 | [] | 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 | 650 | sce | 3_3.sce | clear all; clc;
disp("Ex 3_3")
disp("Equilibrium Equations")
disp("T_EG*sin(30) - T_EC*cos(45) = 0 ....(1)")
disp("T_EG*cos(30) - T_EC*sin(45) - 20N = 0 ....(2)")
disp("Solving both the eqns simultaneously,")
disp("T_EC = 38.6 N")
disp("T_EG = 54.6 N")
disp(" ")
disp("Equilibrium Equations")
disp("38.6*cos(45) (4/5)*T_... |
d202e4a43326601767120b89f95e1996ac3b9906 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/sci2for/op2for.sci | 7a6fd8cbdf56afa07a4c130fc8f5618ca5d49723 | [
"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 | 228 | sci | op2for.sci | function [stk,txt,ilst,vnms,vtps,nwrk,lbl]=op2for(op,stk,vnms,vtps,nwrk,lbl)
//
//!
txt=[]
iop=evstr(op(2))
execstr('[stkr,nwrk,txt,top]=%'+ops(iop,2)+'2for(nwrk)')
stk(top)=stkr
s1=list()
for k=1:top,s1(k)=stk(k);end
stk=s1
|
5bf42dfe5d5da46012f1feb8358fa8d6f0020438 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH17/EX17.1/Ex17_1.sce | a8db2ad05351f98459fb477f02269633f2c23164 | [] | 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 | 590 | sce | Ex17_1.sce | //Example 17.1
T=30;//Temperature (C)
T=T+273;//Temperature (K)
v_w=331*sqrt(T/273);//Speed of sound in air at sea level(m/s)
f_min=20;//Minimum frequency (Hz)
f_max=20000;//Maximum frequency (Hz)
lambda_max=v_w/f_min;//Maximum wavelength (m)
printf('Maximum wavelength = %0.0f m',lambda_max)//Restricting answer ... |
de85eda0d50da1bdd68534effc21cd9f734973bb | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set10/s_Fluid_Mechanics_R._H._F._Pao_2066.zip/Fluid_Mechanics_R._H._F._Pao_2066/CH4/EX4.17/4_17.sce | 6ead42bc76d26e6a116cf28b789e08dd5dbb472c | [] | 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 | 189 | sce | 4_17.sce | errcatch(-1,"stop");mode(2);
//Initialization of variables
dh=3 //in
L=12 //in
g=32.2 //ft/s^2
//calculations
a=dh/L *g
//results
printf("Acceleration = %.2f ft/s^2",a)
exit();
|
f7a6e9c8fa33de9603f84921b0923f396be87d89 | 49c332fb095450edccbd7e42e057fa0b57157045 | /test/FM02.prev.tst | f7f896a31e490316060dfa7c697589061d23623b | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/numword | 836edd4693d90ede0f37ebcad01f8202362f3c74 | 9fbef644f2142ed7db9b4fa696b5a2388181f7b9 | refs/heads/master | 2022-02-04T19:09:38.860895 | 2022-01-28T14:43:02 | 2022-01-28T14:43:02 | 5,777,703 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 111 | tst | FM02.prev.tst | 1 Januar
2 Februar
3 März
4 April
5 Mai
6 Juni
7 Juli
8 August
9 September
10 Oktober
11 November
12 Dezember
|
9df6dd35d92d561b11ba6a6e704a142d82af5aa0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /527/CH5/EX5.2/5_2exam.sce | b0142015d5dfd04f709a951ea4b9befc0faf67b2 | [] | 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 | 451 | sce | 5_2exam.sce | //Engineering and Chemical Thermodynamics
//Example 5.2
//Page no :222
clear ; clc ;
//Given
T_c = 370 ; //[K]
P_c = 41.58 * 10^5 ;//[N/m^2]
R = 8.314 ;
V1 = 0.001 ;//[m^3]
V2 = 0.04 ; //[m^3]
q = 600 ; //[J]
a = 27/64 * (R ^2)*(T_c)^2 / P_c ;
//Using E5.2D , E5.2E in E5.2C
del_U = -0.96 * (1 / V2 - ... |
05b2dc661333d1c9a08ef5a0a9d3f525a8798da2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH5/EX5.1/Ex5_1.sce | f304c443795c3195637b018bd98c4b6e7054d096 | [] | 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 | 307 | sce | Ex5_1.sce | //Chapter 5: Chemical Kinetics and Catalysis
//Problem: 1
clc;
//Declaration of Variables
K = 3.5 * 10 ** - 2 // Rate constant
// Solution
mprintf("First order reaction = 0.693 / K\n")
t = 0.693 / K
mprintf(" Time taken for half the initial concentration to react:%.1f minutes", t)
|
315bd6f7761f6716a4c088f281846e11d3a0be7d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH2/EX2.4/2_4.sce | 7e471cd1939f0151bf9e87b7536e831b6a21926e | [] | 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 | 208 | sce | 2_4.sce | clc
//initialisation of variables
clear
r= 1/5
b1= 2 //ft
a1= 3/5 //ft
//CALCULATIONS
r= (a1*b1)^2*r
//RESULTS
printf ('ratio of resultant forces acting on coorresponding fluid elements = %.2f ',r)
|
9ecb4a049aaa6f1f80ff8bca5d1fd4181261b9c2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1076/CH10/EX10.2/10_2.sce | cfb8b26cb53317affad4c49b97ffc8356f0dc40e | [] | 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 | 256 | sce | 10_2.sce | clear
clc
s=50
v=11
x=.15
S=50
V=11
Xe=.15/4
FMVA= round(10000/Xe)/10000
Fault=FMVA * S
mprintf("\n(a)fault level = %.3f pu", Fault)
sga=.5*Fault
sgb=800-sga
xb=.15/2
X=(S/sgb)-xb
x=X*(V*V/S)
mprintf("\n(b)X = %.3f ohms", x)
|
52bc36e150d70950612059d6d5facbe0383e9b8e | e770dc26235168913bdcd5b2332f3a38a95a8bc7 | /Toolbox Test/db/db1.sce | e5816877d18cb5a236cbe2271b404d8a2508d963 | [] | no_license | deecube/majorTom | f00eca4e2effff2c5eba746878f2c0842fe14680 | 84365fc032fc0ca44abac8330ec4ac6d85a85b3f | refs/heads/master | 2021-01-21T14:04:23.323717 | 2016-05-23T06:05:31 | 2016-05-23T06:05:31 | 51,731,222 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 232 | sce | db1.sce | //check o/p when i/p is 0.1 v with refernce to 1 ohm resistance
v=0.1;
d=db(v);
disp(d);
//output
//!--error 4
//Undefined variable: SignalType
//at line 28 of function db called by :
//d=db(v);
//at line 3
|
fe599ff1cf3ba01d061d32dbe1a5af7203dc8ad0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH25/EX25.8/Ex25_8.sce | f9c64052b6623b62fbfafbcdff1dab02973cdb12 | [] | 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 | 332 | sce | Ex25_8.sce | clear
//Given
ma=1.00893
m1=1.00813
m2=2.01473
a=931.5
a1=4.00389
//Calculation
m=ma+m1-m2
Eb=m*a
m3=2*ma+2*m1-a1
Eb1=m3*a
//Result
printf("\n (i) Binding energy when one neutron and one proton combined together is %0.2f Mev",Eb)
printf("\n (ii) Binding energy when two neutrons and two protons are combined is %0.1f ... |
369a49ade0135a141d12d2d58b5b67431b3d54db | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH4/EX4.5/Ex4_5.sce | b552a048047c9fcdee9af51495ad2334cbeae313 | [] | 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 | 554 | sce | Ex4_5.sce | clc;clear;
//Example 4.5
//given values
m=0.025;
V=120;
I=0.2;
t=300;//total time taken in sec
P1=300;
Qout=3.7;
//from Table A–5
//at P1 the conditon is sat. vap
h1=2724.9;
//Calculations
//Part - a
//therotical proving
//Part - b
We=V*I*t/1000;//electrical work in kJ
//from eqn 4 -18 i.e de... |
b64a72a3735b6f13bf8c72a617f8238beebfe874 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH21/EX21.11/ex21_11.sce | 10f696e42d9424db037a36f867140ee1d7b48768 | [] | 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 | ex21_11.sce | clc;
e1=-13.6; //energy in eV
disp(e1/9,"Energy in eV = "); //displaying result |
7b2507d74412dd9a1040c9b42d90744a49d0a2ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH8/EX8.5/8_5.sce | 8e1b296dc6c4d5a88b0d49c4be4e233414424e91 | [] | 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 | 786 | sce | 8_5.sce | P = 12 ; // Axial load in K
r = 2.1 ; // Inner radius of the cylinder in inch
t = 0.15 ; // Thickness of the cylinder in inch
ta = 6500 ; // Allowable shear stress in Psi
// From in plane sg=hear stress
p1 = (ta - 3032)/3.5 ; // allowable internal pressure
// Above equation comes from solving the following equati... |
ee8e5809bf72f2550ba12e69123abd799bf8b8db | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%s_m_ip.sci | d7801dabb2a07a861e439d68033f192b9ec1f26a | [
"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 | 102 | sci | %s_m_ip.sci | function r=%s_m_ip(s,ip)
// s*ip
if size(s,'*')<>1 then error(10),end
r=(s*ip(1)):(s*ip(2)):(s*ip(3))
|
9b8105925ee0637c5ccf49a500512a2400e82759 | 4b3c8d2302d37ad5981adb6f68fae3db1d9820c8 | /del_Hemlets.sce | f7c8f51bdb2219e2dac21cf9672f38b135cc6686 | [] | no_license | mayank1513/littleBird_RD_ResourceManagementSystem | 002d19579b3b55a314450ec75d2874131741564b | 090d016248164580defc9b4629ba54c9dc362949 | refs/heads/master | 2020-03-15T04:48:31.637752 | 2018-05-03T09:46:53 | 2018-05-03T09:46:53 | 131,970,842 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 641 | sce | del_Hemlets.sce | blkInd = get('blockList','Value');
vilInd = get('villageList','Value');
hemInd = get('hemletList','Value');
if isempty(blkInd)|isempty(hemInd) then
messagebox("Select a hemlet first","littleBird");
else
str = get('hemletList','String');
btn = messagebox("Are you sure you want to delete " + str(hemInd),'litt... |
1ba29846f809bbd7936d08e426dfc115305c380b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH2/EX2.16/EX_2_16.sce | 13def08aab160965bac731f22528fae969ae5abe | [] | 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 | 399 | sce | EX_2_16.sce |
//Example 2.16//resistance and capacitance
clc;
clear;
w=7500;//in rad/s
R2=140;//in ohms
R3=1000;//in ohms
R4=R3;//in ohms
C2=0.0115;//capacitance in micro farad
oC2=(w*C2*10^-6);//IN OHMS
Z2= R2+(%i*(1/oC2));
Z3=R3;//
Z4=R4;//
Z1=(Z2*Z3)/(Z4);//
R1=real(Z1);//
C1=1/(w*imag(Z1));//capacitance in farad
disp(R1,"resist... |
7d589bd5406f14246b86685b1429accf01a8a3ad | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/meas_volt.sce | 24d35fce37ec33954178451fa3476a292db72df6 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 1,222 | sce | meas_volt.sce | //**************************** Measure Volt (mite_adc) ****************************
if (blk_name.entries(bl) =='meas_volt') then
global MITE_ADC_check;
if MITE_ADC_check==0
MITE_ADC_check=1;
else
MITE_ADC_check=MITE_ADC_check+1;
end
cap_info = cap_info2(cap_info,pass_num,'out_mite_adc', bl)
mputl("# MITE_ADC"... |
31dd39f06534b649ea80ac721af4dd4e8c4392cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2102/CH1/EX1.22/exa_1_22.sce | 92af74a44d46cc37c31d0bea562777a1d45093f7 | [] | 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 | 236 | sce | exa_1_22.sce | // Exa 1.22
clc;
clear;
close;
// Given data
miu_p= 0.05;// in m^2/v-sec
rho=5*10^28/10^8;// in /m^3
q= 1.6*10^-19;// in C
sigma= q*rho*miu_p;// in (Ωm)^-1
disp(sigma,"The conductivity of silicon material in (Ωm)^-1 is : ")
|
2cdee0a339b6c814114d18c09e3fd9297a00d0c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3788/CH5/EX5.2.1/Ex5_2_1.sce | 430068de79515ddd218dc5c08c2c78b2e11cca76 | [] | 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 | 341 | sce | Ex5_2_1.sce | //Example
//Calculate the baseband SN ratio for the video signal
//Variables
clc
clear
Fmax = 4.2
RFbw = 30
CNratio = 15
P = 9
Q = 8
//Result
delFpk = (RFbw/2) - Fmax
Brf = 2*(delFpk + Fmax)
SN = CNratio + 10*log10(RFbw/Fmax) + 20*log10(delFpk/Fmax)+ 1.5 +P + Q
printf("The baseband SN ratio for the vide... |
96da1fffd1755bb10d71e1a7608582a0807269be | 9b60b7963181dd94c8d10cdb75a83bc010957e71 | /taf_monitor_code/taf_monitor/tests/acceptance/02-cavok_day.tst | 556468a26b9cdb4dd05846f78f021fff9a8de38f | [] | no_license | alanyon/python | 577773100eac269750925c1f924edc51060ca865 | cbfe0f34fe61ed0495572fa05ea6bf4293ef15bb | refs/heads/master | 2023-07-13T17:27:59.555648 | 2021-08-09T15:59:08 | 2021-08-09T15:59:08 | 393,341,633 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,256 | tst | 02-cavok_day.tst | {
"EGTE 150800Z 1509/1518 18005KT CAVOK TEMPO 1512/1518 BKN040": {
"TAF matches METAR exactly": {
"metar": "EGTE 150950Z 18005KT CAVOK",
"test time": "20200615T1000Z",
"expected": ""
},
"TAF base conditions cover METAR - FEW040 cloud": {
"metar... |
492fd66d61e3a64ef42f8909adba19800f3eadd8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH32/EX32.27/Ex32_27.sce | 7e6ee8a2c49037d4c4a7c1d8e1cd58f318f32d58 | [] | 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,781 | sce | Ex32_27.sce | // Example 32_27
clc;funcprot(0);
//Given data
T=[0 2 3 6 8 12 14 15 17 23 24];// Time in hours
L=[1200 2000 3000 1500 2500 1800 2000 1000 500 800];// Load in kW
//Calculation
T_p=[0 0 2 2 3 3 6 6 8 8 12 12 14 14 15 15 17 17 23 23 24 24];// Time in hours for load curve
L_p=[3200 1200 1200 2000 2000 3000 300... |
0fa21c59a55b500d10b5ccf2f1684094578f4ca4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH1/EX1.14/1_14.sce | 1702ff6ec185f7af999218822f5e0b5e6062bf88 | [] | 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 | 490 | sce | 1_14.sce | //Example 1.14
//1s compliment
//Page no. 12
clc;close;clear;
function [x1]=com1(x) //function for 1s compliment
for i=8:-1:1
x=x/10;
xd=x-fix(x)
if(floor((xd*10)+0.1)==1)
x1(1,i)=0;
else
x1(1,i)=1;
end
x=x-xd;
end
end... |
550c845da6415136923f51c14d36b53fd7a135ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH14/EX14.1/Ex14_1.sce | c5a1caa9558c2c77fd1ff177d0483635d90e4ae4 | [] | 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 | 583 | sce | Ex14_1.sce | // Example 14_1
clc;funcprot(0);
//Given data
P=35;// bar
T_1=400;//Temperature of steam in °C
m_s=200;// Flow rate of steam in Tonnes/hr
T_2=450;//°C
T_sp=60;// The temperature of spray water in °C
C_pw=4.2;// kJ/kg.°C
//Calculation
//From steam tables,
//At 35 bar and 450°C
h_1=3337;// kJ/kg
//At 35 bar ... |
c7412c59eae1a61850c6456b6da80901b78a3cd8 | 389bd4af3bf5a0f54f51e8aafea5035f568ba445 | /yurt_deneme_toplama.sci | 7958757983a46c37160e9f0a73e1e082abd6a7b5 | [] | no_license | esraatlici/Bilgisayar-Destekli-Matematik | d47f057d9cb7ee987e367c67f8923cfcf02342d8 | dae1079f60fc7e0d3b54802b4cbed9182b52fcd7 | refs/heads/main | 2022-12-25T11:14:25.575530 | 2020-10-05T15:09:58 | 2020-10-05T15:09:58 | 301,447,895 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 28 | sci | yurt_deneme_toplama.sci | clear
a=900
b=387
c=a*b
|
54f4f9eb95230a34b11c06ee1469919b74ba5130 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2609/CH9/EX9.9/Ex9_9.sce | 104630d402f30e0e4f7ae0a307376077244aaed1 | [] | 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 | 956 | sce | Ex9_9.sce | //Ex 9.9
clc;
clear;
close;
format('v',5);
f0=2;//kHz(Critical frequency)
Ap=5;//dc gain
//For Butterworth filter using sallen key
alfa=1.414;klp=1;//constant
fH=f0;//kHz
f_3dB=f0;//kHz
Ap1=3-alfa;//gain
RfBYRi=Ap1-1;//ratio
disp("Various design parameters are :-");
C=0.05;//micro F//Chosen for the design... |
d7cc3a975db4e78caa8d1970a37205f20def194e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH11/EX11.5/EX11_5.sce | d405bb153ed52bc705210ade7cbd3f9f01727940 | [] | 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 | 361 | sce | EX11_5.sce | //Finding of Pressuure gradient.Avg velocity,Discharge,Shear at wall
//Given
mu=0.02;
B=0.01;
b=1;
v=2;
//To Find
A=B*b;
dp=-((16*mu)/B^2);
dp1=-dp;
V=(B^2/(12*mu))*(-dp);
q=A*V;
x=(-dp*(B/2))
disp(" Pressuure Gradient ="+string(dp1)+" N/m^2 per meter");
disp(" Avg velocity ="+string(V)+" m/sec");
disp("... |
ea614b8ccfc579a77026f8feb8e4a58e18335858 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/ricc.man.tst | 3a6a8476c5f4b49aa943dc9a5f16f1e965ec2c1b | [
"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 | 829 | tst | ricc.man.tst | clear;lines(0);
//Standard formulas to compute Riccati solutions
A=rand(3,3);B=rand(3,2);C=rand(3,3);C=C*C';R=rand(2,2);R=R*R'+eye();
B=B*inv(R)*B';
X=ricc(A,B,C,'cont');
norm(A'*X+X*A-X*B*X+C,1)
H=[A -B;-C -A'];
[T,d]=gschur(eye(H),H,'cont');T=T(:,1:d);
X1=T(4:6,:)/T(1:3,:);
norm(X1-X,1)
[T,d]=schur(H,'cont');T=T(:,1:... |
35c2e9538e685aac999a47b52e9353104e406386 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/form-split/GOLD-TEST/udm.tst | b7bccf76247f5a787954af83724c636fb1f6de35 | [] | 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 | 1,325,686 | tst | udm.tst | лобаны лобатӥ V;SG;1;PST;CAUS+INTR
кулыны кулозы V;PL;3;FUT;INTR
огъя огъягес ADJ;COMPV
утьыны утетъя V;SG;LGSPEC_MULT;3;NEG;PRS;CAUS+TR
чабыны чабиз V;SG;3;PST;TR
салон салонэз N;NOM;SG;PSS3S;LGSPEC1
жюри жюрилэн N;GEN;SG;LGSPEC1
кылзӥсь кылзӥсьёсме N;HUM;ACC;PL;PSS1S
зарезь зарезям N;IN+ESS;SG;PSS1S
детектив детектив... |
4c3c6892c3b251a1308d3f6a0c2205b905dbafbe | 3ab0e941ec3f06994e4c2ee243d154422bb00746 | /mytest.sce | 2b3da02c5e93701484a0ac6a9c1120dd90a6ab9a | [] | no_license | rxtsolar/rtanimate | ca54a24f014050ac10f37a64cb5bee8982cd8732 | d2e5f9e42d67ef036e0f1a1a61ee93baf6b31ee0 | refs/heads/master | 2021-01-01T17:00:45.712123 | 2015-07-07T19:13:13 | 2015-07-07T19:13:13 | 38,709,267 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,035 | sce | mytest.sce | mf 100
mt 0.04
mc 170. 222. 83. -.5 -.7 -.5 0 0 0 0 0 0 35.0 35.0 25.0 600 450
m 0.5 0.5 0.5 0.0 0.0 0.0 0.0 0.0 0.0 0.0
mp 0 1 0 22 1 0
m 0.7 0.0 0.0 0.5 0.5 0.5 100. 0.0 0.0 0.0
/ 8 spheres: red
ms -20.0 13.67 -62.56 10. 0 0 0 0 -10 0 0 0 0
ms -20.0 70.0 -62.56 10. 0 0 0 0 -10 0 0 0 0
ms 10.0 -10.0 -62.56 10. 0 0 0... |
ee917949655e6c279d6d4080a108be8538c9ee92 | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH10/EX10.7/Ch10Ex7.sci | 831122c8a50dee1a97033091e020f9b1d27fa41b | [] | 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 | 826 | sci | Ch10Ex7.sci | // Scilab Code Ex 10.7 The Electroic Specific Heat of Cu: Page-341 (2010)
k = 1.38D-23; //Boltzmann constant, in J/mol-K
N = 6.023D+23; // Avogadro's Number
Efermi = 7.05; // Fermi energy of copper, in eV
EFeV = Efermi*1.6D-19; // Fermi energy conversion, in J
T1 = 4; //Lower value of temperature, i... |
9288dfdaf39335f125f476cd379ac641e1924943 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH7/EX7.21.b/solution7_21.sce | acef2b3bf1c689f02882a5c895b9a0385f0e1eb9 | [] | 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,774 | sce | solution7_21.sce |
function[] = plot_format()
//Get the handle of current axes
g = gca()
//Give labels and set label properties
g.labels_font_color=5
g.font_size=3
g.grid=[1,1]
g.box="off"
endfunction
//Obtain path of solution file
path = get_absolute_file_path('solution7_21.sce')
//Obtain path ... |
da515e264a52b83bd7688aaa4bd07e34b757475c | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH5/EX5.11/Ex5_11.sce | 75a3035bb3de88d7751a5e736f902888d619f941 | [] | 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,946 | sce | Ex5_11.sce | //Fluid Systems- By Shiv Kumar
//Chapter 5- Francis Turbine
//Example 5.11
//To Determine The Flow Rate, Guide Vane Angles, Runner Vane Angles and Inner and Outer Diameters of the Runner.
clc
clear
//Given Data:-
H=86.4; //Net Head, m
N=650; //Speed, rpm
P=397; //Shaf... |
61078327ce5f80f0e3c8f6e6af4f967d677a1a92 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpic2escifiles6/PartitionPt.sci | 15d74ec4013e55e1cde66201861e2480d3908dbc | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 94 | sci | PartitionPt.sci | // 08.09.13
function Out=PartitionPt()
global PARTITIONPT;
Out=PARTITIONPT;
endfunction
|
1d81136a35fa79839d5fc96d25bbacddc27c858e | 7411fe89ce8ad5b919ddca183c5b47c8b31010cd | /macros/pythonInterpret.sci | cb941af53aa2e6e85b3748f772596898a3fdf94b | [] | no_license | sengupta/Scilab-Python | ce07c1f272d0eabeeef77ac5d8bef2e261214c6b | 7141c5ef93880138619e91774fc71af9a7913e20 | refs/heads/master | 2021-01-25T04:52:57.198542 | 2011-05-05T19:32:31 | 2011-05-05T19:32:31 | 1,707,951 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sci | pythonInterpret.sci | function pythonInterpret(nLines)
if ~exists("nLines") then,
nLines = 1,
mprintf("Enter 1 Python expression\n");
else
mprintf("Enter %d Python expressions: \n", nLines);
end
for n = 1:nLines
mprintf("%d/%d", n, nLines);
expression = input(">>> ", "string");
... |
1a6b31f79d9a2456764d329904256163bfae8309 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH1/EX1.7/1_7.sce | a74791118bdc9881dd0005de8332e50f44364541 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 228 | sce | 1_7.sce | clc
//Initialization of variables
gam=981 //dyn/cm^2
sigma=72 //dyn/cm
theta=0 //degrees
d=0.5 //cm
depth=90 //cm
//calculations
h=4*sigma*cosd(theta) /(gam*d)
Td=depth-h
//results
printf("True depth = %.3f cm",Td)
|
f3920033bdb5d034e1a81006311725288984bab0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH2/EX2.7/Ex2_7.sce | c8603c397e9f99e2b6e0c91acc741ddccb730852 | [] | 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 | 244 | sce | Ex2_7.sce | //Example 2_7 page no:69
clc
//mesh current equation for the circuit
resistance=[7,-2;-2,12]
volt=[10,-50]
current=inv(resistance)'*volt'//calculating current I1 I2 I3
disp(current,"current flowing in the circuit I1 and I2 (in ampere)")
|
8138926a93692929ff387a9e6e2f014981aacc8a | 449d555969bfd7befe906877abab098c6e63a0e8 | /51/CH5/EX5.20/5_20.sce | cb16ba1e3d0521d66593f87795e0ba5e237836c0 | [] | 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 | 5_20.sce | clc;
clear;
Q=300;//gal/min
d1=3.5;//in.
p1=18;//psi
d2=1;//in.
p2=60;//psi
diffu=3000;//ft*lb/slug
//energy equation
//m(u2-u1+(p1/d)-(p2/d)+((v2^2)-(v1^2))/2 + g*(z2-z1))=q-Wshaft
m=Q*1.94/(7.48*60);//slugs/sec
v1=Q*12*12/(%pi*(d1^2)*60*7.48/4);
v2=Q*12*12/(%pi*(d2^2)*7.48*60/4);
Wshaft=m*(diffu + ... |
e5b506aa3fc8bb013b848ec2f9a33fb544b13281 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Objsymb.sci | 808924a4d9e843ab74d3017f5cf969481cf352df | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 144 | sci | Objsymb.sci | // s : 2014.08.25
function Objsymb(Symb,Thick,Face,Dir)
for J=1:length(Symb)
Objcurve(Symb(J),Thick,Face,Dir);
end
endfunction
|
ddb7373c553151a4a74eff24a3b3042ae8ddc786 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2966/CH1/EX1.35/Ex1_35.sce | 613679e0821b42db67e60873065e9b4ef4227884 | [] | 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,083 | sce | Ex1_35.sce | //water//
//page 1.46 example 19//
clc
Purity_Lime=.95
Purity_soda=.9
W1=81;//amount of Ca(HCO3)2 in ppm//
W2=73;//amount of Mg(HCO3)2 in ppm//
W3=68;//amount of CaSO4 in ppm//
W4=95;//amount of MgCl2 in ppm//
W5=14.8;//amount of Mg(NO3)2 in ppm//
W6=14.7;//amount of H2SO4 in ppm//
M1=100/162;//multiplic... |
14b611deea5e81fb775b33881f43816d6291cd7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2681/CH8/EX8.1/Ex8_1.sce | 4e219f897bbe3c3876a7834ad7d8e53c751574ab | [] | 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 | 288 | sce | Ex8_1.sce | //given
clc
Da=2.5//metre
f=5d+9//hertz
v=3d+8
lemda=v/f//metre
NNBW=140*(lemda/Da)//degree//beamwidth between first null
HPBW=70*(lemda/Da)//degree//half power beamwidth
disp(HPBW,NNBW,'the beamwidth between first null and the value of half power beamwidth in degree')//degrees
|
63d39e0231634ffcccf8b937d458f6adeb1ffde1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH17/EX17.3/example17_3.sce | e3688e5e890c4457d5d7365a7c51fb3844a487f7 | [] | 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 | 340 | sce | example17_3.sce | n=50;
a=10^(-4);
s=2*10^(-2);
disp("Part a");
mu0=4*%pi*10^(-7);
l=n^2*mu0*a/s;
disp("the inductance (in μH) of the air-core coil is"); disp(l*10^6);
disp("Part b");
mur=200;
l1=mur*l;
disp("the new inductance (in mH) is"); disp(l1*10^3);
disp("Part c");
n1=2*n;
l2=4*l1;
disp("the new inductance (in mH) i... |
6c442bfa8376c2c487a2cdd6a4953387bafd7ddd | 449d555969bfd7befe906877abab098c6e63a0e8 | /635/CH15/EX15.1/Ch15Ex1.sci | 1553912a3572650ca85743dd479ea4e14d955292 | [] | 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 | 523 | sci | Ch15Ex1.sci | // Scilab Code Ex15.1 Determining Photon number by using Planck quantum law: Page-486 (2010)
h = 6.626e-034; // Planck's constant, Js
f = 1760e+03; // Frequency of the radio transmitter, Hz
P = 10e+03; // Power of radio transmitter, W
E = h*f; // Energy carried by one photon from Planck's law, J
N = P/... |
8682a574a16800736e0819b32140f94644e591b0 | c908c5ec283c57c29da044966fce0fee1f659873 | /codes/Algoritmo MMQ.sce | 08a173dbeadbb21347470a281cdf9208fa5b05aa | [] | no_license | marialago/numerical-computation | 3ca0e95c637c1d4d3ea79789d1bda0b84ca29ca5 | c88c0ddc6f7501ed115556f72f5f5db3a8610f6b | refs/heads/master | 2022-10-30T01:42:21.032196 | 2020-06-14T18:33:45 | 2020-06-14T18:33:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | Algoritmo MMQ.sce | function a=mmq(x,y,k)
n=length(x)
for i=1:n //linhas
for j=1:k+1
v(i,j)=x(i)^(j-1)
end
b(i)=y(i)
end
a=inv(v'*v)*(v'*b)
endfunction
|
b0021769c7f33ce2ec92844295da381ed298f0cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH14/EX14.6/14_6.sce | 557c005c1f4dc4821be60d9036941777b5124dee | [] | 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 | 216 | sce | 14_6.sce | //Estimate Saturation Magnetisation
//Ex:14.6
clc;
clear;
close;
b=9.27*10^-24;//Bohr Magneton in A/sqm
m=0.6*b;
a=0.35*10^-9;
n=4;//FCC
m_g=n*m/a^3;//in A/m
disp(m_g,"Saturation Magnetisation (in A/m) ="); |
fba5ed65cc816ac95697787125b0dfb9755d05a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2699/CH10/EX10.13/Ex10_13.sce | 64b227a93d2ce31a8df4ef7642826c212cdb0151 | [] | 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 | 214 | sce | Ex10_13.sce | //EX10_13 PG-10.62
clc
disp("Refer to the figure-10.55 and shown")
R1=1e3;
Rf=1e3;//feedback resistance
Vin1=2;
Vin2=1;
Vin3=4;
Vout=-(Vin1+Vin2+Vin3)*Rf/R1
printf("\n output voltage Vout=%.f V \n",Vout)
|
01003d3182803391b307a6e97489d710aafd99c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /779/CH10/EX10.3/10_3.sce | 8fe73b58e7c7b33b3a79a645cef524c44a143019 | [] | 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 | 614 | sce | 10_3.sce | // Part (a)
v = 16 ; // v = v1/v2
P1 = 300e03;
P2 = P1*v;
R = 0.287; T1 = 300+273;
W12 = R*T1*log(1/v);
disp("If the fluid is in the air")
disp("Pa",P2,"The final pressure is ")
disp("kJ",0,"The change in internal energy is")
disp("kJ",W12,"Work done is")
// Part (b)
v1 = 0.7664; u1 = 2728.7;
v2 = v1/16;
x2 = (v2-0.001... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.